Skip to content
Adrian Höhne edited this page Aug 20, 2017 · 4 revisions

Welcome to the Sf2_Batch_Recording and effect_maker wiki!

Sf2_Batch_Recording

was made to extract keytones from sf2 file. I did not find a software for my mac to do this and i love self-made things :) So et voilà, here it is.

About Sf2_Batch_Recording: This script do not extract anything from sf2 files. It is like an oldschool cassette recorder. And yes, i was one of them, that waited hours over hours to press record to record a specific song from radio. :) However. This script loads a sf2 file with fluidsynth, play it and record it with fluidsynth. Yes, it does much more but this is the core work of this script. Then it will be converted by SoX. A really powerful tool. After all, you will get a folder and in this your wav files and the needed description.txt. All is ready to use for Samplerbox. You only need to change the foldername to set the position in samplerbox.

It doesnt need any graphical os, it should work well on bash, on mac and linux(not tested). What options do you have to create a set of soundsamples: You can:

  • choose between all sf2 files stored in your /Library/Audio/Sounds/Banks folder.
  • set your velocity
  • choose which is the start key
  • choose which is the end key( with this it is possible to make only a specific range of samples)
  • set the length of your soundsample
  • hear the sound past conversion, if you want.
  • change gain
  • use effects! see effect_maker for this

In theory you could make your own soundset with drums on the first quarter on your keyboard. On the second and third you could set your piano sounds and on the fourth you could set piano sounds with echo and/or reverb. Or you could make a soundset with only piano sounds and a deep hall effect. Have fun :)

effect_maker

was made, because it was too hard for me, to use only commandline options with sox. sox is too powerful to keep all options in mind. Write this script was a challenge for me, so it was fun, too.

With effect_maker you have a user interface for sox effects. You can play with them, test them together, pre play the effect or play all effects together. It is like Sf2_Batch_Recording a bash skript. So it doesnt need a graphical OS and should work in linux aswell.(I will test it later under linux)