Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linuxaudio [2015/05/20 07:19]
slackermedia [3. Map Sound Devices to their Controls]
linuxaudio [2021/06/03 19:48] (current)
Line 1: Line 1:
-[[{arrowp.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​left:​0;​}user|]] 
  
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​position:​absolute;​top:​0;​margin-left:​2.5em;​}pkg|]] 
  
  
  
 ====== Understanding Linux Audio ====== ====== Understanding Linux Audio ======
 +
 +<WRAP info>
 +**TL;DR** \\
 +  -Identify Physical Devices
 +  -Identify Sound Cards
 +  -Map Sound Devices to their Controls
 +  -Set Up Kmix
 +</​WRAP>​
  
 Traditional Linux (such as Slackware, and as opposed to something more progressive like [[http://​redhat.com|Red Hat]] and [[http://​getfedora.org|Fedora]]) deals with audio in its own unique way. This can be confusing to new users, or to experienced users who have never thought about it. It confuses people because almost no where in the audio schema is there a one-to-one mapping; you must think of audio processing in the computer as a series of rivers or streams, flowing from one or two sources internally, branching off one other for adjustment, and then re-joining at the end to deliver sound in the physical world. Traditional Linux (such as Slackware, and as opposed to something more progressive like [[http://​redhat.com|Red Hat]] and [[http://​getfedora.org|Fedora]]) deals with audio in its own unique way. This can be confusing to new users, or to experienced users who have never thought about it. It confuses people because almost no where in the audio schema is there a one-to-one mapping; you must think of audio processing in the computer as a series of rivers or streams, flowing from one or two sources internally, branching off one other for adjustment, and then re-joining at the end to deliver sound in the physical world.
Line 108: Line 114:
 type plug type plug
 slave.pcm "​dmix"​ slave.pcm "​dmix"​
 +}
 </​code>​ </​code>​
  
Line 130: Line 137:
  
 Launch ''​System Settings''​ from the ''​K-Menu''​ and navigate to the ''​Multimedia''​ panel. In the ''​Multimedia''​ panel, promote the card that you want to use as default to the top of the list on the right, and click the ''​Test''​ button at the bottom of the panel. The ''​Test''​ button plays a sound that should be audible when you raise the volume of the appropriate device. Launch ''​System Settings''​ from the ''​K-Menu''​ and navigate to the ''​Multimedia''​ panel. In the ''​Multimedia''​ panel, promote the card that you want to use as default to the top of the list on the right, and click the ''​Test''​ button at the bottom of the panel. The ''​Test''​ button plays a sound that should be audible when you raise the volume of the appropriate device.
- 
-If you are not sure what device to promote to the top, check the output of ''​aplay -l''​ again. 
  
 {{ multimediaav.png }} {{ multimediaav.png }}
 +
 +
 +<WRAP important>​
 +If you are not sure what device to promote to the top, check the output of ''​aplay -l''​ again. In this example, notice that the default analog ''​card0''​ listed by ''​aplay -l''​ is  ''​ALC887-VD Analog'',​ and the port promoted in the ''​Multimedia''​ panel is the same.
 +</​WRAP>​
  
 Using the ''​left''​ and ''​right''​ arrow keys to navigate to each control, the ''​up''​ and ''​down''​ arrow keys to raise or lower the volume, and the ''​m''​ key to mute or unmute the device, see which volume slider effects which device. ​ Using the ''​left''​ and ''​right''​ arrow keys to navigate to each control, the ''​up''​ and ''​down''​ arrow keys to raise or lower the volume, and the ''​m''​ key to mute or unmute the device, see which volume slider effects which device. ​
Line 182: Line 192:
 </​WRAP>​ </​WRAP>​
  
 +==== Hijack ====
 +
 +If you want to record everything you hear from your computer speakers from a system-wide perspective,​ refer to [[parecord|parecord]]
  
 ===== Outboard Gear ===== ===== Outboard Gear =====
Line 191: Line 204:
  
  
-[[{arrown.png|border:​0;​background:​none;​width:​0;​display:​inline-block;​float:​right;​}pkg|]][[{arrowp.png|border:​0;​background:​none;​width:​0;​float:​right;​}user|]]+<WRAP centeralign>​ 
 +<wrap fa>[[user|R]]</​wrap>​ <wrap fa>[[start|S]]</​wrap>​ <wrap fa>​[[audiotrouble|Q]]</​wrap>​ 
 +</​WRAP>​