Lullabot Ideas

We know stuff. We empower you to know stuff too.

Audio module review

Article by Ted Serbinski

As I was working on a new internal site for the Yale School of Drama, I realized I was going to need a module to handle all of their mp3 files for speech learning and training. Enter the audio module!

Great module! This module makes use of the wonderful getID3 PHP library for reading and writing ID3 tags for mp3 and other audio files. Creating a new audio file is as simple as creating a new 'audio' node type. The ID3 tags are extracted from the audio file and displayed in the node listing. The title can optionally be automatically set using the ID3 tag information, by default it is artist - song title. The node body itself contains all of the ID3 information for the audio file, with links for each of the fields. This allows a user, for instance, to find all audio files by artist, title, album, genre, and year, by simply clicking the link. Additionally, the length and format of the file are extracted and displayed too. And the best feature, it includes the XSPF Flash player so you can play the audio file right on the website, without having to download! If a user does want the audio file, there is a download link available as well. Additionally, if the ID3 tags are incomplete upon uploading, anyone with node edit permissions can edit the audio node and update the ID3 tags automatically! This module also keeps track of how many times the audio file has been downloaded and how many times it has been played through the website.

Because this audio file is created as a node, all of the wonderful node properties can be used. The most useful would be setting up a category (or a taxonomy) to label the content in this audio file, which can be setup to use 1 or more terms to "tag" the audio file. Each audio file can also be setup so users can post comments on the same page as the audio file as well.

Also, this module adds a link to each user's profile that links to all of their recent audio files, making it very handy to find all audio files uploaded by a certain person.

Overall, a great module, and very useful! Recommended if you need to manage lots of audio files :-)

Comments

great review...

...but maybe since i wrote a big chunk of it, i'm biased ;)

When will the Yale School of Drama site launch?

How close are you. I'm anxious to see how you implemented the audio module.

That won't be till later

That won't be till later this summer/fall.

video?

I wonder when a similar player for video will be available? I suppose the actionscript can be extended for video.

Thoughts?

Audio file gets uploaded but the player doesn't appear in Blue M

Hello

I am not sure if this is the right place to ask this
I have installed this module at
http://paratlane.net
Audio file gets uploaded but the player doesn't appear in Blue Marine Theme
Please see the entry
Unknown - Track 1

I noticed that it sort of picks up the title and other details from the original track used to make the clip.
BTW is there a restriction of 2 MB on file size ?

Could you please let me know how to get the flah player working

Many thanks in advance

Valley

I've seen this

I've seen this problem and it turned out that my mp3 file was corrupted. Make sure that you've properly encoded it and that it's got the .mp3 file extension. Flash only supports certain formats so if the module thinks you've got the wrong format it will kill the Flash player.

The upload size is something that gets set in your PHP.ini file. If you have access to this on your server then you can probably change it to something larger. You'll also want to tweak the timeout so that you'll have enough time to get those larger files uploaded.

Review the new version

You should take a look at the latest version of the audio module. It's got some cool new features like support for embedding album artwork in the audio files.

linking an audio file with a blog

Hello, I have created an audio blog at www.digitaldarragh.com/myblog/ I want to implement a similar system using drupal. I.e. when the user is adding a post they can add an audio file if they wish. This would then be attached to their post. Could you suggest a way of doing this? Thanks.

people

Impossible is nothing.