Cheers for the info. I've come to the conclusion that playing anything more
that the basic system sounds is a "version 2.0" feature. 

Can you (or anyone else) direct me to any references/examples for accessing
the sound hardware directly? I have just been told by a more software
engineering oriented collegue that I am "evil" so I guess that I had better
not disapoint him :)

Cheers,
        Idries

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 17 June 2002 22:52
> To: Palm Developer Forum
> Subject: Re: Questions regarding MIDI
> 
> 
> Hi!
>  
> > 3 - SndPlaySmf seems to only allow synchronous playback of 
> MIDI files. How
> > do I perform asynchronous  playback? Can I? Do I have to 
> read the MIDI file
> > myself and process each MIDI command using SndDoCmd or somthing?
> Essentially you have to fake asynchronous playback by 
> interleaving your
> music playback with your application's other operations. You 
> might want
> to look at Music Tracker Development Kit:
> http://www.palmgear.com/software/showsoftware.cfm?sid=43257920
020506140024&prodID=9573
It does this for MOD files (three voice music, not MIDI, but similar).
You will have to intersperse your code with invocations of Music
Tracker.
The Razor! framework does sth. similar. It plays three voice music from
a proprietary resource format, which is currently human-readable, and
creatable with PilRC. It too needs to make sure the music routines are
called on a regular basis to fake asynchronous playback.
Both Music Tracker and Razor! have the disadvantage that the notes need
to be short, so they won't stop the application for a noticeable amount
of time. It might be possible to access the DragonBall sound hardware
directly, which should remove this problem (and is also evil :-)).

Cheers,
Tilo

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to