Top

VoR Archives Trims Fat

June 30, 2008

  • The file size on the archives has shrunk from ~57mb per show to ~30mb per show, with little change in audio quality in initial testing.
  • This week, there will be a new player implemented for “recent archives.” It will be a flash player that has the last show from each host loaded up, ready for sampling.

For those interested in the tech stuff:

In response to your welcome suggestions (see “envelope graphic at the upper-right), I have now tested and implemented the archival of our files at 32kb/s, 22.050khz. Like so many other things that have to do with our operation, changing this brought with it an opportunity to streamline other areas, so I changed with it our entire method of the way we archive our files.

The nomenclature we use for archival is XX_YYYYMMDD.mp3, where “XX” is the host or show’s initials, then the four-digit year, two-digit month, and two-digit day. For this, I wrote a script for a program called “streamripper”:

#

/execute “streamripper http://208.110.82.50:7557 -A -d \PS\temp -a PS_{Time.Year4}{Time.MonthPad}{Time.DayPad}.mp3 -s -t -l 7500 -i -u winamp” /offset -4h

#

This tells streamripper to begin recording the stream to a temp directory, using the name PS_YYYYMMDD.mp3, to retry if disconnected, to rip to a single file, and to run for 7500 seconds (2 hrs + ~5 min.). The “/offset -4h” is to keep the dates straight for Marc’s show which goes to 1AM here on the east coast. We want the show named for when it starts, not for when it finishes. After that, I run it through an mp3 command-line tagger program:

sarch /source “\temp” /offset -4h /execute “id3.exe -a “”Voice of Reason Broadcast Network”" PD_{Time.Year4}{Time.MonthPad}{Time.DayPad}.mp3″

sarch /source “\temp” /offset -4h /execute “id3.exe -l “”Shanktalk Live”" PD_{Time.Year4}{Time.MonthPad}{Time.DayPad}.mp3

sarch /source “\temp” /offset -4h /execute “id3.exe -y {Time.Year4} \temp\PD_{Time.Year4}{Time.MonthPad}{Time.DayPad}.mp3

This is for the Patriot Dames, tagging the file to give a nice little id3 tag that looks something like this on your ipod:

Comments

7 Responses to “VoR Archives Trims Fat”

  1. Susie on June 30th, 2008 7:31 pm

    Dietrich,
    EXCELLENT WORK!!! Thank you.
    Susie

  2. K-Sensor on June 30th, 2008 7:37 pm

    Cool. I thought the files were a bit big for the quality broadcasted. Also good to see tagging and hopefully album art.

  3. K-Sensor on June 30th, 2008 7:49 pm

    It would be good if you could cycle through the front page tabs. That way people would noticed the different content and options.

  4. Dietrich on June 30th, 2008 9:18 pm

    K,

    “Cycle through . . .”? You can’t do that already?

  5. Yippy on June 30th, 2008 10:18 pm

    The ID3 tags are definitely a good addition though I’m not sure about the move down to a 48Kbps/32KHz format. Peter’s archive for Friday 27th was a bit iffy (whether it had anything to do with the change I’m not sure). Aside from that though, song breaks will struggle a bit at that bitrate.

  6. K-Sensor on July 1st, 2008 1:50 am

    Dietrich, I mean auto flick through the tabs to show off what’s there.

    Yippy, do you know the original broadcast bitrate and sample freq?

    Not sure but I think Dietrich is using network-audio protocols to record the show? them records it at the server end.

  7. Yippy on July 1st, 2008 7:32 pm

    I’m not sure K-Sensor, good question.

Bottom