Author |
Message |
johnywhy

Joined: 20 Aug 2011 Posts: 890
|
Posted: Fri 02 Mar 2018, 20:00 Post subject:
Voice-Activated VOX Audio Recording? |
|
any way to do this on puppy?
thx
_________________ Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
Last edited by johnywhy on Sat 03 Mar 2018, 03:05; edited 1 time in total
|
Back to top
|
|
 |
ally

Joined: 19 May 2012 Posts: 1983 Location: lincoln, uk
|
Posted: Fri 02 Mar 2018, 20:34 Post subject:
|
|
http://archive.org/details/Puppy_Linux_voxpup
|
Back to top
|
|
 |
johnywhy

Joined: 20 Aug 2011 Posts: 890
|
Posted: Fri 02 Mar 2018, 20:56 Post subject:
|
|
thx, ally!!
but that's not what i mean
i mean an audio-recorder that only records when it senses sounds, and stops recording when there are no sounds.
thx!
_________________ Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
|
Back to top
|
|
 |
watchdog
Joined: 28 Sep 2012 Posts: 2022 Location: Italy
|
Posted: Sat 03 Mar 2018, 02:18 Post subject:
|
|
Audacity can do that.
|
Back to top
|
|
 |
johnywhy

Joined: 20 Aug 2011 Posts: 890
|
Posted: Sat 03 Mar 2018, 02:38 Post subject:
|
|
watchdog wrote: | Audacity can do that. |
thx, watchdog!
unfortunately, Audacity is a a very fat dog. Eats too much RAM and disk space, and performance is not great on low-resource machines, in my experience. Also, as a multi-track recorder, it's really overkill for simple mono voice-recording.
Audacity is 55 MB compared with Bacon at under 5k. I just need Bacon with sound-activation.
_________________ Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
|
Back to top
|
|
 |
johnywhy

Joined: 20 Aug 2011 Posts: 890
|
Posted: Sat 03 Mar 2018, 03:04 Post subject:
|
|
Some possibilities i'm checking out:
https://launchpad.net/~audio-recorder/+archive/ubuntu/ppa
https://ubuntuforums.org/showthread.php?t=1672679&page=2
https://www.linuxquestions.org/questions/linux-software-2/vox-recorder-and-audio-timer-recorder-598535/
http://rezound.sourceforge.net/
https://www.youtube.com/watch?v=2cIkjIaErxI
http://sox.sourceforge.net/
https://github.com/russinnes/py-vox-recorder
_________________ Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
|
Back to top
|
|
 |
drunkjedi

Joined: 24 May 2015 Posts: 897
|
Posted: Sat 03 Mar 2018, 03:28 Post subject:
|
|
On this page a Python script is given to do that job.
http://mocha.freeshell.org/audio.html
|
Back to top
|
|
 |
Moat

Joined: 16 Jul 2013 Posts: 968 Location: Mid-mitten
|
Posted: Sat 03 Mar 2018, 03:49 Post subject:
|
|
Not sure, but does mcenaw's Precord have this capability?
(Having difficulty linking on this smartphone... But it's here on the forum - somewhere...)
Bob
|
Back to top
|
|
 |
johnywhy

Joined: 20 Aug 2011 Posts: 890
|
Posted: Sat 03 Mar 2018, 04:20 Post subject:
|
|
Moat wrote: | does mcenaw's Precord have this capability? |
thx, i tried it. Doesn't appear to, tho'.
thx, will check it out!
_________________ Now: X-Tahr 2.0! StretchDog! DevuanDog!
Tops: TarhNOP Vlina-R2 Racy
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
i ♥ Puppy
|
Back to top
|
|
 |
wiak
Joined: 11 Dec 2007 Posts: 2075 Location: not Bulgaria
|
Posted: Wed 25 Apr 2018, 18:09 Post subject:
|
|
https://github.com/russinnes/py-vox-recorder
Actually, on that mocha.freeshell.org site there is a simple commandline using sox that includes sound activated recording thresholds. Here is the complete script including the relevant sox rec commands:
Code: | #!/bin/bash
#source http://www.sis-germany.de/index.php?page=Thread&threadID=1444
NAME=`date +%m-%d-%Y_%H-%M-%S`
#choose a method below, either the decibel or % of level method
#also choose number of channels, sample rate, encoding, etc..
#you need to find a level that works for your hardware
#rec -c 1 -r 22050 $NAME.wav silence 1 0 -22d -1 00:00:05 -22d
#rec -c 1 -r 22050 $NAME.wav silence 1 0 8% -1 00:00:05 8%
rec -c 1 -r 22050 $NAME.mp3 silence 1 0 8% -1 00:00:05 8%
#rec -c 1 -r 22050 $NAME.mp3 silence 1 0 25% -1 00:00:05 25%
#uncomment appropriate line below for normalizing when finished
#echo "Normalize..."
#sox $NAME.wav $NAME-norm.wav gain -n -1
#sox $NAME.mp3 $NAME-norm.mp3 gain -n -1
#uncomment appropriate line below for a spectral graph if desired
#echo "Calculating Spectrogram..."
#sox $NAME.wav -n spectrogram -x 1024 -y 768 -z 100 -t "$NAME.wav" -c '' -o $NAME.png
#sox $NAME.mp3 -n spectrogram -x 1024 -y 768 -z 100 -t "$NAME.mp3" -c '' -o $NAME.png
#echo "Done." |
Apparently it was found elsewhere on some German-language site.
Also on unix stackexchange:
https://unix.stackexchange.com/questions/55032/end-sox-recording-once-silence-is-detected
wiak
|
Back to top
|
|
 |
|