I want to create a small soundbank programmatically with my own samples and play them through the standard Sun JDK Midi Synthesizer.
A already read they are in Beatnik format, but I can't find the spec.
In addition, I don't really need the soundbank stored as a file, since it would be OK if there was a way to create a soundbank from samples programmatically prior using the bank to play the instruments in it.
Any ideas?
UPDATE 21.01.2021: Since Java 7 sf2-soundbanks are supported! So just stop thinking abount that beatnik stuff, the company is gone anyway. Here is the spec: http://www.synthfont.com/sfspec24.pdf
MidiSystem.getSoundbank(File)
(also overloaded to work withURL
andInputStream
)? – Sokul