Hi, how can I generate a sound with a defined frequency and time in the
Compact.Net Framework? Is this possible? Thank you

juvi

Re: How to generate a sound with a defined frequency and time? by Sergey

Sergey
Tue Aug 09 02:46:21 CDT 2005

See this thread:
http://groups-beta.google.com/group/microsoft.public.pocketpc.developer/browse_frm/thread/625c2b8f0e975652/18961ec4df705903#18961ec4df705903


--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com


juvi wrote:
> Hi, how can I generate a sound with a defined frequency and time in the
> Compact.Net Framework? Is this possible? Thank you
>
> juvi

Re: How to generate a sound with a defined frequency and time? by Mike

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