This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create sound data

hi,

Look at the sample sound for ARM board MCB2130, how to make this sound data (data.c)? in the sample DTMF "1", "5", "9" and "D" is in SoundaData array variable.

If I want to generate data for freq say 350Hz (single frequency) how to make it? so I can put in the array variable similar such as SoundData.

thanks,
Rudy

Parents
  • A lot of people - being developers - would probably consider using a free compiler for Linux or Windows and write a few lines of code to generate the required curve form and print as an initialized C array for inclusion in the source code of the target firmware.

    The trivial file format of normal WAV files would also allow the generated curve form to be trivially tested with WinAmp or any other available audio player.

Reply
  • A lot of people - being developers - would probably consider using a free compiler for Linux or Windows and write a few lines of code to generate the required curve form and print as an initialized C array for inclusion in the source code of the target firmware.

    The trivial file format of normal WAV files would also allow the generated curve form to be trivially tested with WinAmp or any other available audio player.

Children