The most future proof format for sampled instruments is SFZ

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: MattKingUSA, khz

Post Reply
User avatar
Audiojunkie
Established Member
Posts: 403
Joined: Thu Feb 21, 2019 4:27 pm
Has thanked: 392 times
Been thanked: 157 times

The most future proof format for sampled instruments is SFZ

Post by Audiojunkie »

I have been thinking about this for a while, and I want to share my reasoning behind my thoughts:

I maintain that the most future proof format for sampled instruments is SFZ.

SFZ formatted instruments containing properly named multisamples with loop point metadata stored in the WAV file are the most compatible and most future proof medium for sampled instruments. They are compatible with everything having to do with samples.

Think about it. At its highest level, most samplers import and read SFZ mapped instruments. Often the the most important configuration data can be imported into the sampler as well. So, at the highest level, SFZ is not only compatible with SFZ parsers such as sfizz, sforzando, LinuxSampler, etc, but with nearly every available sampler on the market.

But what if there are some samplers that can't read and import the SFZ instrument information? That's where a properly named and looped set of multisamples come in. Nearly all samplers, even those who can't read SFZ instruments can at the very least read the WAV files. If the WAV files are properly named and looped, the majority of the work is already done--even for these samplers. If the loop points are already assigned and you know the root notes and such for the samples, all you have to do is map them to the sampler you use. It's a little more work than being able to completely import the complete instrument data, but it still saves a huge amount of time from having to build a sampled instrument from scratch. At the absolute lowest level, you can at the very least import WAV file samples into any sampler out there. This provides future proofing for your instruments, no matter what sampler you may use in the future.

Let's compare this future proofing capability against common big name samplers. Nearly all of the "popular" formats for sampled instruments are encrypted, which tie those formats to the single specific sampler they were created for. What if that sampler is no longer available for you to use? What if the company goes under? What if your preferred choice of sampler changes? You are completely out of luck, and your sample investment is rendered useless, unless you can find someone to buy them from you.

There are other formats that are good as well, and don't encrypt their libraries. With these formats, you can at least use a converter to change the instrument format from one type to another. Among these formats, you would find Soundfonts, Decent Sampler instruments, etc. But without the converter, you can't grab the WAV files. For this reason, they are not as future proof as SFZ files.

Over all, for all of the reasons mentioned above, SFZ is the most future proof format for sampled instruments. Is the format perfect? No. Basic scripting for simple instruments is not difficult, but it can get very difficult to do complicated scripting with SFZ, especially since there isn't much official as far as GUI-based instrument creation. That is a hurdle yet to be overcome with SFZ. However, there is a common denominator of basic opcodes that nearly every SFZ parser must use, and that common denominator of basic opcodes are the ones that I mentioned that are very easy and basic for scripting. Therefore, even despite this drawback, SFZ is still the most future proof format in existence today for sampled instruments.

User avatar
d.healey
Established Member
Posts: 611
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 279 times
Been thanked: 101 times

Re: The most future proof format for sampled instruments is SFZ

Post by d.healey »

Non player Kontakt instrument samples aren't encrypted, just compressed.

I think SFZ is a brilliant format. However the lack of scripting limits its usefulness for more complicated instruments. There are also various features it doesn't support or handle well which are very important for larger libraries. Things like multi mics and purge until played.

David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
Audiojunkie
Established Member
Posts: 403
Joined: Thu Feb 21, 2019 4:27 pm
Has thanked: 392 times
Been thanked: 157 times

Re: The most future proof format for sampled instruments is SFZ

Post by Audiojunkie »

d.healey wrote: Tue Jun 13, 2023 8:00 pm

Non player Kontakt instrument samples aren't encrypted, just compressed.

I think SFZ is a brilliant format. However the lack of scripting limits its usefulness for more complicated instruments. There are also various features it doesn't support or handle well which are very important for larger libraries. Things like multi mics and purge until played.

If I'm not mistaken, that changed in Kontakt version 6, and ALL samples are encrypted. I could be mistaken, but that's how I understand it from speaking with the team at ChickenSys.

As for the scripting limits for more complicated instruments, I agree with that too. It can be done, but you practically have to be an experienced programmer (or D. Smolken) in order to accomplish that. However, most regular people will never create an instrument of that depth, and the basic editing capabilities available will work for most people. It's not perfect, but there is nothing that I'm aware of that is as open and available to all as SFZ instruments. Maybe it will change in the future.

User avatar
d.healey
Established Member
Posts: 611
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 279 times
Been thanked: 101 times

Re: The most future proof format for sampled instruments is SFZ

Post by d.healey »

Audiojunkie wrote: Tue Jun 13, 2023 9:13 pm

I'm aware of that is as open and available to all as SFZ instruments.

HISE instruments (assuming GPL licensed) are. But they require a much greater skill level to be able to build than SFZ.

David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
Audiojunkie
Established Member
Posts: 403
Joined: Thu Feb 21, 2019 4:27 pm
Has thanked: 392 times
Been thanked: 157 times

Re: The most future proof format for sampled instruments is SFZ

Post by Audiojunkie »

d.healey wrote: Tue Jun 13, 2023 9:48 pm
Audiojunkie wrote: Tue Jun 13, 2023 9:13 pm

I'm aware of that is as open and available to all as SFZ instruments.

HISE instruments (assuming GPL licensed) are. But they require a much greater skill level to be able to build than SFZ.

True. I kind of mentally put that into a developer class in my mind for that very reason—the higher required skill level. 🙂

AlkuK
Established Member
Posts: 49
Joined: Tue Jan 24, 2023 5:36 pm
Location: FIN
Has thanked: 85 times
Been thanked: 6 times
Contact:

Re: The most future proof format for sampled instruments is SFZ

Post by AlkuK »

I agree.

glowrak guy
Established Member
Posts: 2329
Joined: Sat Jun 21, 2014 8:37 pm
Been thanked: 257 times

Re: The most future proof format for sampled instruments is SFZ

Post by glowrak guy »

While I love your sense of humor, the great irony I see is that you bothered to come back at all. I thought people usually just bought a one-way time-travel ticket...but not my area of expertise or economic saturation. And why no 'spoiler alert'? Knowing McDonalds will have sampled kontakt happy meals on their menu makes me hope it's sterile robot employees who prepared and sampled my takeout order, rather than some germeee teenagers...

(while you were in the future, did you do any distro-hopping? And how many of the rumored 219 sfz players did you have time to test? Oh wait...you had plenty of time, I suspect :wink:, assuming there was also plenty of interest 8)

Post Reply