1 Reply Latest reply on Dec 11, 2012 6:10 AM by Benedict Kennedy

    Playing beeps on MC40 from within browser

    Brian Safran

      Customer is looking to play certain beep sequences depending on various parameters within their application. On their MC9090's, the play the .wav file to do this.

      We have tried this on the browser on the MC40 and doesn't seem to work properly.

        • Re: Playing beeps on MC40 from within browser
          Benedict Kennedy

          Hi Brian,

           

          The generic.PlayWave(...) method should work with WAVs on MC40. I have attached an example page which works for me. Unzip the zip file into the root of the SDcard and load the playWave1.html file as the start page.

           

          One reason why it might not be working for you is that the root of the SDCard is treated as the root of the device. So the wave.wav file in the SDCard will be referenced as:

          file:///wave.wav

          not

          file:///mnt/sdcard/wave.wav

           

          Best regards,

          Ben