Music On Hold from Mic/Line In too slow

Hi there!

I would like to set my USB sound card’s input as the source for the Music On Hold in FreePBX. I am using a sound card plugged into the USB port of my Raspberry. I do get some sound to the MOH by using the following command:

/usr/bin/arecord -q -f S16_LE -r 8000 -c 1 -D hw:2,0

However the sound on the MOH sounds like it is being played back at a wrong speed. It is far too slow. Someone suggested that I might try and use the sox command instead and set the output rate to a different value? Apparently you cannot do that with the arecord command? I do not how to do that though. :frowning:

My question:

How do I get the sound from my LINE IN to be played at the right speed as MOH? Can anyone help with the sox command? Any other ideas?

Thanks
Chris

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.