Song Fight Archive Web MP3 Player

Talk about how awesome the new _______ album is.
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Song Fight Archive Web MP3 Player

Post by Lunkhead »

Hey folks,

I've been sitting on this for a bit, but I'm not really sure why I didn't put it out there earlier. I whipped up a little site that lets you slice and dice the archive a bit and has an iTunes-like Flash MP3 player built in. You can do things like listen to the current fight(s) on a page, load a page with a list of every song in the entire archive (almost 8000 now!) and shuffle play the whole archive, listen to all of an artist's entries on a page, etc. You can also do some limited searching and ordering of songs/artists/fights if you're curious about some statistical trivia about the archive. There's also a few fields on the main page, like for searching for fights and artists with autocomplete, and for searching for songs by artist name and/or title. Oh, and it has some keyboard shortcuts, described on the main page.

http://www.bozos.com/sf/

At this point it requires Firefox. The JavaScript I used originally worked in IE but I had to do some hacking on it to get it to work on the full song list page, and somehow in there I think I broke IE compatibility. I'll be working on fixing that at some point. I have no idea if it will work in Safari or Opera, etc. One other issue is that the Flash MP3 player doesn't properly support variable bit rate encoded files. That's my theory anyway. Some files have strange audio artifacts when playing, but it seems to be a pretty small number of them.

Some day I'd like to make it something where you could sign in and have some preferences about favorite/blocked songs/artists/fights/etc., and custom playlists. Maybe also make it so logged in users could comment on songs/artists/fights/etc.
User avatar
jast
Ice Cream Man
Posts: 1325
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: Cubase, Steinberg UR44
Submitting as: Jan Krueger
Pronouns: .
Location: near Aachen, Germany
Contact:

Re: Song Fight Archive Web MP3 Player

Post by jast »

Lunkhead wrote:One other issue is that the Flash MP3 player doesn't properly support variable bit rate encoded files. That's my theory anyway. Some files have strange audio artifacts when playing, but it seems to be a pretty small number of them.
You mean like mad stuttering? I think that's what happens when you use a non-standard sampling rate like 48 KHz (isn't that extremely non-standard?) in your mp3 file. I think the Flash mp3 player doesn't like that. VBR seems fine.
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

Ah! That's probably more likely to be it, considering the small number of songs that have problems. I had thought that probably more people used VBR, but odd sample rates would be less common. It does sound like mad stuttering, but also wildly varying playback speed, which made me think of VBR.
User avatar
roymond
Beat It
Posts: 5188
Joined: Sat Sep 25, 2004 3:42 pm
Instruments: Guitars, Bass, Vocals, Logic
Recording Method: Logic X, MacBookPro, Focusrite Scarlett 2i2
Submitting as: roymond, Dangerous Croutons, Intentionally Left Bank, Moody Vermin
Pronouns: he/him
Location: brooklyn
Contact:

Re: Song Fight Archive Web MP3 Player

Post by roymond »

OK, this is awesome. That's all I got so far :)
roymond.com | songfights | covers
"Any more chromaticism and you'll have to change your last name to Wagner!" - Frankie Big Face
User avatar
Paco Del Stinko
Hot for Teacher
Posts: 3542
Joined: Fri Apr 07, 2006 11:20 am
Instruments: Basic rock, at a basic level.
Recording Method: Roland 2480
Submitting as: Paco del Stinko
Location: Massachusetts. God save the Commonwealth!

Re: Song Fight Archive Web MP3 Player

Post by Paco Del Stinko »

So, thinking that this is a neat idea, which it is, I checked it out. The select random song is perfect for me so i clicked it and the first song that came up was "Big Success" by...Paco del Stinko! Omen? Strange coincidence? Spooky tracking apparatus? I dunno, but I thought it funny. Anyway, great work there, Lunkhead.
Bringin' the stink since 2006.
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

Thanks for checking it out guys. I'd love to get some people using it and providing some feedback and ideas for what to do with it.
User avatar
drë
Ice Cream Man
Posts: 1197
Joined: Sun Sep 26, 2004 12:24 am
Instruments: guitar
Recording Method: protools
Submitting as: Andre was here at Midnight
Location: Seattle, Wa
Contact:

Re: Song Fight Archive Web MP3 Player

Post by drë »

mad props, Mr Lunkhead. i think an additional feature that would make me use this more often would be a song rating system (1-5 star) yes, on top of the SF voting rating. like that over time, i can filter out songs that got a 4-5 star rating. :D
User avatar
Spud
Hot for Teacher
Posts: 4770
Joined: Fri Sep 24, 2004 10:25 am
Instruments: Bass, Keyboards, eHorn
Submitting as: Octothorpe
Location: Seattle
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Spud »

I have very mixed feeling about your proposal, dre.

I have always found applying an after-the-fact standard to the archive to be problematic (see http://www.songfight.org/ratings.html). If YOU rate the songs, and it filters them out for YOU, I have no problem with that.

What I want to avoid is a new listener coming to this thing and getting only what a select group of reviewers have found to be the "best". If that can be avoided, great.

A few more nits, while I am here. Lunkhead, I would prefer if you didn't call this thing "radio". It's clearly not broadcast in real time, but on-demand. If there was to be a SongFight! Radio, I think it should be in broadcast format, not user-selectable, and I would like to leave that designation open for someone to provide that service.

Also, JB has expressed that as the person paying for the server bandwidth, he has an issue with an interface that allows a user to queue up the entire archive and then walk away from his computer, leaving the thing streaming for (theoretically) weeks at a time. Bandwidth IS limited to some extent, and the current "official" interface only allows that to happen with a single fight. Does this interface allow that? It seems that it might.

I am not trying to be a party pooper here, I love this thing, and I love that Lunkhead went to the trouble to make it. I just want us to think about these things.

SPUD
"I only listen to good music. And Octothorpe." - Marcus Kellis
Song Fight! The Rockening
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

I was going to respond about ratings but Spud basically said what I was going to say. I was thinking more along the lines of "users who added this song as a favorite also added these songs:" or "users who like this artist also like these other artists" as ways of pointing people toward new songs they may like.

I will take "radio" out of the name, if that's something you want to reserve for some official radio that may happen. Don't forget, this is also "unofficial", and not meant to compete with or replace any official functionality, just supplement it. (Should be done by the time I post this.)

It does allow you to stream songs in a loop. You could play the same song over and over, or the whole archive over and over. (The bandwidth usage is the same either way, right?) The current archive UI does make it difficult to listen to lots of songs, and to search the archive in all but a few ways, which was part of my motivation for making this mp3 player. It didn't occur to me that the difficulty may have been partly by design, to limit bandwidth usage. Of course it's up to you guys, as the ones footing the bill, how much you actually want people to listen to Song Fight! To me making the music more accessible to more people seems like a good thing, but I'm not paying for it so it's easy for me to say that. Perhaps there is such thing as "too accessible".

I will explore ways to try to limit the number of songs someone can play per hour perhaps. The one issue there is that it's all happening client side, so somebody could hack my JavaScript with Firebug and undo any such throttling I try to put in. Also, since all the mp3 links are public, really anybody could scrape the archive pages and set up something similar. If you want to throttle the bandwidth usage of the archive, one way to do it would be to try to throttle it at the server, on a per IP address basis somehow perhaps.
User avatar
Caravan Ray
bono
bono
Posts: 8653
Joined: Sat Sep 25, 2004 1:51 pm
Instruments: Penis
Recording Method: Garageband
Submitting as: Caravan Ray,G.O.R.T.E.C,Lyricburglar,The Thugs from the Scallop Industry
Location: Toowoomba, Queensland
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Caravan Ray »

Lunkhead wrote: I have no idea if it will work in Safari
I can see the page in Safari but the songs don't seem to play.


BTW:
Can it have a "Genius" button like iTunes? The "Genius" button rules.

It could tell you things like:
"People who like the Primitive Screwheads, also like Neil Thrunn and the Doom Faeries", or
"People who like Billy's Little Trip, also like having their testicles squeezed in a vice"
User avatar
Rabid Garfunkel
Jump
Posts: 2468
Joined: Sat Sep 25, 2004 12:43 pm
Instruments: Absurdity
Recording Method: iPhone, GarageBand & rando apps/toys
Submitting as: OZYMANDIPUS, Rabid Garfunkel, Primitive Screwheads
Pronouns: that guy
Location: Portland, Oregon
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Rabid Garfunkel »

Caravan Ray wrote:"People who like the Primitive Screwheads, also like Neil Thrunn and the Doom Faeries", or
"People who like Billy's Little Trip, also like having their testicles squeezed in a vice"
Heyyyy... I like p++, and I also like Neil Thrunnn... by Jove, it works!

Even though your spelling of "vise" is correct for your locale, the unintended (?) pun (from how it reads to this North American) is delightful. :lol:
"Urban cartoon music." -- Paco Del Stinko
Be my friend? --- Song of the Day
User avatar
Spud
Hot for Teacher
Posts: 4770
Joined: Fri Sep 24, 2004 10:25 am
Instruments: Bass, Keyboards, eHorn
Submitting as: Octothorpe
Location: Seattle
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Spud »

Lunkhead, I am not intending to aggressively limit the listening or squeeze the bandwidth. I just want to prevent the accidental or thoughtless use of bandwidth without purpose. If the person is actually listening, great!

I was always under the impression that if you looped the song over and over, after the first time it was probably cached. No?

SPUD
"I only listen to good music. And Octothorpe." - Marcus Kellis
Song Fight! The Rockening
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

Ah, yes, I forgot that. It does cache the song. I misunderstood your point, too, sorry about that. Maybe I could put in something where there's an event listener for mouse movement, and a timer, and if there isn't any mouse movement on the page for a certain amount of time, it pauses playback and displays an info box telling the user to move the mouse to resume playback? Like I said, whatever I do will have to be client side, so it won't stop malicious people, but it might resolve issues with absent minded people.
User avatar
ken
Hot for Teacher
Posts: 3876
Joined: Sat Sep 25, 2004 6:10 pm
Instruments: Guitar, bass, drums, keys
Recording Method: MOTU 828x, Cubase 10
Submitting as: Ken's Super Duper Band 'n Stuff
Pronouns: he/him
Location: oakland, ca
Contact:

Re: Song Fight Archive Web MP3 Player

Post by ken »

Interesting. Pandora has something like that, where after a while it will ask you if you are still listening. I never thought about how it is because it costs them money to stream their songs. Also, now I know how to mess with people on the internet more. Thanks!

Ken
Ken's Super Duper Band 'n Stuff - Berkeley Social Scene - Tiny Robots - Seamus Collective - Semolina Pilchards - Cutie Pies - Explino! - Bravo Bros. - 2 from 14 - and more!

i would just like to remind everyone that Ken eats kittens - blue lang
User avatar
Albatross
KING OF THE FORUMS
KING OF THE FORUMS
Posts: 845
Joined: Wed Jan 12, 2005 12:51 am
Instruments: Bass, drums, guitar, hand farts
Recording Method: Firewire 1814, Sonar X1
Submitting as: Albatross, Primitive Screwheads
Location: UT

Re: Song Fight Archive Web MP3 Player

Post by Albatross »

Caravan Ray wrote:It could tell you things like:
"People who like the Primitive Screwheads, also like Neil Thrunn and the Doom Faeries",
Oh God, if it really told you that, then that is truly Genius.

I miss Neil Thrunnnn. That guy was a God to me.
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

Yes, Pandora, I knew I had gotten that idea from somewhere but couldn't think of where. I can probably do something like that pretty easily. Next time I have a few minutes to work on it I'll tackle that.
User avatar
jast
Ice Cream Man
Posts: 1325
Joined: Tue Jul 29, 2008 7:03 pm
Instruments: Vocals, guitar
Recording Method: Cubase, Steinberg UR44
Submitting as: Jan Krueger
Pronouns: .
Location: near Aachen, Germany
Contact:

Re: Song Fight Archive Web MP3 Player

Post by jast »

Lunkhead wrote:Like I said, whatever I do will have to be client side, so it won't stop malicious people
Don't worry about malicious people, they'd just run wget in a loop instead anyway. If anyone monkeypatches your code and abuses your interface, it's hardly your fault.
User avatar
jb
Hot for Teacher
Posts: 4162
Joined: Sat Sep 25, 2004 10:12 am
Instruments: Guitar, Cello, Keys, Uke, Vox, Perc
Recording Method: Logic X
Submitting as: The John Benjamin Band
Pronouns: he/him
Location: WASHINGTON, DC
Contact:

Re: Song Fight Archive Web MP3 Player

Post by jb »

jast wrote:
Lunkhead wrote:Like I said, whatever I do will have to be client side, so it won't stop malicious people
Don't worry about malicious people, they'd just run wget in a loop instead anyway. If anyone monkeypatches your code and abuses your interface, it's hardly your fault.
Malicious people are much less dangerous than ignorant people. It's the latter we have to be careful of/for, where our bandwidth is concerned. Nobody's going to gleefully let the player run all day and all night to get us in trouble with the hosting company. But somebody might have it playing in the background and forget that it's on, maybe click "mute" to take a phone call and get distracted by other things. Meanwhile all our data transfer goes out the window.
blippity blop ya don’t stop heyyyyyyyyy
User avatar
Reist
Hot for Teacher
Posts: 3066
Joined: Mon Jan 30, 2006 2:26 pm
Instruments: Drums, Guitar
Recording Method: Yamaha AW1600, Reaper
Submitting as: Therman
Location: Calgary
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Reist »

Dude, this is awesome! I checked out your current fight page - and the mp3 player linked to there - and I'm definitely going to use that for writing reviews - it's really convenient. Sweet stuff, Lunk.

Question - could we link to that current fight mp3 player on the main page instead of the stream all button? It seems to have greater functionality (with the download button and cover art). Just an idea, I guess.
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

Like it says on the main page of my site, it's very unofficial and very experimental, so I don't think a link from songfight.org would be appropriate. It's really just a demo of what's possible these days with free open source JavaScript and Flash code.
User avatar
JonPorobil
Beat It
Posts: 5682
Joined: Sat Sep 25, 2004 11:45 am
Instruments: Piano, Guitar, Harmonica, Mandolin, Accordion, Bass, lots of VSTs
Recording Method: Cubase 10.5
Submitting as: Jon Eric, Jon Porobil, others
Pronouns: He/Him
Location: Pittsburgh, PA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by JonPorobil »

Lunk, I just listened to "Sold Out" on your interface. It's like a dream.

In fact, it more than fits the profile of something I suggested nearly a year ago.

You rock.

Also, re: the nomenclature. If we can't call it "radio," then what about "jukebox?" That seems to more accurately describe what it is, anyway.
"Warren Zevon would be proud." -Reve Mosquito

Stages, an album of about dealing with loss, anxiety, and grieving a difficult year, now available on Bandcamp and all streaming platforms! https://jonporobil.bandcamp.com/album/stages
User avatar
Lunkhead
You're No Good
Posts: 8141
Joined: Sat Sep 25, 2004 12:14 pm
Instruments: many
Recording Method: cubase/mac/tascam4x4
Submitting as: Berkeley Social Scene, Merisan, Tiny Robots
Pronouns: he/him
Location: Berkeley, CA
Contact:

Re: Song Fight Archive Web MP3 Player

Post by Lunkhead »

Wow, rereading that thread was fun. 5 pages of actual discussion, with no flaming and with nearly every post right on topic! That's awesome. I would like to reiterate that I really really enjoy the new multi-voting system and that I really appreciate Spud coming up with that. You rock, Spud! Also, I had actually already written the site I mention in this thread before I started that thread you linked to, Jon. That was how I was able to come up with those CSV files with the archive data.
Post Reply