Forum

Tone is higher in playback

More
#28 by Nick.Daniels
Nick.Daniels created the topic: Tone is higher in playback
I'm happily getting sound loaded on the device and can trigger buttons for playback. When I hear my voice it's higher than what I recorded, maybe even sped up. Any ideas?

Please Log in or Create an account to join the conversation.

More
- #29 by foxonix
foxonix replied the topic: Tone is higher in playback
Hey Nick:

When you processed your audio, did you resample it to 12 KHz or 11.025 kHz?

Foxonix - make your ideas heard.
@foxonixdev
Last Edit: by foxonix.

Please Log in or Create an account to join the conversation.

More
#30 by Nick.Daniels
Nick.Daniels replied the topic: Tone is higher in playback
I recorded it in Audacity and found the 11.025kHz was the closest option. I looked at Audition and WavePad as well and could not find 12k. By asking the question I'm wondering chip time is 12 k so recording at a slower speed would make the playback seem faster. If that is the case how do I correct for it?

Please Log in or Create an account to join the conversation.

More
#31 by foxonix
foxonix replied the topic: Tone is higher in playback
The playback rate you set in the program with the "freq" command must match the sample rate of your audio. You are correct that Audacity does not have a 12 kHz option, so using 11.025 kHz is fine.

You should update your program by changing the freq=12k command to freq=11.025k. You'll find this in the [paths] section of the program. Then recompile and retest the program.

There are other reasons why the audio might be playing fast, but try this first and see if it helps.

Foxonix - make your ideas heard.
@foxonixdev

Please Log in or Create an account to join the conversation.

Time to create page: 0.019 seconds