# To DJ on ANONRADIO

To become a DJ, first you must subscribe to the anonradio-l mailing list by sending an email to `majordomo@sdf.org` that says:

    subscribe anonradio-l

Then, send a message to the list and introduce yourself. Tell us about the show you want to do, and request a time-slot — for the current schedule, just visit anonradio.net. When you are ready to schedule your show, email membership 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.

Before getting your own show, you may like to try broadcasting during OpenMIC.

## Streaming

There are a variety of tools that can be used to stream to aNONradio from a variety of operating systems.

Regardless of what software you use, please ensure that your outgoing stream conforms to the following specifications:

      Bit rate:     192 Kbps
      Sample Rate:  44.1 KHz
      Channels:     2 (stereo)
      Format:       mp3

### liquidsoap

It is possible to stream a collection of audio files using liquidsoap:

     liquidsoap 'output.icecast(%mp3, host="anonradio.net", port=8010,
    user="YOURSDFUSERNAME", password="YOURICECASTPASSWORD",
    mount="/YOURSDFUSERNAME", mksafe(playlist("/path/to/playlist.m3u")))'

`playlist.m3u` 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.

### Mixxx

Mixxx 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.

### butt

"`butt` (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."

Instructions on using `butt` to stream to aNONradio are forthcoming.

### Nicecast

There is an SDF tutorial for setting-up Nicecast on Mac OS X with iTunes / Skype / whatever else, all with voice-over capability.

### Ezstream

To stream during your timeslot or during openmic, create a playlist of your desired songs:

`ls -d -1 /PATH/TO/YOUR/MUSIC/*.* >> playlist.m3u`

Copy the default ezstream config to your home directory:

        mkdir ~/.ezstream
        cp /usr/share/doc/ezstream/examples/ezstream_mp3.xml ~/.ezstream/

Edit your newly copied config thusly:

          <ezstream>
            <url>http://anonradio.net:8010/YOUR_DJ_MOUNT_NAME</url>
            <sourceuser>YOUR_DJ_USER_NAME</sourceuser>
            <sourcepassword>YOUR_DJ_PASSWORD</sourcepassword>
            <format>MP3</format>
            <filename>/PATH/TO/YOUR/playlist.m3u</filename>
            <svrinfobitrate>192</svrinfobitrate>
            <svrinfosamplerate>44100</svrinfosamplerate>
            <stream_once>1</stream_once>
          </ezstream>

And start your stream with this command:

`ezstream -c ~/.ezstream/ezstream_mp3.xml`

If you are streaming a group of varying format files, you can homogenize them like this:

##

         <ezstream>
           <url>http://anonradio.net:8010/YOUR_DJ_MOUNT_NAME</url>
           <sourceuser>openmic</YOUR_DJ_USER_NAME>
           <sourcepassword>YOUR_DJ_PASSWORD</sourcepassword>
           <format>MP3</format>
           <filename>/PATH/TO/YOUR/playlist.m3u</filename>
           <svrinfobitrate>192</svrinfobitrate>
           <svrinfosamplerate>44100</svrinfosamplerate>
           <stream_once>1</stream_once>
             <reencode>
             <enable>1</enable>
             <encdec>
             <format>MP3</format>
             <match>.mp3</match>
             <decode>/usr/pkg/bin/madplay -v -Q -i -b 16 -R 44100 -S -o raw:- @T@</decode>
             <encode>/usr/pkg/bin/lame --preset cbr 192 -r -s 44.1 --bitwidth 16 - -</encode>
             </encdec>
             </reencode>
         </ezstream>

    There are alsoinstructions for
    streaming with ezstream on Debian using PulseAudio.

    Streaming Metadata Manually

    During your show you can login here:

    http://anonradio.net/playlist/

    Login with your anonradio.net streaming credentials. You will ONLY be able
    to login during your show.

    This feature will be helpful to DJs who stream from analogue devices like
    turntables, cassettes and such that don't send playlist MetaData.

    $Id: anonradio-dj.html,v 1.9 2020/06/15 06:14:02 smj Exp $