View Single Post
Posts: 111 | Thanked: 50 times | Joined on May 2015
#15
Originally Posted by ontime View Post
put here sample with this clicking noise



try this in xterm
Code:
amixer -qc0 set PGA 0
and
Code:
alsamixer -c0
When you click Tab, you'll see all capture settings. You can use arrow keys to adjust it.
or
You can use different audio source instead of 'source.hw0':

source.voice (hardware dsp)
source.record

Code:
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


camera application vs gstreamer:
- audio bitrate - 128kbps vs you can choose
- audio rate - 48000Hz vs 44100Hz
- audio source - source.record vs you can choose (ad 2.)

- both has one channel
- the same codec - nokiaaacenc
- the same container - hantromp4mux



Code:
gst-inspect-0.10 nokiaaacenc
(0): RAW - AAC Raw format (it needs container)
(1): ADTS - Audio Data Transport Stream format (can be streams directly into playable aac file)
(2): ADIF - Audio Data Interchange Format



Here are the samples of clicking noise. I have noticed that when sim card is "active" clicking noise has higher frequency; when the phone is in offline mode this frequency is lower. Audio04 is the sample of this first situation, Audio05 for the second one. Additionally, in this second situation I hear probably more distortions to the recorded sound.
Attached Files
File Type: zip audio04.zip (380.8 KB, 84 views)
File Type: zip audio05.zip (370.2 KB, 77 views)
 

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