Using sfz as a patch interchange format

Sampler and Sampling discussion (techniques, tips and tricks, etc.)
Post Reply New Topic
RELATED
PRODUCTS

Post

In another thread:
learjeff wrote:SFZ format -- well, summagun! If I'd have known about that, I probably wouldn't have bothered writing code to piece together sf2 files! I really had a bitch of a time figuring out that when the Soundfont spec said that the high order byte specifies the low key/velocity, and vice versa, that they were wrong. (And it's NOT an endian-ness problem on my end!) I sure wish I had those hours back!

Since I use the SFZ player to test my sounds (now that Giga breaks my computer so I can't use it), I'll probably adjust my tools to build an SFZ control file until everything works.

If someone would write a portable app to convert from SFZ format into soundfont, then I could just publish the SFZ format as a RAR file, and point to the app. Since RAR is supported on Mac, this might alleviate a lot of problems. It would make it trivial to exchange new presets and control settings, because that's just a text file.

Feel free to say more about this, but take it to a new thread. I already have a Python app that does half the job. Add a parser for SFZ and a bit more infrastructure and that would do it, but Python is a lot to download and install for a little app like this should be. Plus my app is DOS command-line, no good for the general public.
Jeff, there's a subtle problem with using sfz format on a Mac: sfz.dll is a PC-only plug-in (at the moment). The text file would only be of actual use on a PC. René sees the Mac as a dying platform for music creation and has said he's not particularly interested in porting to it (same for things like powercore). Of course, any SF2 built from the sfz format mapping would be cross-platform. (Just have to be careful that you don't use sfz features not in SF2. The opposite applies to: SF2 lets you modulate the depth of modulators, as I read it - I don't think sfz format supports this.)

Second point: Extreme Sample Converter "supports" sfz format and Soundfonts. I was very disappointed with how poorly it performed in some conversions I did of Computer Music patches (DS-404, Kontakt and HALion)... but I'd not heard what the originals sound like. Otherwise, I'd say it would be a useful tool for building the SF2 from the samples+sfz format mapping.

What's probably better, if you want to go to SF2, then, is to convert the sfz format mapping into sf2comp input (...get sf2comp working...) and use that.

Third :-) - I'd rather drop SF2 entirely. For me, its only advantage is that sfz will use "direct from disk" mode, enabling huge samplesets (such as a Rhodes SF2 I got recently somewhere...) to be used. If it did DFD for sfz format mappings, I'd be happy. (I'm with René on the Mac front - I'd rather he spent his time getting the PC versions of his plugins improved and developed. Mac owners can go buy one of them Receptor boxes... ;-))

Post

Good point -- sfz format isn't portable yet.

I disagree that the Mac is disappearing as a music platform! While I prefer PC due to cost/benefit ratio and the incredible amount of free/cheap stuff available, lots of folks are doing just great with Macs. Furthermore, I suspect that the typical Mac is more likely to work well as a low-latency DAW than the typical PC -- many PC MOBOs just don't handle it well, especially lower cost ones. So, a PC-based DAW still requires a bit more nerdness than a Mac one (IMHO).

Mac owners can play soundfonts in GarageBand, btw, making it an excellent low-cost and easy-to-use beginner DAW, assuming you already have the Mac. Regardless, I think I agree that I'd rather see Rene concentrate on PC, since that's what I use.

I'm happy to hear that ESC supports SF2! It's a great program all around. It'll be nice when they add more editing capability -- right now it's pretty limited. Still, well worth the bucks for both users and creators of soundfonts!

Incidentally, SFZ streaming from disk doesn't quite cut the mustard on my laptop anyway, so I use the PR16 mode.

Post

I'm attempting to convert my NN-XT mappings to sfz to make them a bit more portable as well. More word on that when I get the process automated finally!

- m
Markleford's band, The James Rocket: http://www.TheJamesRocket.com/
Markleford's tracks: http://www.markleford.com/music/
Markleford's free MFX, DXi2, DR-008 modules: http://www.TenCrazy.com/

Post

Markleford wrote:I'm attempting to convert my NN-XT mappings to sfz to make them a bit more portable as well.
AWAVE Studio reads & writes Reasons NN-XT format, and many many others...
http://www.fmjsoft.com/awframe.html

Post

learjeff wrote:Good point -- sfz format isn't portable yet.
Why not?

The sfz sample player isn't cross-platform, but the sfz file format should be portable.

Also, I think Rene intended that other software developers could also use the sfz format. I don't think he meant to keep it reserved to his sfz line of sample players. A Mac developer should be able to write a sampler or sample player that uses the sfz format. I don't think Rene has a problem with that.


take care,
McLilith

Post

Quite - as I said in another thread, I'm sure someone was writing a Linux sfz format player. I've lost the reference, though.

There's nothing stopping anyone from writing a program that understands sfz format, as far as I understand. (Whether it would work as well as sfz does is a different matter entirely!)

My original post here doesn't really make that very clear, does it... mmm... (Maybe I go back and edit it ;-) ...)

Post

True, there's nothing inherently non-portable about sfz format. But pracitally speaking, for folks who want to distribute sample sets, sfz isn't a good choice for platform compatibility. Hopefully this is just a temporary limitation.

Post Reply

Return to “Samplers, Sampling & Sample Libraries”