freepats / freepats-tools

Tools to manage, create and convert sound fonts
GNU General Public License v3.0
32 stars 3 forks source link

REQ: wav to sf2 #1

Open rghvdberg opened 7 years ago

rghvdberg commented 7 years ago

Could you possibly create a script that takes a wav file and outputs a sf2 file?

zenvoid commented 7 years ago

Hi. It is already possible to create a sf2 file from wav, in two steps, first create a sfz file from wav and then convert sfz to sf2, like this:

Those scripts require that the wav file name contains its main note as a suffix (C4 in the previous example), so it can be placed correctly within the sfz/sf2 file.

I hope this is useful to you, please tell me if you need something different.