Are we certain that the midi track got added to the
alarm database correctly? If it did, it should show up
in the datebook preferences in the drop-down for
selecting the alarm sound.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi/sec: not just a good idea, it's the LAW!
shay wrote in message <19728@palm-dev-forum>...
>
>the volume is ok.
>i know that smfP is a pointer to the start of the midi file (it written in
>the help), my question is how can i get the pointer to the midi file (that
>is right now, an alarm in the system).
>i don't know how i reach it, and point to the alarm.
>
>thanks,
>shay
>
>"Nesse, Rustin" <[EMAIL PROTECTED]> wrote in message
>news:19676@palm-dev-forum...
>>
>> Well, if the volume isn't turned down, it might be done like this?
>>
>> error = SndPlaySmf( NULL, sndSmfCmdPlay, smfP, NULL, NULL,
>> NULL, false );
>>
>> Where smfP is a pointer to the start of your midi file.
>>
>> You should really look at the associated structures for those
>> options I
>> set as NULL, as the value right after smfP is a structure that contains
>> values for setting the volume, and the others could come in handy, too.
>>
>> -Rus
>>
>> >>-----Original Message-----
>> >>From: shay [mailto:[EMAIL PROTECTED]]
>> >>Sent: Wednesday, August 02, 2000 5:02 PM
>> >>To: Palm Developer Forum
>> >>Subject: Re: midi sound - how ? (urgent)
>> >>
>> >>
>> >>ok, now i got my midi file (with type 0) into the the palm,
>> >>the midi is in the alarms (like in the DateBook),
>> >>so this is why i'm replying to this post
>> >>
>> >>questions -
>> >>1. how do i use the SndPlaySmf, how can i reach my alarm using
>> >>"smfP" ???
>> >>2. for some reason i can't hear my alarm, it might be too long
>> >>? (5k) or
>> >>what ?
>> >>
>> >>shay
>>
>>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/