<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Stephen C Phillips (Posts about Audio)</title><link>http://blog.scphillips.com/</link><description></description><atom:link type="application/rss+xml" href="http://blog.scphillips.com/categories/audio.xml" rel="self"></atom:link><language>en</language><copyright>Contents © 2018 &lt;a href="mailto:steve@scphillips.com"&gt;Stephen C Phillips&lt;/a&gt; </copyright><lastBuildDate>Mon, 31 Dec 2018 11:41:08 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>BBC Radio on the Raspberry Pi controlled with a tiny web server</title><link>http://blog.scphillips.com/posts/2014/12/bbc-radio-on-the-raspberry-pi-controlled-with-a-tiny-web-server/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="bbc-radio-on-the-raspberry-pi-controlled-with-a-tiny-web-server"&gt;
&lt;h2&gt;BBC Radio on the Raspberry Pi controlled with a tiny web server&lt;/h2&gt;
&lt;div class="section" id="objective"&gt;
&lt;h3&gt;Objective&lt;/h3&gt;
&lt;p&gt;I wanted to be able to tune in to BBC radio stations on my Raspberry Pi
and control it through my smart phone with an easy graphical interface.&lt;/p&gt;
&lt;p&gt;In fulfilling this objective I got a bit carried away and wrote a small
web server from scratch (as you do...) which was good fun, so in the
spirit of helping people hack their Raspberry Pis I thought I'd explain
how it all works. What follows is mostly an explanation of how web
servers and web browsers work: it's actually quite simple and
interesting to mess around with. The actual software is useful and works
well too!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2014/12/bbc-radio-on-the-raspberry-pi-controlled-with-a-tiny-web-server/"&gt;Read more…&lt;/a&gt; (16 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2014/12/bbc-radio-on-the-raspberry-pi-controlled-with-a-tiny-web-server/</guid><pubDate>Tue, 30 Dec 2014 14:32:48 GMT</pubDate></item><item><title>BBC Radio on the Raspberry Pi (v2)</title><link>http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi-v2/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="bbc-radio-on-the-raspberry-pi-v2"&gt;
&lt;h2&gt;BBC Radio on the Raspberry Pi (v2)&lt;/h2&gt;
&lt;p&gt;This is an update to &lt;a class="reference external" href="http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi/"&gt;my recent post on this
topic&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This page shows how to create a simple &lt;tt class="docutils literal"&gt;radio&lt;/tt&gt; command to play and stop
different BBC radio stations on a Raspberry Pi. Once set up, you can
just type e.g. &lt;tt class="docutils literal"&gt;radio BBC4&lt;/tt&gt; to get your favourite station playing. This
is useful for various reasons, for instance if you have a room with just
an amplifier and speakers in then, with a Raspberry Pi, you can listen
to the radio (and &lt;a class="reference external" href="http://blog.scphillips.com/posts/2014/05/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3/"&gt;with other
software&lt;/a&gt;
your music collection). You can also listen to BBC 6 Music which you
cannot get on FM.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi-v2/"&gt;Read more…&lt;/a&gt; (9 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi-v2/</guid><pubDate>Sun, 18 May 2014 19:33:47 GMT</pubDate></item><item><title>BBC Radio on the Raspberry  Pi</title><link>http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="bbc-radio-on-the-raspberry-pi"&gt;
&lt;h2&gt;BBC Radio on the Raspberry Pi&lt;/h2&gt;
&lt;p&gt;This page shows how to create a simple &lt;tt class="docutils literal"&gt;radio&lt;/tt&gt; command to play and stop
different BBC radio stations on a Raspberry Pi. Once set up, you can
just type &lt;tt class="docutils literal"&gt;radio BBC4&lt;/tt&gt; to get your favourite station playing. This is
useful for various reasons, for instance if you have a room with just an
amplifier and speakers in then, with a Raspberry Pi, you can listen to
the radio (and &lt;a class="reference external" href="http://blog.scphillips.com/posts/2014/05/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3/"&gt;with other
software&lt;/a&gt;
your music collection). You can also listen to BBC 6 Music which you
cannot get on FM.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2014/05/bbc-radio-on-the-raspberry-pi/</guid><pubDate>Sun, 11 May 2014 17:09:30 GMT</pubDate></item><item><title>Playing music on a Raspberry Pi using UPnP and DLNA (v3)</title><link>http://blog.scphillips.com/posts/2014/05/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3"&gt;
&lt;h2&gt;Playing music on a Raspberry Pi using UPnP and DLNA (v3)&lt;/h2&gt;
&lt;div class="section" id="what-we-are-aiming-for"&gt;
&lt;h3&gt;What we are aiming for&lt;/h3&gt;
&lt;p&gt;A music system with a Raspberry Pi plugged in to an amplifier playing
music that you choose with your mobile phone. The music can come from
MP3s on your phone, from files on your server, files "in the cloud" or
from internet radio stations. If there’s more than one Android phone in
your household you can have them all synchronised, showing the same
playlist and controlling the same music. If you have multiple Raspberry
Pis you can put one in each room and choose which one to play the music
with. This is all achieved with free software and open standards. I’ve
just written some instructions to show how to do it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2014/05/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3/"&gt;Read more…&lt;/a&gt; (4 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2014/05/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-v3/</guid><pubDate>Sun, 11 May 2014 14:05:00 GMT</pubDate></item><item><title>Morse Code Transcriber</title><link>http://blog.scphillips.com/posts/2013/12/morse-code-transcriber/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="morse-code-transcriber"&gt;
&lt;h2&gt;Morse Code Transcriber&lt;/h2&gt;
&lt;p&gt;I have been working for a while on a tool to "listen to" and &lt;a class="reference external" href="http://morsecode.scphillips.com/transcriber"&gt;transcribe
Morse code&lt;/a&gt;. I've been
wanting to do it for ages and considered a variety of ways, but with
more browsers supporting the Web Audio API the time seemed right to give
it a go.&lt;/p&gt;
&lt;p&gt;Ultimately, the tool will be integrated into my &lt;a class="reference external" href="http://morsecode.scphillips.com/trainer"&gt;Morse code
trainer&lt;/a&gt; to listen to
students practising the segments of Morse code in that tool and let them
know if they are doing it well enough. For now though, the &lt;a class="reference external" href="http://morsecode.scphillips.com/transcriber"&gt;Morse code
transcriber&lt;/a&gt; is just an
alpha-release stand-alone tool which only works properly in Chrome (I
should be able to make it work in Firefox as well).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2013/12/morse-code-transcriber/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Javascript</category><category>Morse</category><guid>http://blog.scphillips.com/posts/2013/12/morse-code-transcriber/</guid><pubDate>Tue, 03 Dec 2013 12:43:27 GMT</pubDate></item><item><title>Playing music on a Raspberry Pi using UPnP and DLNA (revisited)</title><link>http://blog.scphillips.com/posts/2013/07/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-revisited/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="playing-music-on-a-raspberry-pi-using-upnp-and-dlna-revisited"&gt;
&lt;h2&gt;Playing music on a Raspberry Pi using UPnP and DLNA (revisited)&lt;/h2&gt;
&lt;div class="section" id="what-we-are-aiming-for"&gt;
&lt;h3&gt;What we are aiming for&lt;/h3&gt;
&lt;p&gt;A music system with a Raspberry Pi plugged in to an amplifier playing
music that you choose with your mobile phone. The music can come from
MP3s on your phone, from files on your server or from internet radio
stations. If there's more than one Android phone in your household you
can have them all synchronised, showing the same playlist and
controlling the same music. If you have multiple Raspberry Pis you can
put one in each room and choose which one to play the music with. This
is all achieved with free software and open standards. I've just written
some instructions to show how to do it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2013/07/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-revisited/"&gt;Read more…&lt;/a&gt; (17 min remaining to read)&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2013/07/playing-music-on-a-raspberry-pi-using-upnp-and-dlna-revisited/</guid><pubDate>Sun, 21 Jul 2013 10:06:48 GMT</pubDate></item><item><title>Sound configuration on Raspberry Pi with ALSA</title><link>http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="sound-configuration-on-raspberry-pi-with-alsa"&gt;
&lt;h2&gt;Sound configuration on Raspberry Pi with ALSA&lt;/h2&gt;
&lt;p&gt;While &lt;a class="reference external" href="http://blog.scphillips.com/posts/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/"&gt;setting up a Raspberry Pi to play streamed music using
UPnP&lt;/a&gt;,
I have had quite a bit of trouble understanding how to configure the
sound on my Raspberry Pi. This is partly because I am running it in
headless mode (no graphical desktop) and partly because &lt;a class="reference external" href="http://tuxradar.com/content/how-it-works-linux-audio-explained"&gt;sound on Linux
is fiendishly
complicated&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Anyway, I am making progress in understanding what's going on but I am
no expert. Here are my findings on how to control the ALSA system from
the command line. All I am focussed on here is getting control of the
sound output by the 3.5mm stereo socket. If you want to control the
output over the HDMI socket or an external USB sound card then you'll
need to do some of your own investigation.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/"&gt;Read more…&lt;/a&gt; (6 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/</guid><pubDate>Sat, 19 Jan 2013 14:53:50 GMT</pubDate></item><item><title>Using a Raspberry Pi with Android phones for media streaming with UPnP / DLNA</title><link>http://blog.scphillips.com/posts/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="using-a-raspberry-pi-with-android-phones-for-media-streaming-with-upnp-dlna"&gt;
&lt;h2&gt;Using a Raspberry Pi with Android phones for media streaming with UPnP / DLNA&lt;/h2&gt;
&lt;p&gt;This summarises and completes
&lt;a class="reference external" href="http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/"&gt;my&lt;/a&gt;
&lt;a class="reference external" href="http://blog.scphillips.com/posts/2013/01/getting-gstreamer-to-work-on-a-raspberry-pi/"&gt;previous&lt;/a&gt;
&lt;a class="reference external" href="http://blog.scphillips.com/posts/2013/01/making-gmediarender-start-on-boot/"&gt;posts&lt;/a&gt;
on configuring a Raspberry Pi to play music streamed from another
computer in the house, using Android phones as remote controls.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/"&gt;Read more…&lt;/a&gt; (12 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2013/01/using-a-raspberry-pi-with-android-phones-for-media-streaming/</guid><pubDate>Fri, 04 Jan 2013 23:03:57 GMT</pubDate></item><item><title>Getting gstreamer to work on a Raspberry Pi</title><link>http://blog.scphillips.com/posts/2013/01/getting-gstreamer-to-work-on-a-raspberry-pi/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="getting-gstreamer-to-work-on-a-raspberry-pi"&gt;
&lt;h2&gt;Getting gstreamer to work on a Raspberry Pi&lt;/h2&gt;
&lt;p&gt;Having now got &lt;a class="reference external" href="http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/"&gt;gmrender to compile and run on the Raspberry Pi and use
gstreamer as a
backend&lt;/a&gt;
I need to fix the audio quality issues. A bit more googling revealed &lt;a class="reference external" href="http://chrisbaume.wordpress.com/2012/06/24/raspberry-pi-upnp-media-player/"&gt;a
post from someone doing much the same as
me&lt;/a&gt;.
One of Chris Baume's commenters also had problems with the audio
quality and suggested that directing the audio via PulseAudio fixed
it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2013/01/getting-gstreamer-to-work-on-a-raspberry-pi/"&gt;Read more…&lt;/a&gt; (1 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2013/01/getting-gstreamer-to-work-on-a-raspberry-pi/</guid><pubDate>Wed, 02 Jan 2013 18:11:45 GMT</pubDate></item><item><title>A UPnP renderer for the Raspberry Pi</title><link>http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/</link><dc:creator>Stephen C Phillips</dc:creator><description>&lt;div class="section" id="a-upnp-renderer-for-the-raspberry-pi"&gt;
&lt;h2&gt;A UPnP renderer for the Raspberry Pi&lt;/h2&gt;
&lt;p&gt;I want to use a Raspberry Pi to play music through the micro Hi-Fi
system in my kitchen/dining room. Up to now I have had a San Francisco
Android phone velcroed to the kitchen wall running the Subsonic client
and accessing the FLAC files on my media server via the excellent
Subsonic server software (which transcodes them on the fly to MP3). This
has been a good solution for a couple of years now but one problem is
that the headphone output of the San Francisco is not very powerful so
we have to turn the (small) amp up to max to get a decent volume and
sometimes you want it higher.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/"&gt;Read more…&lt;/a&gt; (5 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>Audio</category><category>Raspberry Pi</category><guid>http://blog.scphillips.com/posts/2013/01/a-upnp-renderer-for-the-raspberry-pi/</guid><pubDate>Tue, 01 Jan 2013 11:24:38 GMT</pubDate></item></channel></rss>