<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>BBB - Audio notes</title><link>/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---audio-notes</link><description>EDIT: See here for details on how to build a DAC: BBB - Building a DAC The BBB, unlike the RPi, does not have an in-built analog audio output*. However, there is a USB port for a soundcard, and a HDMI interface. The nice thing about the l...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: BBB - Audio notes</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---audio-notes</link><pubDate>Tue, 03 Dec 2013 00:40:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:94b0ad68-90ee-4f4b-8275-d6110db5e8ce</guid><dc:creator>morgaine</dc:creator><slash:comments>0</slash:comments><description>&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;shabaz wrote:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried to play the same audio file but directing to HDMI:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ffmpeg -i test2.mp3&amp;nbsp; -f alsa &amp;quot;default:CARD=Black&amp;quot; -re -vol 20&lt;br /&gt;&lt;br /&gt;It did work, but the current software build has known HDMI audio issues and it was noticeable - it didn&amp;#39;t sound great always. Not noise, but some other digital effect.&lt;/p&gt;


&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve just tried this with BBB running Debian on the 3.8.13-bone30 kernel, with the same bad result as yourself --- there&amp;#39;s a pretty nasty distortion effect of some kind received on HDMI audio.&amp;nbsp;&amp;nbsp; It&amp;#39;s not overload clipping, as the output level is fairly low at all -vol settings.&amp;nbsp; (In case it may be relevant, there was only a VT console displaying on HDMI, no X11.)&amp;nbsp; Although the audio is still identifiable as music, the quality is not usable in this state.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I haven&amp;#39;t yet eliminated the possibility of ground continuity problems between BBB and the HDMI receiver, which I have seen mentioned as a cause of audio problems for BBB.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In contrast, USB audio works perfectly for me on the BBB into one of these cheap unbranded &lt;a class="jive-link-external-small" href="http://www.maplin.co.uk/p/usb-external-sound-box-a56ak" rel="nofollow ugc noopener" target="_blank"&gt;&lt;strong&gt;&lt;em&gt;USB Sound Box&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt;es, which identifies as &amp;quot;Microdia A56AK&amp;quot;.&amp;nbsp; My magic incantation for ffmpeg into this device is:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;blockquote class="jive-quote"&gt;
&lt;p&gt;ffmpeg&amp;nbsp; -i INPUTFILE.mp3 -f alsa &amp;quot;default:CARD=U0xc450x1158&amp;quot;&amp;nbsp; -re -vol 128&lt;/p&gt;


&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;d be interested to hear if anyone manages to get undistorted audio from BBB over HDMI.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Morgaine.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15963&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - Audio notes</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---audio-notes</link><pubDate>Thu, 18 Jul 2013 14:43:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:94b0ad68-90ee-4f4b-8275-d6110db5e8ce</guid><dc:creator>cstiegman123</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello Shabaz-&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you so much for posting your article on USB Audio with respect to Beaglebone Black.&amp;nbsp; I was wondering if I could ask a few additional questions regarding this topic. Looking to use Beaglebone Black for audio purposes.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;On a high level, here is what I am looking for:&lt;/p&gt;&lt;p&gt;- USB audio class version supported by BB Black -&amp;gt; Audio class 1.0 or Audio class 2.0 or both?&lt;/p&gt;&lt;p&gt;- USB audio streams supported -&amp;gt; audio OUT only (playback) or audio IN only (recording) or both IN &amp;amp; OUT (simultaneous recording and playback)&lt;/p&gt;&lt;p&gt;- USB audio clocking system supported -&amp;gt; Synchronous or Asynchronous or Adaptive or some combination of these 3 types&lt;/p&gt;&lt;p&gt;- Digital audio bit resolution supported -&amp;gt; 16 bit only, 24 bit only or both 16 &amp;amp; 24 bit support&lt;/p&gt;&lt;p&gt;- USB audio sampling rate support -&amp;gt; 32k/44..1k/48k/88.2k/96k etc.&lt;/p&gt;&lt;p&gt;- USB audio configuration applications available on the BB Black platform -&amp;gt; Something similar to &lt;a class="jive-link-external-small" href="http://en.wikipedia.org/wiki/Audio_MIDI_Setup" rel="nofollow ugc noopener" target="_blank"&gt;Audio MIDI Setup&lt;/a&gt; on Mac or Windows Sound utility.&lt;/p&gt;&lt;p&gt;- Audio and MIDI applications available on the BB Black platform etc..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you in advance for whatever light you can shed on these inquiries.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Best Regards,&lt;/p&gt;&lt;p&gt;Craig&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15963&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: BBB - Audio notes</title><link>https://community.element14.com/products/devtools/single-board-computers/next-genbeaglebone/b/blog/posts/bbb---audio-notes</link><pubDate>Thu, 20 Jun 2013 07:15:56 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:94b0ad68-90ee-4f4b-8275-d6110db5e8ce</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;All your articles are very helpful, and they provide great insights for people who are looking for a starting point. Thank you for putting so much time and effort in them. With the help of this article (I simply used the pins you mentioned), I managed to get (very low quality, due to long wires, passive I / V output, and cheap perf-board connections) sound (mp3 play with ffmpeg) from my BBB using a 74HCT74 (to divide the bit-clock by 4) and a TDA1543 (16-bit I2S DAC @ 9MHz). I&amp;#39;m going to print a suitable PCB and try again with opamps at the outputs soon, and hopefully have cheap and usefull audio output for my portable SDR project. Thanks again &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-94b0ad68-90ee-4f4b-8275-d6110db5e8ce/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15963&amp;AppID=80&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>