[arm-allstar] Recording & Playing Audio Files
David McGough
kb4fxc at inttek.net
Sat Apr 24 17:30:15 EDT 2021
Scott,
Here is one procedure I use:
For this example, on HamVoIP, the file is named: /tmp/file.mp3 ...So, scp
the mp3 file onto the HamVoIP system.
Conversion and playing steps:
1) lame --decode /tmp/file.mp3 /tmp/file.wav
2) sox /tmp/file.wav -c 1 -r 8000 -t ul /tmp/file.ul
3) asterisk -rx 'rpt playback <node> /tmp/file'
Note that with various sox options you can change the volume level,
normalize the audio levels, etc.
...That's it.
73, David KB4FXC
On Sat, 24 Apr 2021, "N4UPC via ARM-allstar" wrote:
> Is there a howto or other source for recording and playing custom audio files from a node?
I think Iâm close to the correct method. First I record the audio file as a .mp3 via Audacity on a Win10 PC. Second I transfer the file to my node and convert it to a WAV file. Then I convert the WAV to a UL file, but still no luck. The node just keys up and silence is heard for a few seconds.
Thanks!
73,
Scott
N4UPC
_______________________________________________
ARM-allstar mailing list
ARM-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list