[LAU] CLI tools to handle SF2 files?

Crypto crptdngl71 at gmx.net
Fri Apr 3 09:22:48 EDT 2009


Hi,

at the moment swami is the only tool running on linux natively that deals with 
manipulating SF2 files.

My personal SF2 collection has grown over time and it is a pain to find out 
the best presets in each file (I mostly use GM collections of sounds).

I have read about a lib that implements functions to work on SF2 files, but I 
have not found any doc about it. Where can I find the lib and doc for it? If 
there was a CLI tool that uses the lib then I think by using scripts handling 
the SF2 files could be easier. Something that does most if not all things 
that swami does, only that it is run via CLI and a command line.

Looking at SF2 WAV samples I noticed that in most cases they are not 
normalized which results in the old problem of different presets having 
different volume throughout a SF2 file.

This is where I would like something that does normalizing the sample(s) of 
the preset. I know that normalizing tools are out there, it's more a question 
of putting pieces together.

The second problem which is even worse to deal with is looping sounds. I know 
that it is unlikely this could be done automagically, but an option in tools 
such as swami to find zero levels of a sample could already help. Maybe this 
is something for the next release of swami? Or maybe you have other 
suggestions on handling SF2 files?

Kind regards,
Crypto.



More information about the Linux-audio-user mailing list