<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Il blog di Gas &#187; audio</title>
	<atom:link href="http://www.lucagasperini.com/blog/tag/audio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucagasperini.com/blog</link>
	<description>Solo un altro sito WordPress</description>
	<lastBuildDate>Fri, 04 Nov 2011 15:04:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cuffie bluetooth in linux</title>
		<link>http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/</link>
		<comments>http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 19:33:09 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/</guid>
		<description><![CDATA[Assieme al cellulare mi sono arrivate un paio di cuffie bluetooth della motorola, il supporto in linux c&#8217;Ã¨ anche se le cose sono in continuo cambiamento. Requisiti: poter compilare , alsa e bluetooth gia testati e funzionanti , detto questo per gentoo dovrebbe solo servire il cvs , per ubuntu invece build-essential libbluetooth2-dev (3.5 or [...]]]></description>
			<content:encoded><![CDATA[<p>Assieme al cellulare mi sono arrivate un paio di cuffie bluetooth della motorola, il supporto in linux c&#8217;Ã¨ anche se le cose sono in continuo cambiamento.</p>
<p>Requisiti:<br />
poter compilare , alsa e bluetooth gia testati e funzionanti , detto questo per gentoo dovrebbe solo servire il cvs , per ubuntu invece</p>
<ul>
<li>build-essential </li>
<li>libbluetooth2-dev (3.5 or newer)</li>
<li>automake </li>
<li>autoconf </li>
<li>cvs </li>
<li>libtool </li>
<li>libasound2-dev </li>
<li>libdbus-1-dev </li>
<li>libdbus-glib-1-dev </li>
</ul>
<p>Io sono su gentoo e sono riuscito a far andare il tutto con bluez-utils>=3.16, la <a href="http://bluetooth-alsa.sourceforge.net/build.html">guida originale</a> Ã¨ per ubuntu</p>
<p><span id="more-523"></span></p>
<p>Per prima cosa bisogna installare un paio di cose da cvs, in particolare libsbc e plugz da sourceforge.  Note: se viene chiesta la password schiacciate invio senza digitare nulla, i comandi sono da utente , sudo significa da superutente,se non si usa sudo allora passate al root con &#8220;su&#8221; + password, poi &#8220;exit&#8221; per tornare all&#8217;utente.</p>
<p>Ora creiamo un file cosÃ¬ da non far uscire con un errore il cvs<br />
<code>touch ~/.cvspass</code><br />
Ora spostatevi in una cartella comoda in cui l&#8217;utente ha diritto di scrittura ,una qualsiasi &#8230;<br />
Installazione di libsbc:<br />
<code>cvs -d:pserver:anonymous@sbc.cvs.sourceforge.net:/cvsroot/sbc login<br />
cvs -d:pserver:anonymous@sbc.cvs.sourceforge.net:/cvsroot/sbc co sbc<br />
cd sbc<br />
./bootstrap<br />
./configure --prefix=/usr<br />
make<br />
sudo make install<br />
cd ..</code></p>
<p>Installazione di plugz:<br />
<code>cvs -d:pserver:anonymous@bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa login<br />
cvs -d:pserver:anonymous@bluetooth-alsa.cvs.sourceforge.net:/cvsroot/bluetooth-alsa co plugz<br />
cd plugz<br />
./bootstrap<br />
./configure --prefix=/usr --sysconfdir=/etc<br />
make<br />
sudo make install</code></p>
<p>Dato che ho delle cuffie senza microfono userÃ² il driver per alsa a2dp che Ã¨ a senso unico ( dal computer alle cuffie e non viceversa ).</p>
<p>Per prima cosa bisogna far si che che il computer si possa connettere alle cuffie via bluetooth, la password di default delle cuffie in genere Ã¨ 0000, quindi basta lanciare questo comando:<br />
<code>passkey-agent --default 0000</code> e<strong> lasciate aperta questa finestra</strong> fino alla fine.</p>
<p>Ora (da un altro terminale) dobbiamo collegare il computer alle cuffie ( metterli in pair ) . Con le cuffie della motorola Ã¨ abbastanza semplice, sulle cuffie ci sono due grossi bottoni con la &#8220;M&#8221; che a cuffie accesse flashano ogni qualche secondo. Si spengono tenendo premuto finchÃ¨ non si vedono un paio di flashate. Da spente bisogna tenere premuto il bottone, ad un certo punto ci saranno un paio di flash (l&#8217;accensione) e mantenendo premuto il led si illuminerÃ  fisso, quando Ã¨ cosÃ¬ le cuffie sono in &#8220;pair mode&#8221; ed Ã¨ quello che ci serve.</p>
<p><code>hcitool scan</code></p>
<p>il risultato del comando dovrebbe dare un indirizzo MAC del tipo: AA-11-22-33-44-FF</p>
<p><code>cp alsa-plugins/a2dpd/sample.a2dprc ~/.a2dprc<br />
nano ~/.a2dprc<br />
</code></p>
<p>questo Ã¨ un file con delle opzioni di default , bisogna cambiare solo un opzione alla fine<br />
<code>address=AA-11-22-33-44-FF</code> ovviamente il vero indirizzo da mettere Ã¨ il risultato del comando &#8220;hcitool scan&#8221; fatto prima.<br />
<code>nano ~/.asoundrc</code> ed inserite<br />
<code>pcm.a2dpd {<br />
            type a2dpd<br />
      }</code></p>
<p>Ok , ora basta far partire il demone (sempre da utente come sopra) : a2dpd (questo terminale va lasciato aperto se si vuole usare le cuffie)</p>
<p>Per testarlo:<br />
<code>mplayer -ao alsa:device=a2dpd ./testsound.mp3</code></p>
<p>Da fare:</p>
<ul>
<li>far partire il tutto con meno menate</li>
<li>fare uno script per cambiare tutte le uscite audio in a2dpd (mplayer, gstreamer,xine)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-cuffie-bluetooth-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Laptop sound working</title>
		<link>http://www.lucagasperini.com/blog/2007-laptop-sound-working/</link>
		<comments>http://www.lucagasperini.com/blog/2007-laptop-sound-working/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 19:36:03 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-laptop-sound-working/</guid>
		<description><![CDATA[I finally have sound , nice to hear My laptop is a Packard Bell Easynote MX51-B-058 and is shipped with with Realtek ALC660 HD Audio sound chip, lspci gives the following: gas@gas-laptop:~$ sudo lspci 00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2) 00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2) [...]]]></description>
			<content:encoded><![CDATA[<p>I finally have sound , nice to hear <img src='http://www.lucagasperini.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>My laptop is a Packard Bell Easynote MX51-B-058 and is shipped with with Realtek ALC660 HD Audio sound chip, lspci gives the following:</p>
<p><code>gas@gas-laptop:~$ sudo lspci<br />
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)<br />
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)<br />
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)<br />
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)<br />
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)<br />
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)<br />
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)<br />
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)<br />
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)<br />
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)<br />
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)<br />
00:05.0 VGA compatible controller: nVidia Corporation C51 PCI Express Bridge (rev a2)<br />
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)<br />
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)<br />
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)<br />
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)<br />
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)<br />
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)<br />
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)<br />
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)<br />
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)<br />
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)<br />
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration<br />
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map<br />
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller<br />
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/fOpteron] Miscellaneous Control<br />
01:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001c (rev 01)<br />
</code></p>
<p>even if it says &#8220;Audio device:nVidia&#8221; you must use the snd-hda-intel module to make it work and actually ubuntu loads it during startup but sound still doens&#8217;t come out from speakers or headphones That module supports lots of chipset and sometimes they are not recognized properly and you must tell him what kind of chip you are using.<br />
My &#8220;real&#8221; sound chip is the ALC660 from realtek and the solution for me was having a look at:</p>
<p><code>gas@gas-laptop:~$ zless /usr/share/doc/alsa-base/driver/ALSA-Configuration.txt.gz<br />
</code></p>
<p>scroll down until you find<br />
<code> Module snd-hda-intel<br />
  --------------------</p>
<p>    Module for Intel HD Audio (ICH6, ICH6M, ESB2, ICH7, ICH8),<br />
                ATI SB450, SB600, RS600,<br />
                VIA VT8251/VT8237A,<br />
                SIS966, ULI M5461<br />
</code></p>
<p>and down again until you find<br />
<code>ALC861/660<br />
          3stack        3-jack<br />
          3stack-dig    3-jack with SPDIF I/O<br />
          6stack-dig    6-jack with SPDIF I/O<br />
          3stack-660    3-jack (for ALC660)<br />
          uniwill-m31   Uniwill M31 laptop<br />
          auto          auto-config reading BIOS (default)</code></p>
<p>as you can see the default config for those chips is &#8220;auto&#8221; and thats bad&#8230;.for me the right one was 3stack-660.</p>
<p>Last step and we are done:<br />
<code>gas@gas-laptop:~$ sudo nano /etc/modprobe.d/alsa-base<br />
</code></p>
<p>and add as the last line the following:<br />
<code>options snd-hda-intel model=3stack-660</code></p>
<p>now, just because we mostly all come from windows,reboot.</p>
<p>Have fun hearing</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-laptop-sound-working/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Sound of RAM</title>
		<link>http://www.lucagasperini.com/blog/2007-the-sound-of-ram/</link>
		<comments>http://www.lucagasperini.com/blog/2007-the-sound-of-ram/#comments</comments>
		<pubDate>Sun, 01 Apr 2007 14:13:04 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-the-sound-of-ram/</guid>
		<description><![CDATA[I just read a crazy article and I wanted to try it. Here&#8217;s how you can enconde in ogg the sound of your machine&#8217;s RAM. To listen it: sudo cat /dev/mem >> /dev/audio To record it: sudo cat /dev/mem &#124; oggenc -rq 1 -o mem.ogg - Here&#8217;s mine The Sound of RAM I used ogg2mp3 [...]]]></description>
			<content:encoded><![CDATA[<p>I just read a crazy article and I wanted to try it. Here&#8217;s how you can enconde in ogg the sound of your machine&#8217;s RAM.</p>
<p>To listen it:</p>
<p><code>sudo cat /dev/mem >> /dev/audio</code></p>
<p>To record it:</p>
<p><code>sudo cat /dev/mem | oggenc -rq 1 -o mem.ogg -</code></p>
<p>Here&#8217;s mine</p>
<p><a href="http://www.lucagasperini.com/blog/wp-content/uploads/2007/04/mem1.mp3" title="The Sound of RAM">The Sound of RAM</a></p>
<p>I used ogg2mp3 in portage for the transcoding.</p>
<p>Original aricle: <a href="http://mogrify.homelinux.org/2006/10/26/33-seconds-of-ram/">mogrify Â» Blog Archive Â» 33 seconds of RAM</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-the-sound-of-ram/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.lucagasperini.com/blog/wp-content/uploads/2007/04/mem1.mp3" length="134408" type="audio/mpeg" />
		</item>
		<item>
		<title>Rhythmbox and ekiga</title>
		<link>http://www.lucagasperini.com/blog/2007-rhythmbox-and-ekiga/</link>
		<comments>http://www.lucagasperini.com/blog/2007-rhythmbox-and-ekiga/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 17:37:00 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[musica]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-rhythmbox-and-ekiga/</guid>
		<description><![CDATA[Today after syncing I found out that Rhythmbox 0.9.8 (codename &#8220;Type Slowly&#8221; it hangs!!!) and Ekiga 2.0.5 are now in portage. I use rhythmbox a lot and hopefully I&#8217;ll enjoy one of the improvementes like the album cover shown in the trayicon tooltip and the ability to transcode songs before sending them to the ipod [...]]]></description>
			<content:encoded><![CDATA[<p>Today after syncing I found out that <a href="http://www.gnome.org/projects/rhythmbox/" title="Rhythmbox" target="_blank">Rhythmbox</a> 0.9.8 (codename &#8220;Type Slowly&#8221; <img src='http://www.lucagasperini.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   it hangs!!!) and <a href="http://www.gnomemeeting.org" title="Ekiga" target="_blank">Ekiga</a> 2.0.5 are now in portage. I use rhythmbox a lot and hopefully I&#8217;ll enjoy one of the improvementes like the album cover shown in the trayicon tooltip <img src='http://www.lucagasperini.com/blog/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' />  and the ability to transcode songs before sending them to the ipod .</p>
<pre>Overview of changes in Rhythmbox 0.9.8 "Type slowly"

=====================================================* move to SVN and move round lots of files. yay!

* use "friendly" date-time in track list (William Jon McCann)

* add visualisation plugin (JOnathan Matthew)

* support more lastfm:// URIs (Jonathan Matthew)

* split code out into a library common to plugins and the binary (Jonathan Matthew)

* display cover art in the tray icon tooltop and song-change notification (Ed Catmur)

* Magnatune improvements (Adam Zimmerman)

* core art improvements, support art for podcasts et al (Ed Catmur, Martin Szulecki)

* Python plugin improvements (James Livingston, Jonathan Matthew)

* add support for the Jamendo online catalogue (Guillaume Desmottes)

* support new Gnome "media key" mechanism (James Livingston, Jonathan Matthew)

* support track transfer for "generic" audio players, and improve iPod

  track transfer support, including transcoding (James Livingston)

* many build/run issues on Solaris (Irene Huang)

* Nokia N800 support (William Jon McCann)

* Many core improvements, for future work

* the usual pile of minor features and bug fixes</pre>
<pre></pre>
<p>As far as I can tell from the changelog there have been a few fixes for ekiga but no big improvements.</p>
<p>Thinking about ekiga i realize that is very easy to get lost in very simple things, especially for gnome developers. Every tray icon of any Voip/Chatting software on this planet change when you have a missed called , so you can actually realize that someone was looking for you but not with ekiga. You must open it and once you have done it there are no symbols that warns you about the missed called at first glance but there&#8217;s a single text message &#8230;. it doesn&#8217;t seems so smart&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-rhythmbox-and-ekiga/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Il Music Center</title>
		<link>http://www.lucagasperini.com/blog/2007-il-music-center/</link>
		<comments>http://www.lucagasperini.com/blog/2007-il-music-center/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 11:05:01 +0000</pubDate>
		<dc:creator>gas</dc:creator>
				<category><![CDATA[Generale]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[trento]]></category>

		<guid isPermaLink="false">http://www.lucagasperini.com/blog/2007-il-music-center/</guid>
		<description><![CDATA[Il Music Center Ã¨ diventato Experts e il reparto hifi per auto viene abbandonato , il materiale viene svenduto e vengono fuori cose un po strane&#8230;.. Kit 2 vie Hertz hsk130 , venduto in italia a 180/200 euri ma si trova anche a meno, 280Euri con un fantomatico sconto del 50% al music center. Autoradio [...]]]></description>
			<content:encoded><![CDATA[<p>Il Music Center Ã¨ diventato Experts e il reparto hifi per auto viene abbandonato , il materiale viene svenduto e vengono fuori cose un po strane&#8230;..</p>
<p>Kit 2 vie Hertz hsk130 , venduto in italia a 180/200 euri ma si trova anche a meno, 280Euri con un fantomatico sconto del 50% al music center.</p>
<p>Autoradio Blaupunkt Woodstock listino 500Euri, a 100E con lo sconto del 50% 50 euri,un decimo del prezzo originale.Peccato che sugli Hertz il tipo non mi ha detto niente, sulla Woodstock:&#8221;Mi scusi ma c&#8217;Ã¨ il prezzo sbagliato&#8221;.</p>
<p>Ma andate a cagare&#8230;..</p>
<p>Alla fine mi son comprato un kit 2 vie della ciare , il woofer Ã¨ il modello cw131 quello col magnetone da 1 tonnellata dietro,tutto dal mitico &#8220;Elettronica Trentini&#8221; per 130Euri.Ovviamento non ci stava nella predisposizione della clio ed ho dovuto sfondare il supportino in plasica ma ora Ã¨ tutto un altro pianeta.Appena mi ripiglio dagli esami smonto il cruscotto ed installo i tweeter.</p>
<p>Questo Ã¨ <a href="http://www.mariohifi.it/cd_test.htm">il link al Cdtest</a> per controllare a quali frequenze l&#8217;impianto Ã¨ debole (aka le casse sbindellano)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lucagasperini.com/blog/2007-il-music-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

