MCB 1700: lpc1768 use of windows api

Hi All,

I am trying to produce sound on the speaker attached on the mcb1700 board. Keil installation comes with some examples one of which is the use of usb audio driver which basically plays any sound from your pc onto the mcb1700 speaker. Is it possible to use windows api with keil so that I can use windows.h file which lets me call playsound() function available in the api for producing sound on windows ? Will this then be played on the mcb1700 speaker ?

Thank you all for your time.

Parents
  • Either take a wav file and convert to bin/hex data and include in your source code.

    Or make some code that creates a sine wave on-the-fly.

    Or make a USB project where you say you are a USB sound card and take sound from windows and send to loudspeaker.

    PWM or DAC needed for driving that speaker.

Reply
  • Either take a wav file and convert to bin/hex data and include in your source code.

    Or make some code that creates a sine wave on-the-fly.

    Or make a USB project where you say you are a USB sound card and take sound from windows and send to loudspeaker.

    PWM or DAC needed for driving that speaker.

Children
More questions in this forum