Simple help on Gervill with SF2 soundbank

1.3k views Asked by At

I have download Grevill gervill.jar and with my existing code follow from: http://www.jsresources.org/examples/MidiPlayer.html

Could anyone spare a little effort to write a tutorial on loading SF2 soundbank? I would cry without a tutorial on the web.

2

There are 2 answers

1
Erick Robertson On

Do some research.

If you want to learn how this code works, download it and try it. Generate javadoc API reference docs from the source. Try to figure it out. If you have problems getting it to work, post another question like this, but include specific details of the problem you are having.

You'll get a much better response this way. Stack Overflow is not someplace to find someone to do your research work for you.

0
Per On
new SF2Soundbank(new FileInputStream(new File("sb.sf2")));

Then you just load all the instruments in the synthesizer.