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

voice player program for mcb2130

I tried to run the voice player example program for the mcb2130 on the 2140 board. The program works with the sample audio given. When I recorded my own audio(.WAV), converted it using the BIN2HEX converter, it does not work. I hear a distorted audio and not the recorded file. The file I recorded the audio with 16 bit PCM mono and 8KHz sampling frequency as specified.

What should I do to record my own audio?

Parents
  • If you look at the convert.bat that is in the AudioData folder you get an idea where the individual WAV-Files are located:

    BIN2HEX /L65536 /O65536 /4 /T /Q Block1.wav Audio.h86
    BIN2HEX /L65536 /O131072 /4 /A /T /Q Block2.wav Audio.h86
    BIN2HEX /L65536 /O196608 /4 /A /T /Q Block3.wav Audio.h86
    BIN2HEX /L65536 /O262144 /4 /A /T /Q Block4.wav Audio.h86
    BIN2HEX /L65536 /O327680 /4 /A /T /Q Block5.wav Audio.h86
    BIN2HEX /L65536 /O393216 /4 /A /T /Q Block6.wav Audio.h86
    BIN2HEX /L53248 /O458752 /4 /A /Q Block7.wav Audio.h86

    The /O parameter specifies an decimal offset within the Hexfile. From this you will see that the start addresses are 0x10000, 0x20000, 0x30000, etc...

Reply
  • If you look at the convert.bat that is in the AudioData folder you get an idea where the individual WAV-Files are located:

    BIN2HEX /L65536 /O65536 /4 /T /Q Block1.wav Audio.h86
    BIN2HEX /L65536 /O131072 /4 /A /T /Q Block2.wav Audio.h86
    BIN2HEX /L65536 /O196608 /4 /A /T /Q Block3.wav Audio.h86
    BIN2HEX /L65536 /O262144 /4 /A /T /Q Block4.wav Audio.h86
    BIN2HEX /L65536 /O327680 /4 /A /T /Q Block5.wav Audio.h86
    BIN2HEX /L65536 /O393216 /4 /A /T /Q Block6.wav Audio.h86
    BIN2HEX /L53248 /O458752 /4 /A /Q Block7.wav Audio.h86

    The /O parameter specifies an decimal offset within the Hexfile. From this you will see that the start addresses are 0x10000, 0x20000, 0x30000, etc...

Children