Difference between revisions of "RSB-3730 Audio"

From ESS-WIKI
Jump to: navigation, search
(Created page with " '''1. Check audio codec.''' <pre># cat /proc/asound/cards 0 [sgtl5000 ]: sgtl5000 - sgtl5000 sgtl5000</pre> '''2. Audio codec (sgtl5000):''' a. Set MIC and headphone:...")
 
 
Line 8: Line 8:
  
 
a. Set MIC and headphone:
 
a. Set MIC and headphone:
<pre>'''# amixer set Mic 32% Simple mixer'''
+
<pre># amixer set Mic 32% Simple mixer
 
control 'Mic',0
 
control 'Mic',0
 
Capabilities: volume volume-joined Playback
 
Capabilities: volume volume-joined Playback
Line 14: Line 14:
 
Capture channels: Mono Limits: 0 - 3
 
Capture channels: Mono Limits: 0 - 3
 
Mono: 1 [33%] [20.00dB]
 
Mono: 1 [33%] [20.00dB]
'''# amixer set Lineout 100% Simple mixer'''
+
# amixer set Lineout 100% Simple mixer
 
control 'Lineout',0
 
control 'Lineout',0
 
Capabilities: pvolume
 
Capabilities: pvolume
Line 22: Line 22:
 
Front Left: Playback 31 [100%] [0.00dB]
 
Front Left: Playback 31 [100%] [0.00dB]
 
Front Right: Playback 31 [100%] [0.00dB]
 
Front Right: Playback 31 [100%] [0.00dB]
'''# amixer set PCM 100%'''
+
# amixer set PCM 100%
 
Simple mixer control 'PCM',0
 
Simple mixer control 'PCM',0
 
Capabilities: pvolume
 
Capabilities: pvolume

Latest revision as of 10:22, 9 November 2023

1. Check audio codec.

# cat /proc/asound/cards
0 [sgtl5000 ]: sgtl5000 - sgtl5000
sgtl5000

2. Audio codec (sgtl5000):

a. Set MIC and headphone:

# amixer set Mic 32% Simple mixer
control 'Mic',0
Capabilities: volume volume-joined Playback
channels: Mono
Capture channels: Mono Limits: 0 - 3
Mono: 1 [33%] [20.00dB]
# amixer set Lineout 100% Simple mixer
control 'Lineout',0
Capabilities: pvolume
Playback channels: Front Left - Front Right Limits:
Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB]
Front Right: Playback 31 [100%] [0.00dB]
# amixer set PCM 100%
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right Limits:
Playback 0 - 192
Mono:
Front Left: Playback 192 [100%]
Front Right: Playback 192 [100%]

b. Record and playback:

# arecord -t wav -c 1 -r 44100 -d 5 /tmp/mic.wav
# aplay /tmp/mic.wav