SFZ

This forum section was originally created while we were discussing a new, additional engine and sampler format designed from scratch. In the meantime this resulted in our new SFZ2 engine, which is already implemented to a large extent. However this is still the right place for ideas, feature requests, drafts and plans for new engine / format concepts and ideas. We now have 3 sampler engines (Gig, SFZ2, SoundFont 2). Why not having more?
User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: SFZ

Post by dahnielson » Sat Feb 14, 2009 11:54 am

Image

Just some proof that I'm actually still working on it...
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

grishata
Developer
Posts: 138
Joined: Thu Jan 24, 2008 7:21 pm
Location: Bulgaria
Contact:

Re: SFZ

Post by grishata » Sat Feb 14, 2009 1:53 pm

dahnielson wrote:Just some proof that I'm actually still working on it...
Nice to hear that. I think it's time to move on and start working on another formats and sfz looks like a very good choice.

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: SFZ

Post by dahnielson » Sat Feb 14, 2009 6:51 pm

grishata wrote:
dahnielson wrote:Just some proof that I'm actually still working on it...
Nice to hear that. I think it's time to move on and start working on another formats and sfz looks like a very good choice.
Yes, it's a runner up on the feature poll. Will take a look at my code and see if I can push a patch or something in the near future.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: SFZ

Post by dahnielson » Sat Feb 14, 2009 11:11 pm

Yay!

I've managed to compile and register my new empty SFZ engine. :o 8-)

Of course LS now segfaults when Fantasia launch... due to the fact i haven't implemented anything yet.

I would recommend everyone interested in the SFZ format to get the book I'm holding in the picture above. Chapter 17 (p.337--370) provide an overview of the SFZ format. Appendix A (p.377--416) contain the listing and documentation of all opcodes. While most of the book is dedicated to synthesizers from Cakewalk, hence its name, the second and third chapter about general synthesizer programming and synthesis techniques might also be of interest. So it's of good value and Simon Cann is a great author.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

dakylla
User
Posts: 51
Joined: Wed Jan 14, 2009 11:08 am

Re: SFZ

Post by dakylla » Sun Feb 15, 2009 1:49 pm

WONDERFUL !!!!

man you are gonna be my HERO !!! :mrgreen: :mrgreen: :mrgreen: :mrgreen: :mrgreen:

8-)

grishata
Developer
Posts: 138
Joined: Thu Jan 24, 2008 7:21 pm
Location: Bulgaria
Contact:

Re: SFZ

Post by grishata » Sun Feb 15, 2009 5:01 pm

Hard to guess but if you provide a patch we can help.

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: SFZ

Post by dahnielson » Sun Feb 15, 2009 6:17 pm

grishata wrote:Hard to guess but if you provide a patch we can help.
That's my intention! :D

I'm going to flesh it out a bit first so you all can see where I'm going with it.

My new .plan:
  1. Make a carbon copy of the GIG engine, search and replace GIG -> SFZ;
  2. Modify my libsfz code (sfz.h/.cpp) to match the libgig API abit and modify the engine were it can't;
  3. Implement a subset of SFZ opcodes that match the GIG engine capabilities;
  4. Hopefully end up with a rudimentary prototype that work as an initial goal.
I'll submit a patch when it compiles.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: SFZ

Post by dahnielson » Mon Feb 16, 2009 10:49 am

Gah!

I'm back to square one (by reminding myself of the differences between GIG and SFZ). I'm just going to finish writing a hopefully well-designed and documented libsfz and let you guys figure out how to implement the LS engine using it.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

grishata
Developer
Posts: 138
Joined: Thu Jan 24, 2008 7:21 pm
Location: Bulgaria
Contact:

Re: SFZ

Post by grishata » Mon Feb 16, 2009 8:12 pm

dahnielson wrote:I'm back to square one (by reminding myself of the differences between GIG and SFZ). I'm just going to finish writing a hopefully well-designed and documented libsfz and let you guys figure out how to implement the LS engine using it.
One step at a time is a good approach ;)

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: SFZ

Post by dahnielson » Tue Feb 17, 2009 9:20 pm

BTW, I'm working on an implementation chart:

http://docs.google.com/Doc?id=dfzz98xt_45cnk2wvfj

Nothing new yet. Intend to cover opcodes that should be implemented and documenting additional comments/notes about them. Also so far corrected one small error (the start_locc/stop_locc opcodes) in the book.
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

Post Reply