pifty
/
tutes-dump
Archived
1
1
Fork 1
This repository has been archived on 2020-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
tutes-dump/site-tutorials/anonradio-dj.html

147 lines
5.4 KiB
HTML

<h1>To DJ on ANONRADIO</h1>
<p>To become a DJ, first you must subscribe to the <i>anonradio-l</i> mailing
list by sending an email to <code>majordomo@sdf.org</code> that says:</p>
<pre><code>subscribe anonradio-l</code></pre>
<p>Then, send a message to the list and introduce yourself. Tell us about the
show you want to do, and request a time-slot &mdash; for the current schedule,
just visit <a href="http://anonradio.net">anonradio.net</a>. When you are
ready to schedule your show, email <b><i>membership</i></b> and you will be
given a username, password, mountpoint and server name to stream your show to.
Scheduled shows are automatically switched-in by the server.</p>
<p>Before getting your own show, you may like to try broadcasting during <a
href="http://anonradio.net/openmic/">OpenMIC</a>.</p>
<h2>Streaming</h2>
<p>There are a variety of tools that can be used to stream to aNONradio from a
variety of operating systems.</p>
<p>Regardless of what software you use, please ensure that your outgoing stream
conforms to the following specifications:</p>
<pre> Bit rate: 192 Kbps
Sample Rate: 44.1 KHz
Channels: 2 (stereo)
Format: mp3</pre>
<h3>liquidsoap</h3>
<p>It is possible to stream a collection of audio files using liquidsoap:</p>
<pre> liquidsoap 'output.icecast(%mp3, host="anonradio.net", port=8010,
user="YOURSDFUSERNAME", password="YOURICECASTPASSWORD",
mount="/YOURSDFUSERNAME", mksafe(playlist("/path/to/playlist.m3u")))'
</pre>
<p><code>playlist.m3u</code> must then contain a list of these files. The
above command must be terminated at the end of the show; if not, it will loop,
resulting in weird behavior.</p>
<h3>Mixxx</h3>
<a href="https://www.mixxx.org/">Mixxx</a> is an open-source cross-platform
graphical DJ tool which can stream to Icecast servers, including aNONradio. It
is recommended if you are playing tracks from audio files stored on your
computer.
<h3>butt</h3>
<p>"<a href="http://danielnoethen.de/"><code>butt</code></a> (broadcast using
this tool) is an easy to use, multi OS streaming tool. It supports SHOUTcast
and Icecast and runs on Linux, Mac OS X and Windows. The main purpose of butt
is to stream live audio data from your computers Mic or Line input to an
Shoutcast or Icecast server. Recording is also possible. It is NOT intended to
be a server by itself or automatically stream a set of audio files."</p>
<p>Instructions on using <code>butt</code> to stream to aNONradio are
forthcoming.</p>
<h3>Nicecast</h3>
<p>There is <a href="http://sdf.org/?tutorials/anonradio-nicecast">an SDF
tutorial for setting-up Nicecast</a> on Mac OS X with iTunes / Skype / whatever
else, all with voice-over capability.</p>
<h3>Ezstream</h3>
<p>To stream during your timeslot or during openmic, create a playlist of your desired songs:</p>
<p><code>ls -d -1 /PATH/TO/YOUR/MUSIC/*.* >> playlist.m3u</code></p>
<p>Copy the default ezstream config to your home directory:</p>
<p>
<pre>
mkdir ~/.ezstream
cp /usr/share/doc/ezstream/examples/ezstream_mp3.xml ~/.ezstream/
</pre>
<p>
<p>Edit your newly copied config thusly:</p>
<p>
<pre>
&lt;ezstream&gt;
&lt;url&gt;http://anonradio.net:8010/YOUR_DJ_MOUNT_NAME&lt;/url&gt;
&lt;sourceuser&gt;YOUR_DJ_USER_NAME&lt;/sourceuser&gt;
&lt;sourcepassword&gt;YOUR_DJ_PASSWORD&lt;/sourcepassword&gt;
&lt;format&gt;MP3&lt;/format&gt;
&lt;filename&gt;/PATH/TO/YOUR/playlist.m3u&lt;/filename&gt;
&lt;svrinfobitrate&gt;192&lt;/svrinfobitrate&gt;
&lt;svrinfosamplerate&gt;44100&lt;/svrinfosamplerate&gt;
&lt;stream_once>1&lt;/stream_once&gt;
&lt;/ezstream&gt;
</pre>
</p>
<p>And start your stream with this command:</p>
<p><code>ezstream -c ~/.ezstream/ezstream_mp3.xml</code></pre></p>
<p>If you are streaming a group of varying format files, you can homogenize them like this:</p>
<p>
<pre>
&lt;ezstream&gt;
&lt;url&gt;http://anonradio.net:8010/YOUR_DJ_MOUNT_NAME&lt;/url&gt;
&lt;sourceuser&gt;openmic&lt;/YOUR_DJ_USER_NAME&gt;
&lt;sourcepassword&gt;YOUR_DJ_PASSWORD&lt;/sourcepassword&gt;
&lt;format&gt;MP3&lt;/format&gt;
&lt;filename&gt;/PATH/TO/YOUR/playlist.m3u&lt;/filename&gt;
&lt;svrinfobitrate&gt;192&lt;/svrinfobitrate&gt;
&lt;svrinfosamplerate&gt;44100&lt;/svrinfosamplerate&gt;
&lt;stream_once>1&lt;/stream_once&gt;
&lt;reencode&gt;
&lt;enable&gt;1&lt;/enable&gt;
&lt;encdec&gt;
&lt;format&gt;MP3&lt;/format&gt;
&lt;match&gt;.mp3&lt;/match&gt;
&lt;decode&gt;/usr/pkg/bin/madplay -v -Q -i -b 16 -R 44100 -S -o raw:- @T@&lt;/decode&gt;
&lt;encode&gt;/usr/pkg/bin/lame --preset cbr 192 -r -s 44.1 --bitwidth 16 - -&lt;/encode&gt;
&lt;/encdec&gt;
&lt;/reencode&gt;
&lt;/ezstream&gt;
<p>There are also<a
href="http://mustafejen.freeshell.org/ezpulse.html">instructions</a> for
streaming with ezstream on Debian using PulseAudio.</p>
<h2>Streaming Metadata Manually</h2>
<p>During your show you can login here:</p>
<p><a href="http://anonradio.net/playlist/">http://anonradio.net/playlist/</a></p>
<p>Login with your anonradio.net streaming credentials. You will ONLY be able
to login during your show.</p>
<p>This feature will be helpful to DJs who stream from analogue devices like
turntables, cassettes and such that don't send playlist MetaData.</p>
$Id: anonradio-dj.html,v 1.9 2020/06/15 06:14:02 smj Exp $