View Single Post
Posts: 111 | Thanked: 50 times | Joined on May 2015
#5
Originally Posted by ontime View Post
- if you want rec from headset mic, in xterm:
Code:
gst-launch-0.10 -e pulsesrc device=source.hw0 ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a
amixer -qc0 set "Input Select" ADC
this set gain for it (0-127), here is 60
Code:
amixer -qc0 set PGA 60
- if you want rec from builded in mic, in xterm:
Code:
amixer -qc0 set "Input Select" "Digital Mic"
gst-launch-0.10 -e pulsesrc device=source.record ! audio/x-raw-float,channels=1 ! audioconvert ! nokiaaacenc bitrate=64000 output-format=0 ! hantromp4mux ! audio/x-m4a ! filesink location=/home/user/MyDocs/audio.m4a
make sure that capture is on:
Code:
amixer -q cset name='Capture Switch' on
amixer -qc0 cset name='PGA Capture Switch' on


Wow! Just great ! I see that you are a real professional. Thank you for this complete answer. I will try this method as soon as possible.

I have only one more question: is there any chance to record stereo sound using, for example, usb microphone. Or maybe there is a way to use standard external stereo mic connected to minijack in N900?
 

The Following 2 Users Say Thank You to NotMicro For This Useful Post: