Recent

Author Topic: Only a BEEP in WinCE Motorola/Symbol MC9090  (Read 4698 times)

gabsanar

  • Newbie
  • Posts: 1
Only a BEEP in WinCE Motorola/Symbol MC9090
« on: May 09, 2013, 01:32:21 pm »
Hello,
I am developing an application with Lazarus for Windows CE 5.0 (Motorola / Symbol MC9090).
I need you to Realize the MC9090 a BEEP with strong volumen.
With the instruction pascal beep, beep makes very low.
Can help me how to get a very loud BEEP.

thanks

avra

  • Hero Member
  • *****
  • Posts: 1691
    • Additional info
Re: Only a BEEP in WinCE Motorola/Symbol MC9090
« Reply #1 on: May 10, 2013, 12:29:37 pm »
You can try to generate tone in runtime (maybe with something like this: http://msdn.microsoft.com/en-us/library/ms894156.aspx), or even simpler you can create a WAV with a specific frequency on PC and then play it on WinCE when needed. People should be most sensitive to 1000Hz frequency, so I suggest you to start with that. It would also help if you search WinCE API how to read current volume setting, remember it, change it to the maximum, play your note, and restore old volume setting.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib