[Csnd] A General MIDI SoundFont Player Instrument Contest

View: New views
1 Messages — Rating Filter:   Alert me  

[Csnd] A General MIDI SoundFont Player Instrument Contest

by Dr. Richard Boulanger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Csounders,

Well - it's not really a contest, but... I could really use some help  
to come up with an elegant and efficient solution by tomorrow afternoon.

I am looking for an instrument in Csound that we can include on the  
One Laptop Per Child computer
that will play any General MIDI file we throw at it.  (In the way  
that Quicktime Musical Instruments do on the Mac.)

The two solutions I have been experimenting with, and modifying  
slightly, are those designed by:

1. David Akbari - from the examples in his pgmin UDO
2. Istvan Varga - from his advanced fluidsynth example in the manual.

Istvan's Fluidsynth solution is perfect - BUT - too slow.  It uses up  
over 80% of my PowerBook G4 CPU
and on the slower OLPC machines, it chugs to a halt.

David's sfplay and pgmin UDO solution is more efficient and would do  
the trick, but there is a problem with the pgmin UDO and with the  
fact that some presets seem to change the instrument that is being used.

So....

Have any of you designed a General MIDI Instrument in Csound that you  
would dare to share?

Would you like to try out the Istvan and Akbari solutions and see if  
you can improve them?

http://csounds.com/olpc/gmSoundFontPlayer.zip

I have included a few midifiles (one composed by the king of  
Thailand!) and a general midi soundfont bank too.

Any input, suggestions, solutions received and/or posted before  
tomorrow at 3pm would be
most appreciated and (if they work out) included in the Beta1-demos  
for the One Laptop Per Child Computer.

Thanks for your help and advice.

Dr. B.
(at 3:53am...... uuughhhhhh --- and I start work at 6am.....
so what else is new....I will turn 50 on Friday and I am still pulling
all nighters just about every week!)

--
Send bugs reports to this list.
To unsubscribe, send email to csound-unsubscribe@...
LightInTheBox - Buy quality products at wholesale price!