The Following 28 Users Say Thank You to iKneaDough For This Useful Post: | ||
|
2009-12-25
, 19:57
|
Posts: 21 |
Thanked: 15 times |
Joined on Dec 2009
@ Finland
|
#42
|
The Following 3 Users Say Thank You to JuhS For This Useful Post: | ||
|
2009-12-25
, 20:35
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#43
|
I've taken pity on xyberx and created a Brainstorm idea for him (first Brainstorm idea I've created, so I hope I've done it right), see http://maemo.org/community/brainstor...all_recording/. I'm not trying to steal karma from xyberx, so feel free to transfer ownership of this to him. I'll let other people add their potential solutions, as Brainstorm was too slow for me to be bothered.
The Following User Says Thank You to Texrat For This Useful Post: | ||
|
2010-01-04
, 10:16
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#45
|
The Following User Says Thank You to omeriko9 For This Useful Post: | ||
|
2010-01-04
, 16:43
|
|
Administrator |
Posts: 1,036 |
Thanked: 2,019 times |
Joined on Sep 2009
@ Germany
|
#46
|
|
2010-01-10
, 15:04
|
Posts: 39 |
Thanked: 3 times |
Joined on Jan 2010
|
#47
|
|
2010-01-11
, 15:01
|
Posts: 1 |
Thanked: 0 times |
Joined on Jan 2010
|
#48
|
|
2010-01-11
, 15:35
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#49
|
The Following User Says Thank You to fatalsaint For This Useful Post: | ||
|
2010-01-11
, 16:44
|
Posts: 168 |
Thanked: 265 times |
Joined on Oct 2009
@ London, UK
|
#50
|
Happy Holidays, everyone!
Here is my Holiday gift: A method for recording calls from the device!
note: it will require command line tinkering.
I got the idea and most of the information thanks to the blog link which dalonso posted here.
First you will need to get the pulseaudio-utils package either from here , or you can enable the tools repository and runthere is a link to a single-click install file to add the tools repo here .Code:apt-get install pulseaudio-utils
The pulseaudio-utils package provides two apps which I use in the scripts: 'parec' to record raw audio streams, and 'pacat' to play back raw audio streams.
The streams involved are: 'sink.hw0.monitor' for incoming sounds and 'source.hw0' for outgoing sounds when using the phone handset, and 'sink.hw1.monitor' for incoming and 'source.hw0' for outgoing when using a bluetooth headset.
In my home directory I created a few simple scripts for recording
for recording while using the handset, I have a script 'simpleRec.sh':
for recording while using bluetooth, I have a script 'simpleBtRec.sh':Code:NOW=`date +%F-%H-%M-%S` echo $NOW > simpleDateTime parec -d "sink.hw0.monitor" > MyDocs/tmp/$NOW.pulse.in.raw & parec -d "source.hw0" > MyDocs/tmp/$NOW.pulse.out.raw
To play back the most recent recorded call 'simpleLastPlay.sh' :Code:NOW=`date +%F-%H-%M-%S` echo $NOW > simpleDateTime parec -d "sink.hw1.monitor" > MyDocs/tmp/$NOW.pulse.in.raw & parec -d "source.hw1" > MyDocs/tmp/$NOW.pulse.out.raw
To play back an older call using a unique date or time 'simplePlay.sh' :Code:LAST=`cat simpleDateTime` pacat MyDocs/tmp/$LAST.pulse.in.raw & pacat -v MyDocs/tmp/$LAST.pulse.out.raw
for example if you know you recorded a call on Dec 1 at 12:00 am, you could run ' ./simplePlay.sh 12-01-00-00 ' or any part of the date or time that you can remember, as long as it is unique.Code:pacat MyDocs/tmp/*$1*pulse.in.raw & pacat -v MyDocs/tmp/*$1*pulse.out.raw
To stop recording or playback just press ctrl+c.
Another script I made to stop any recording or playback if you can't get back to its original terminal window 'simpleStop.sh' :
Code:killall parec killall pacat
Final note: Please use it only where it is legal to do so, and please do not use it for any nefarious purpose. Enjoy!
The Following 5 Users Say Thank You to zaheerm For This Useful Post: | ||
Here is my Holiday gift: A method for recording calls from the device!
note: it will require command line tinkering.
I got the idea and most of the information thanks to the blog link which dalonso posted here.
First you will need to get the pulseaudio-utils package either from here , or you can enable the tools repository and run
The pulseaudio-utils package provides two apps which I use in the scripts: 'parec' to record raw audio streams, and 'pacat' to play back raw audio streams.
The streams involved are: 'sink.hw0.monitor' for incoming sounds and 'source.hw0' for outgoing sounds when using the phone handset, and 'sink.hw1.monitor' for incoming and 'source.hw0' for outgoing when using a bluetooth headset.
In my home directory I created a few simple scripts for recording
for recording while using the handset, I have a script 'simpleRec.sh':
To stop recording or playback just press ctrl+c.
Another script I made to stop any recording or playback if you can't get back to its original terminal window 'simpleStop.sh' :
Final note: Please use it only where it is legal to do so, and please do not use it for any nefarious purpose. Enjoy!