Mike
Tue Aug 09 02:53:09 CDT 2005
"juvi" <juvi@discussions.microsoft.com> wrote in message
news:803DC381-3CC4-4069-A5F6-616690EE21EC@microsoft.com...
> Hi, how can I generate a sound with a defined frequency and time in the
> Compact.Net Framework? Is this possible? Thank you
>
> juvi
If you can work out how to P/Invoke it correctly you could use the
waveOutOpen/waveOutPrepareHeader/waveOutWrite/waveOutUnprepareHeader/WaveOutClose
functions with the WAVEFORMAT_MIDI structure.
Start from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/apippc/html/ppc_wfmtmidi_wave_format_midi.asp
Mike