[arm-allstar] rx audio capture - recording
Doug Crompton
doug at crompton.com
Mon May 18 14:23:27 EST 2015
Neil,
I am not sure exactly what you want to do but there is a way to capture all received audio. It is not recommended on the BBB or RPi2 because it takes up lots of space and would need to be recorded to the SD card unless you had a USB stick or USB hard drive installed or for a limited amount of time recorded to RAM using the /tmp directory.
The command is archivedir= and this points to the directory where you want to store the audio. It is then stored in a directory below that with a name of the node number. Each transmission is in a separate file. archivedir= is entered in rpt.conf in the node section for the node you want to record.
tts_audio converts text to speech and would not make any sense to work with an existing audio file. It cannot convert speech to text.
You could turn on the audio archiving for a limited amount of time on the BBB or RPi2 but make sure you use the /tmp directory which stores it to RAM not the SD card. Then you could play back the file and listen to the audio quality.
If you do store it in /tmp make sure you delete the file after or reboot. /tmp files do not survive a reboot.
73 Doug
WA3DSP
http://www.crompton.com/hamradio
From: k8it at cac.net
To: fred at fmeco.com; arm-allstar at hamvoip.org
Date: Mon, 18 May 2015 14:37:37 -0400
Subject: Re: [arm-allstar] crontab editing on BBB asterisk v1.2.1 and rx audio capture - recording
Chris and Fred and others....
I got crontab modified ok but still do not know the name
of the system profile filename to make the default editor choice permanent. I am
running on a beagle bone black asterisk v1.2.1
Also is there a script or function that can record
received audio and then let me pipe it to TTS_Audio.sh
the idea is to create a dtmf callable function
macro that captures received audio on the local simplex rf frequency,
convert it to digital audio and plays it back. The cats meow implementation
would help simplex link users set their audio properly
73 Neil K8IT node Allstar 41838 and
Echolink K8IT-L
From: Fred Moore
Sent: Monday, May 18, 2015 9:24 AM
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] crontab editing on BBB asterisk
v1.2.1
"export" will only carry the shell variable till the next time
the shell is restarted, or the system rebooted, to make it permanent, it needs
to be placed in your profile (you only) or the system profile if you want it to
apply to all users.
Not knowing what shell you are using.. something
like
echo "export EDITOR=nano" >> ~/.bashrc
will make it
permanent. The name of your profile file will change depending on what
shell you are using.. . Run a "ls -a" so you can see what hidden file you
have in your home directory.. Fred
On 5/18/15 8:41 AM, Christopher Kovacs
wrote:
Hi Neil,
Use the following command to set your default browser:
export EDITOR=nano
This will allow you to set the editor of your choosing. If you used
contab -e, it will use this edtor. When the crontab is saved, the syntax
is checked and valided before saving. You will not need to restart
crond, as it will pick up the entries when they are saved.
Another userful crontab command is:
crontab -l
This lists the crontab entry.
73,
Chris, w0anm
On Sun, May 17, 2015 at 11:50 PM, Neil k8it <k8it at cac.net> wrote:
I have been doing some reading about how to edit crontab but need some
specific information on how to edit crontab on a bbb running asterisk
v1.2.1
my questions
1. what's the easiest way to schedule and edit the crontab file?
for a non wx task!
2. if I use crontab -e will it default or can I set the editor to
nano?
3. how do I restart the cron file?
do I reboot ? or do I need to issue a special
commands?
thanks 73 k8it Allstar node 41838 echolink k8it-L
_______________________________________________
arm-allstar
mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit
the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be
clean.
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
--
Fred Moore
email: fred at fmeco.com
fred at safes.com
phone: 321-217-8699
_______________________________________________
arm-allstar
mailing
list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit
the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-----
No virus found in this message.
Checked by AVG -
www.avg.com
Version: 2015.0.5941 / Virus Database: 4342/9808 - Release Date:
05/18/15
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150518/bfc13fbc/attachment.html>
More information about the arm-allstar
mailing list