<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Sound-alsa</id>
	<title>Sound-alsa - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Sound-alsa"/>
	<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Sound-alsa&amp;action=history"/>
	<updated>2026-05-17T04:57:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.marcelpost.com/wiki/index.php?title=Sound-alsa&amp;diff=1559&amp;oldid=prev</id>
		<title>Admin at 00:27, 29 July 2014</title>
		<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Sound-alsa&amp;diff=1559&amp;oldid=prev"/>
		<updated>2014-07-29T00:27:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;ALSA (Advanced Linux Sound Architecture)&lt;br /&gt;
&lt;br /&gt;
My main focus when I write these pages is on getting sound to work properly with a Raspberry Pi. The techniques in these notes may work on other systems but I have created this page to keep track of RPi related sound information.&lt;br /&gt;
&lt;br /&gt;
== default RPi (Raspbian) sound settings ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== disabling the on-board sound card ===&lt;br /&gt;
&lt;br /&gt;
/etc/modules&lt;br /&gt;
&lt;br /&gt;
/etc/modprobe.d/modules&lt;br /&gt;
&lt;br /&gt;
(to be edited..)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== measuring sound volume input level ==&lt;br /&gt;
&lt;br /&gt;
* display the current input level of sound presented to the recording device&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
arecord -Dhw:0 -c2 -d 0 -fS16_LE /dev/null -vvv&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It just starts a recording but sends the recording to /dev/null rather than saving it, and then around every 10ms it spits back a new line which looks like this:&lt;br /&gt;
&lt;br /&gt;
Max peak (2000 samples): 0x000028ca ####### 31%&lt;br /&gt;
&lt;br /&gt;
Max peak (2000 samples): 0x00002872 ####### 31%&lt;br /&gt;
&lt;br /&gt;
Max peak (2000 samples): 0x000023de ###### 28%&lt;br /&gt;
&lt;br /&gt;
Max peak (2000 samples): 0x00002bf3 ####### 34%&lt;br /&gt;
&lt;br /&gt;
Max peak (2000 samples): 0x00002cb1 ####### 34%&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* display the sound system&amp;#039;s gain setting of the input channel&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
123&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nothing here yet&lt;br /&gt;
&lt;br /&gt;
== alsa config ==&lt;br /&gt;
&lt;br /&gt;
/etc/asound.conf or ~/.asoundrc &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 pcm.!default {&lt;br /&gt;
         type asym&lt;br /&gt;
         playback.pcm {&lt;br /&gt;
                 type plug&lt;br /&gt;
                 slave.pcm &amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
         }&lt;br /&gt;
         capture.pcm {&lt;br /&gt;
                 type plug&lt;br /&gt;
                 slave.pcm &amp;quot;hw:1,0&amp;quot;&lt;br /&gt;
         } &lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This little ALSA configuration setting uses the default sound card as playback device (hw:0,0) and sets hw:1,0 (that suppose to be your USB-mic) to become the default capture device.&lt;br /&gt;
&lt;br /&gt;
http://wiki.audacityteam.org/wiki/USB_mic_on_Linux&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>