Command line application that can generate info of soundfonts

Link to good samples/soundfonts at http://wiki.linuxaudio.org/wiki/free_audio_data

Moderators: MattKingUSA, khz

Post Reply
audio2000
Established Member
Posts: 28
Joined: Wed Sep 18, 2024 9:11 pm

Command line application that can generate info of soundfonts

Post by audio2000 »

I have some questions about soundfonts in Linux, I will start with this odd request first.
As far as I know, soundfonts do not provide any metadata themselves (if I am wrong please let me know), I imagine a program must open/analyze them and generate info about what they contain. For example what Polyphone does.

I was wondering if anyone knew of any COMMAND LINE based programs that can quickly analyze soundfonts and generate some information about what they contain?

Information such as.....
-How many banks soundfont contains
-How many patches soundfont contains
-How many samples soundfont contains
-First patch name / patch name regardless of patch number if soundfont only contains one patch
-How many velocity layers instruments contain (obviously all have a minimum of 1 layer)
-Sample/Bit Rate used
-Etc.

I do not think anything like this exists but just wanted to make sure.
Again I am aware of Polyphone, for this post I am specifically asking about any COMMAND LINE based programs.
Future posts of mine will be about GUI based applications.

Thank you for any information shared

User avatar
noedig
Established Member
Posts: 246
Joined: Wed Feb 12, 2014 4:39 am
Location: South Africa
Has thanked: 10 times
Been thanked: 59 times

Re: Command line application that can generate info of soundfonts

Post by noedig »

sf2dump seems like it should to the trick: https://man.archlinux.org/man/sf2dump.1.en

Post Reply