Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

User:Pau pajuelo

1,208 bytes removed, 20:02, 8 August 2012
m
no edit summary
== How to use CAN bus (under construction) ==
 
== Get sound in (audio in) ==
 
'''Basic '''
 
External Audio input devices, such as a powered microphone or the audio output of a PC or MP3 player, can be connected to the via a 3.5mm jack (Audio IN).
 
You can record audio in with the application Arecord, for example:
 
arecord -t wav -c 2 -r 44100 -f S16_LE -v audio-in.wav
 
Following output is expected on console:
 
Recording WAVE 'audio-in.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'TWL4030' device 0 subdevice 0
Its setup is:
stream  : CAPTURE
access  : RW_INTERLEAVED
format  : S16_LE
subformat  : STD
channels  : 2
rate  : 44100
exact rate  : 44100 (44100/1)
msbits  : 16
buffer_size  : 32768
period_size  : 2048
period_time  : 46439
tick_time  : 7812
tstamp_mode  : NONE
period_step  : 1
sleep_min  : 0
avail_min  : 2048
xfer_align  : 2048
start_threshold  : 1
stop_threshold  : 32768
silence_threshold: 0
silence_size : 0
boundary  : 1073741824
 
When ever you think you want to stop recording just press CTRL+C
 
<br>
{{#lst:How to use CAN bus|IGEPv2 EXPANSION}}
4,199
edits