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
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.
"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"
Or, in the other direction, any available audio recording software could be used to capture "real" sounds to a WAV file, and then a simple 'C' program could extract the data samples...
Guys,
Thank you for the information. I will try it and update the result.