Audio module/Flash mp3 player issue: solved

wheat's picture

Today, I rolled out the new Audio module (official site). This module allows you to post audio files as nodes in the Drupal system. You'll now find "Audio" as an option under the create content link. Audio allows you to upload your file (currently, we're supporting mp3, wav, and ogg formats). There's a generous 7MB limit per file. A form will prompt you for information about the track (artist, title, etc.).

I noticed one issue, which was my mp3 wasn't showing up with the nice embedded Flash player (the same one I use on jamesnotjim.com). I was getting a link to the mp3, which worked, but I wanted the embedded player. So here's a FAQ item: if the flash player doesn't show up, edit the node and make sure you have selected the file format (mp3, wav, ogg) from the drop down menu. If that doesn't fix it, set the sample rate as well (44K for most files).

The Audio module also add a link (titled Audio) in the left-hand navigation menu. And there's a submenu that allows you to browse by metadata (i.e. artist, album, genre, etc.). There's also a "Browse in progress" link, but I'll cover that in my post over another related module, Track 'n' Stack.

Please test this out by posting some of your own compositions. Just be sure they're your own--that you have a right to post them. I don't have time for legal troubles right now, mmkay?

Wheat

Hazz's picture

QUESTION ... Can non-members

QUESTION ...

Can non-members download the tunes as well?

Hazz

--------------------------------------------------------------------------
"Carburetors man!! That's what life is all about."
Musicians Collaboration Studio

--------------------------------------------------------------------------
"Carburetors man!! That's what life is all about."
Musicians Collaboration Studio

wheat's picture

This is a per-node option

Hazz,

You can set the node to allow downloading the song or block it. Keep in mind that savvy users will find a way to download the song. But, for most of us, getting our music out there is a far bigger problem than piracy.

Wheat

bassplaying.com

Hazz's picture

Answered my own question.

Answered my own question. ANYONE can download the song.

Also, it says there are three downloads, not true, I clicked on download but canceled it so that is a bit inaccurate. Just an observation.

Hazz

--------------------------------------------------------------------------
"Carburetors man!! That's what life is all about."
Musicians Collaboration Studio

--------------------------------------------------------------------------
"Carburetors man!! That's what life is all about."
Musicians Collaboration Studio

wheat's picture

When you download something

When you download something from a web server, the server only logs that you accessed the file. If you initiate a download but then cancel, that's still a download as far as the web server is concerned. There are ways to work around this problem (i.e. using a Flash player and having it report back to the server when some end-point in the file is reached), but they add overhead and wouldn't be required in this instance.

Wheat

bassplaying.com

wheat's picture

Confirmed: you must set the

Confirmed: you must set the file type to mp3 and the sample rate to whatever it is if you want the flash player to show up (instead of the "click to play" link). It's easy to miss them, because they're tucked away into a settings block that is closed by default. So, if you're player isn't showing up (and you care that it does), just edit the post and change those settings.

I like the flash player, so I'll edit posts and make this change if I see it missing, and I'd ask the co-admins to do the same. Be sure to test the player after making the change, as incorrect sample settings can lead to the "chipmunk effect" during playback (Flash is very picky about sample rates).

Wheat

bassplaying.com