Hi,

Does someone know, how i can extract the waveforms from a midi soundfont, for example a sf2-file.
I've seen a set of midi waveforms at grossgang.com, so i think it's possible, but how can i do it.

Regards

Thumbs up

You can use a command line program like sf2comp.

Thumbs up

I've downloaded the program, but how to use it.
When i open the exe-file, nothing happen.

Thumbs up

I've read instructions now, and opened the program in command-line, but the descriped command for decompiling a soundfont doesn't Work for me.
What's wrong.
Does it doesn't Work on win 7, or what?

Thumbs up

Please tel us exactly what it's doing? If you get an error, what is the error? Just saying

Thumbs up

I will try to tell, but my computer is in Danish language, so i will try to translate.

I open the program in the command-line, by entering, "C:\Users\Aksel Christoffersen\Downloads\sf2cmp10\sf2comp.exe", and it worked fine.

So i try to decompile the soundfont, stored in a folder on my harddrive called SF2, by entering:
SF2COMP d c:\SF2\Scc1t2.sf2 c:\SF2\Sound\
and it doesn't Work.

Thumbs up

And the error says:
SF2COMP isn't a valid internal or external command, a program, or a batch-file.

Thumbs up

8 (edited by slender 2017-07-15 15:09:24)

Assuming you have a directory for soundfonts, you'd type something like...

sf2comp d -agl soundfont.sf2 c:\users\username\soundfonts

. Then it would extract all files to that directory.
Are you in the same directory as the program in the command line? It won't work if you're outside the program's directory.

Thumbs up

I don't know.
How can i come in the same dirictory as the program?

Thumbs up

Now it Works, but i also needed to enter the path for the soundfont before the name, so my command was:
sf2comp d c:\sf2\scc1t2.sf2 c:\sf2
And note: if you not have a file called sfedt32.dll on your computer, you need to download it from sf2comp's website.

Thumbs up