Simple automapper for SFZ
-
- KVRAF
- 1718 posts since 3 Sep, 2003
I wrote a little VB app that generates an SFZ file from a list of samples. Its for quickly mapping a shitload of one shots (*cough* Dorumalaia *cough*). Get it here!
Instructions:
Type in a file name in the first box. The .sfz extension will be added automagicly.
Provide a note number for where the mapping should start. 24 or 36 are good values.
Click the button and navigate to your sample files, and select all the samples you wich to include in the map.
Click ok. All done.
If you get an error message regarding COMDLG32 at startup, its because you have an old version of this file. Windows update should take care of it..
Instructions:
Type in a file name in the first box. The .sfz extension will be added automagicly.
Provide a note number for where the mapping should start. 24 or 36 are good values.
Click the button and navigate to your sample files, and select all the samples you wich to include in the map.
Click ok. All done.
If you get an error message regarding COMDLG32 at startup, its because you have an old version of this file. Windows update should take care of it..
Last edited by Rock Hardbuns on Mon Aug 23, 2004 2:05 pm, edited 1 time in total.
-
- KVRAF
- Topic Starter
- 1718 posts since 3 Sep, 2003
Oh, and it only works in one folder at a time so to speak. The generated file will be in that same folder.
And, its freeware or what ever. If anyone wnats the VB6 project files, send me a PM.
EDIT >
Found a bug.. but I fixed it. If you get a error saying that the filename buffer is too tight. DL again. Also, The program doesnt do any bounds checking on the note numbers. Remember that there is only 127 midi notes.
And, its freeware or what ever. If anyone wnats the VB6 project files, send me a PM.
EDIT >
Found a bug.. but I fixed it. If you get a error saying that the filename buffer is too tight. DL again. Also, The program doesnt do any bounds checking on the note numbers. Remember that there is only 127 midi notes.
- KVRAF
- 7412 posts since 8 Feb, 2003 from London, UK
Here is a MSYS bash command line that does the same:
You tweak the "i=0" to "i=24", whatever, and make sure you run it in the right directory... And change "map.sfz" to whatever, too. And maybe add other funky stuff into the echo command.
GUIs... who need's 'em
Code: Select all
find -iname '*.wav' -o -iname '*.ogg' | (i=0; while read x; do echo "<region> key=$i sample=$x"; i=$((i + 1)); done) > map.sfzGUIs... who need's 'em
-
- KVRAF
- Topic Starter
- 1718 posts since 3 Sep, 2003
You know, that command probably took longer to write than my program

-
- KVRist
- 245 posts since 1 Mar, 2004 from London
empty - just trying to get my post count up 
- KVRian
- 1496 posts since 10 Nov, 2002 from Earth
My, it's really useful and nice! Thank you very much Pukeweed! Moving my drumkits to sfz now!

-
- KVRist
- 182 posts since 1 Oct, 2004 from VA
How do I control what samples are assigned to what keys
-
- KVRAF
- Topic Starter
- 1718 posts since 3 Sep, 2003
You dont.. it just lines them up. If you want to move them around, just open the sfz file in notepad and edit the key numbers.daviencrow wrote:How do I control what samples are assigned to what keys
