SampleTank can't import SFZ files, but it can import wav files and it can also map them automatically if they are named properly, so I thought: why not writing a small utility to prepare the files, so then I just have to import them in SampleTank? So I wrote this little toy.
It works fine for me, but it is very raw and possibly buggy; in its first incarnation (I wrote it on or two years ago, but I kept it for myself) you had to change the source and destination folder in the IDE and then recompile it; now I just added a very simple gui and I made the code a little bit more sophisticated (so it recursively looks for sfz files inside the folders contained in source folder, in its first private incarnation it just looked in the main folder).
To run it you need a Java Virtual Machine on your system (I compiled the software against JDK 1.7, but I think it can be recompiled against older versions of Java).
The usage is very straightforward: write the path of the folder containing the SFZ files (hint: if there's a SFZ folder in the library with some subfolders, use that... you know for sure what I mean if you ever used a LoopMasters library), write the path of your destination folder (it should be empty!) and then click on the convert button to have the files copied and renamed. Then, fire up SampleTank, click on Import -> Sample and select a folder of samples (the software creates a folder of samples for each patch), repeat for each patch you want to import (it's a bit time consuming, I know!) and then you're done!
As I told you before, the software is very raw, so there's no dialog to select the folder (you have to write the path by hand; if you're on Mac you can select the root folder, press cmd+I and copy it from there, then you have to add the folder name). The path must be absolute (for example C:\my_sfz_folder or /Users/username/my_sfz_files; "my_sfz_files" is not an absolute path).
I also suggest you to write down the paths on a text editor because you'll have to restart the program in case of error...
Also, the source and destination folders should not be nested one inside the other (the software is programmed to stop in this situation... but don't try it!)
So, here it is the download link, complete with sources. Do what you want with it, as long you don't sell it or claim it your own. I will not maintain it, so if you want to modify it, I'm cool with it as long as you aknowledge the original source. The only thing I ask you is that, if you find it useful, you do something good (help somebody, give some money to an ong... whatever).
The software comes with no guarantees that it works; it's just a tool that I wrote for my need and later I decided to share. If you need a tool that does an actual conversion from sfz to SampleTank, there are some payware tools in the market, this is just a small utility that does only part of the job.
SFZ_extract.zip
Last but not least, the software supports a very reduced subset of the sfz specifications: root note, lokey, hikey and hivel. These are the only things I found in SampleTank manual, otherwise I would have added more things (maybe... I'm lazy!).
So, have fun!
