Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 May 2018, 22:34
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Voice-Activated VOX Audio Recording?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
johnywhy


Joined: 20 Aug 2011
Posts: 721

PostPosted: Fri 02 Mar 2018, 20:00    Post subject:  Voice-Activated VOX Audio Recording?  

any way to do this on puppy?

thx

_________________
Now: X-Tahr
Tops: TarhNOP Vlina-R2 LxPrecise Racy xSlacko
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
Watching: Quirky-April Zagreb RapidPup
i ♥ Puppy

Last edited by johnywhy on Sat 03 Mar 2018, 03:05; edited 1 time in total
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1816
Location: lincoln, uk

PostPosted: Fri 02 Mar 2018, 20:34    Post subject:  

http://archive.org/details/Puppy_Linux_voxpup

Smile
Back to top
View user's profile Send private message Visit poster's website 
johnywhy


Joined: 20 Aug 2011
Posts: 721

PostPosted: Fri 02 Mar 2018, 20:56    Post subject:  

thx, ally!!

but that's not what i mean Smile

i mean an audio-recorder that only records when it senses sounds, and stops recording when there are no sounds.

thx!

_________________
Now: X-Tahr
Tops: TarhNOP Vlina-R2 LxPrecise Racy xSlacko
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
Watching: Quirky-April Zagreb RapidPup
i ♥ Puppy
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 1575
Location: Italy

PostPosted: Sat 03 Mar 2018, 02:18    Post subject:  

Audacity can do that.
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 721

PostPosted: 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
Tops: TarhNOP Vlina-R2 LxPrecise Racy xSlacko
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
Watching: Quirky-April Zagreb RapidPup
i ♥ Puppy
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 721

PostPosted: 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
Tops: TarhNOP Vlina-R2 LxPrecise Racy xSlacko
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
Watching: Quirky-April Zagreb RapidPup
i ♥ Puppy
Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 885

PostPosted: 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
View user's profile Send private message 
Moat


Joined: 16 Jul 2013
Posts: 829
Location: Mid-mitten, USA

PostPosted: Sat 03 Mar 2018, 03:49    Post subject:  

Not sure, but does mcenaw's Precord have this capability?

(Having difficulty linking on this smartphone... Confused But it's here on the forum - somewhere...)

Bob
Back to top
View user's profile Send private message 
johnywhy


Joined: 20 Aug 2011
Posts: 721

PostPosted: 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'.

drunkjedi wrote:
On this page a Python script is given to do that job.
http://mocha.freeshell.org/audio.html

thx, will check it out!

_________________
Now: X-Tahr
Tops: TarhNOP Vlina-R2 LxPrecise Racy xSlacko
Used: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
Watching: Quirky-April Zagreb RapidPup
i ♥ Puppy
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 648
Location: not Bulgaria

PostPosted: Wed 25 Apr 2018, 18:09    Post subject:  

https://github.com/russinnes/py-vox-recorder

drunkjedi wrote:
On this page a Python script is given to do that job.
http://mocha.freeshell.org/audio.html


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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0417s ][ Queries: 11 (0.0059s) ][ GZIP on ]