Have you tried looking at the "RockMusic" sample application included in 
Palm's SDK?

---

--On Tuesday, January 11, 2000 4:48 AM -0800 "McCollister, Mike" 
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> I want to create a simple SMF database. I think that I know how to do
> everything but I don'w know how to create the MIDI database. Is there an
> easy way to create a database that fits in with the code below?
>
>    SndMidiRecType smfScale;
>    SmdSmfOptionsType smfOptions;
>
>    smfScale = ????; // ??? what do I put here for a simple scale?
>
>    smfOptions.dwStartMilliSec = 0;
>    smfOptions.dwEndMilliSec   = sndSmfPlayAllMilliSec;
>    smfOptions.amplitude       = volume;
>    smfOptions.interruptible   = false;
>    smfOptions.reserved        = 0;
>
>    SndPlaySMF(NULL, sndSmfCmdPlay, &smfScale, &smfOptions, NULL, NULL,
> NULL);
>
> I realzie that I can do a scale by doing a loop but I am using this simple
> example so that I can learn how to creat the database.
>
> Thanks,
>
> Mike McCollister
>
> Michael J. McCollister, Senior Systems Engineer
>        Northrop Grumman
>        Melbourne, Florida
>        Phone: 321-726-7862
>        Fax: 321-726-7722
>        E-Mail: [EMAIL PROTECTED]




Reply via email to