Playing midifiles using runrev played with DLS/Soundfonts ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
titobal
Posts: 31
Joined: Thu Aug 06, 2009 1:51 pm

Playing midifiles using runrev played with DLS/Soundfonts ?

Post by titobal » Fri Jun 04, 2010 8:19 pm

Hi,

I wonder if it is possible to play midifiles (.MID files format 0 or format 1) ?

I suppose runrev supports that via quicktime, but the tricky question is ...

Can we play midifiles using a different soundset than the one provided via quicktime, by using an external .DLS (soundfont like) soundbank ?

Any tip ?

Thanks.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Playing midifiles using runrev played with DLS/Soundfonts ?

Post by Mark » Fri Jun 04, 2010 8:55 pm

titobal,

No, you can't do that, but it should be possible to add more/different instruments/syntesizers to QuickTime (I have no experience with that). Of course, you could also write an external that reads midi files and produces sound through Mac OS X's sound API's, but I guess that's not what you want.

Btw simple midi 0 and 1 is indeed possible. There is an example stack somewhere that does this.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

titobal
Posts: 31
Joined: Thu Aug 06, 2009 1:51 pm

Re: Playing midifiles using runrev played with DLS/Soundfonts ?

Post by titobal » Sun Jun 06, 2010 8:05 am

Thanks for your answer,

this is true indeed, that is not what I am looking for...

This is why I've digged into www.fmod.org crossplatform sound/streams management solution, but there is no support for runrev ... too bad,
this solution would have filled something missing in runrev ... perhaps we should add it in a wish list somewhere...

Thanks again.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Playing midifiles using runrev played with DLS/Soundfonts ?

Post by Mark » Mon Jan 03, 2011 2:00 am

Hi Titobal,

This might be useful if you have Mac OS X.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply