<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Queuing Theory and radio playlists</title>
	<atom:link href="http://brideswell.com/content/technology/queuing-theory-and-radio-playlists/feed/" rel="self" type="application/rss+xml" />
	<link>http://brideswell.com/content/sci-tech/queuing-theory-and-radio-playlists/</link>
	<description>Creative Technology Consultants</description>
	<lastBuildDate>Mon, 18 Jul 2011 17:02:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Richard Elen</title>
		<link>http://brideswell.com/content/sci-tech/queuing-theory-and-radio-playlists/comment-page-1/#comment-422</link>
		<dc:creator>Richard Elen</dc:creator>
		<pubDate>Tue, 22 Jun 2010 12:05:56 +0000</pubDate>
		<guid isPermaLink="false">http://brideswell.com/content/?p=727#comment-422</guid>
		<description>And we have an answer. In fact a more complete one than I expected.

This approach is based on information kindly provided by a respondent to my query on this topic in the Spacial Audio forums (&quot;Cygnus X-1&quot; in fact, a forum admin). The terminology assumes you&#039;re using &lt;a href=&quot;http://www.spacialaudio.com/?page=sam-broadcaster&amp;tab=tab-sam-broadcaster-overview&quot; rel=&quot;nofollow&quot;&gt;SAM Broadcaster&lt;/a&gt; (Spacial&#039;s Windows-based radio automation/DJ system that I own but don&#039;t use as it doesn&#039;t support FLAC files), but the theory is general and can be applied to any playout system.

Bear in mind that if you implement the DMCA requirements in the simplest way, you have to make sure that neither a track from the same artist nor album is played more frequently than once an hour. In terms of SAM&#039;s Playlist Rotation Rules, this means an &quot;artist repetition&quot; and an &quot;album repetition&quot; of 60 minutes (ie at least 60 minutes must pass before another track from the same album, or by the same artist, can be played).

If you build playlists by choosing a theme and then adding entire albums that embody that theme, then play out all the tracks from those albums at random (which is I think what most of us do most of the time), then in general, a rough estimate for a good mix is:

&lt;strong&gt;(artist repetition rule in minutes) / (average track length in minutes) = number of artists

floor( ln( (album repetition rule in minutes) / (average tracks on an album) ) * number of artists ) = number of albums&lt;/strong&gt;

Notice that the length of the programme &lt;em&gt;does not appear&lt;/em&gt; in this formula. However, this &lt;em&gt;does&lt;/em&gt; give you the minimum size of the album &quot;pool&quot; you need to create a playlist that will meet DMCA rules.

&lt;em&gt;For those with a mathematical bent: the floor function is a special kind of &quot;rounding&quot; function: floor(x) represents the greatest integer less than or equal to x. So if x = 4.9, then floor(x) = 4, for example. You always round down. And &lt;a href=&quot;http://www.ajdesigner.com/phpnaturallog/natural_log_equation_y.php&quot; rel=&quot;nofollow&quot;&gt;here you can find a calculator to evaluate natural logarithms&lt;/a&gt;, ie ln(x).&lt;/em&gt;

&lt;strong&gt;Example&lt;/strong&gt;

Assume that the average number of tracks on an album is 12, and the average track length is 4 minutes:

Given that the artist repetition rule is 60 minutes and album repetition rule is 60 minutes:

60 / 4 = 15 artists

floor( ln ( 60 / 12 ) * 15 ) = floor( ln ( 5 ) * 15 ) = 24 albums

&lt;em&gt;(ln (5) = 1.6094379124341; ln(5) * 15 = 24.141568...; so the floor value is 24.)
&lt;/em&gt;
This is therefore the minimum number of albums and artists you can have in a DMCA-compliant playlist, given the average number of tracks on an album and the average track length specified above. You can have a longer playlist, of course (but not a shorter one), and as long as the artist:album ratio (with these average values) remains 15:24 (or about 1.6 albums per artist), you won&#039;t run out of music.

But don&#039;t forget that if your average number of tracks per album and/or their length is different, the ratio will differ too, so work out the ratio for the kind of music you&#039;re playing.</description>
		<content:encoded><![CDATA[<p>And we have an answer. In fact a more complete one than I expected.</p>
<p>This approach is based on information kindly provided by a respondent to my query on this topic in the Spacial Audio forums (“Cygnus X-1″ in fact, a forum admin). The terminology assumes you’re using <a href="http://www.spacialaudio.com/?page=sam-broadcaster&#038;tab=tab-sam-broadcaster-overview" rel="nofollow">SAM Broadcaster</a> (Spacial’s Windows-based radio automation/DJ system that I own but don’t use as it doesn’t support FLAC files), but the theory is general and can be applied to any playout system.</p>
<p>Bear in mind that if you implement the DMCA requirements in the simplest way, you have to make sure that neither a track from the same artist nor album is played more frequently than once an hour. In terms of SAM’s Playlist Rotation Rules, this means an “artist repetition” and an “album repetition” of 60 minutes (ie at least 60 minutes must pass before another track from the same album, or by the same artist, can be played).</p>
<p>If you build playlists by choosing a theme and then adding entire albums that embody that theme, then play out all the tracks from those albums at random (which is I think what most of us do most of the time), then in general, a rough estimate for a good mix is:</p>
<p><strong>(artist repetition rule in minutes) / (average track length in minutes) = number of artists</p>
<p>floor( ln( (album repetition rule in minutes) / (average tracks on an album) ) * number of artists ) = number of albums</strong></p>
<p>Notice that the length of the programme <em>does not appear</em> in this formula. However, this <em>does</em> give you the minimum size of the album “pool” you need to create a playlist that will meet DMCA rules.</p>
<p><em>For those with a mathematical bent: the floor function is a special kind of “rounding” function: floor(x) represents the greatest integer less than or equal to x. So if x = 4.9, then floor(x) = 4, for example. You always round down. And <a href="http://www.ajdesigner.com/phpnaturallog/natural_log_equation_y.php" rel="nofollow">here you can find a calculator to evaluate natural logarithms</a>, ie ln(x).</em></p>
<p><strong>Example</strong></p>
<p>Assume that the average number of tracks on an album is 12, and the average track length is 4 minutes:</p>
<p>Given that the artist repetition rule is 60 minutes and album repetition rule is 60 minutes:</p>
<p>60 / 4 = 15 artists</p>
<p>floor( ln ( 60 / 12 ) * 15 ) = floor( ln ( 5 ) * 15 ) = 24 albums</p>
<p><em>(ln (5) = 1.6094379124341; ln(5) * 15 = 24.141568…; so the floor value is 24.)<br />
</em><br />
This is therefore the minimum number of albums and artists you can have in a DMCA-compliant playlist, given the average number of tracks on an album and the average track length specified above. You can have a longer playlist, of course (but not a shorter one), and as long as the artist:album ratio (with these average values) remains 15:24 (or about 1.6 albums per artist), you won’t run out of music.</p>
<p>But don’t forget that if your average number of tracks per album and/or their length is different, the ratio will differ too, so work out the ratio for the kind of music you’re playing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

