Csound Csound-dev Csound-tekno Search About

[Cs-dev] A General MIDI Soundfont Player Instrument Contest

Date2006-11-06 08:53
From"Dr. Richard Boulanger"
Subject[Cs-dev] A General MIDI Soundfont Player Instrument Contest
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!)



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2006-11-06 09:03
FromRory Walsh
SubjectRe: [Cs-dev] A General MIDI Soundfont Player Instrument Contest
Hi Richard, I'm afraid to report that link does not work....

Rory.

Dr. Richard Boulanger wrote:
> 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!)
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-06 09:06
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] A General MIDI Soundfont Player Instrument Contest
Thanks Rory,

I did past in the correct one, but.... the editor spell corrected it  
for me!!!

Here is the correct link:

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

Dr. B.

On Nov 6, 2006, at 4:03 AM, Rory Walsh wrote:

> Hi Richard, I'm afraid to report that link does not work....
>
> Rory.
>
> Dr. Richard Boulanger wrote:
>> 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!)
>>
>>
>>
>> --------------------------------------------------------------------- 
>> ----
>> Using Tomcat but need to do more? Need to support web services,  
>> security?
>> Get stuff done quickly with pre-integrated technology to make your  
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
>> Geronimo
>> http://sel.as-us.falkag.net/sel? 
>> cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ---------------------------------------------------------------------- 
> ---
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel