CFX_AudioInfoMX (2.3) December 05 2004

by Lewis A. Sellers

Send related correspondence to: webmaster@intrafoundation.com

Windows Application [w/ Java source code]

Description

This Java language ColdFusion extension tag (that is, a CFX) for Macromedia ColdFusionMX, CFX_AudioInfoMX, will scan either a single file or an entire folder, looking for audio files of mp3, wav, au and midi format. From these files it will gather up all manner of information such as song title, author, compression type, bitrate, song length, etc. Handles ID3v1, ID3v1.1 and ID3v2 4.0. Works with all Java versions of ColdFusionMX.

The source code to this program is included as open source. It has been tested under Windows only at the moment. If you have compiled and used it on other platforms please feel free to drop a note.

The source code to this program is included as open source. It has been tested under Windows only at the moment. If you have compiled and used it on other platforms please feel free to drop a note.

With complete Java source code and classes.

V e r s i o n H i s t o r y
2.2, November 18th 2003.
Fixed track bug in id3v2. Misc cleanup in code/docs. Added lyrics support.

Todo: Add support for RIFF MP3, WMA (ASF), OGG, MP4, M4A, M4P, AAC, RA and AIFF. Still much work could be done to add full support for all formats.

2.1c, November 13th 2003.
Fixed a divide-by-zero bug that could occur with the ID3 test mp3's which would cause looping to a folder to abort prematurely.

Also note that yes, BitRateMIn and BitRateMax do exist as returned fields but you shouldn't use them right now. Why? Cause to actually find out the min/max you have to loop through _all_ the mp3 frame structures, and that is very slow. At some point in time I'll see about making it as a selectable OPTION that can be toggled on though.

2.1, November 12th 2003.
Cleaned up code a bit and added better exception handling.

2.0, November 8th 2003.
Yes, this is a brand new Java version of the old C++ CFX tag. I'd been job-hunting for some steady, long-term work for a change and thought I should get a few of those pesky certificates, ie the SCJP and SCJD. In that spirit converted a few older C++ apps over to Java to brush up on the language before taking the certification exams. Thus is born the Java version of the ancient CFX_AudioInfo.

All future update to this tag will happen in the Java version. Mainly because when making this tag tonight I noticed several pesky bugs in the old C++ version I don't feel like going back and fixing now.

I'll get around to properly documenting and cleaning up the source around v2.1 after it's been tested in the wild a while.

Note: Looking for a Programmer Analyst III in the Knoxville/Oak Ridge,TN area? Email me (at webmaster@intrafoundation.com). Long-term, stable and interesting work is preferred, but as always I'm up for short-term contract jobs as well.


1.0 July 20th 2003. Fixed to work under Java CFMX. Also repaired a few problems I noticed including an incorrect null-pointer with the "file" parameter.
0.4a Dec 18th 2001. Slight repackaging to make work with CF5 during a server move. Recompiled. Didn't feel like dealing with the hassle of redoing the version graphics, so... Pretend I did. This tag is about to become obsolete soon anyway. Good tag. Sit now. Roll over.
0.4 May 13 2000, Midnight. mp3 header decoding was extremely screwed up in the last version. Fixed. Sorry about that. Added mp3 ID3 v1.1 support. Added support for the ridiculously complex ID3v2 format. Added misc other refinements and fields. There are a few other additions that can be made to help populate the fields, but it is close to a finished state. Send feedback.
(0.4 brought to you by the fucking uncensored version of Korn: Issues (esp. track 6), not the "edited" version I accidently bought first. Damn all censors to the 7st level of hell.)
0.3alpha May 12 2000.
0.2alpha May 11 2000. Actually worked on the tag for the first time in months. First release. The tag is "alpha" quality, thus may or may not work. No one else but me has even seen the tag yet, let alone tested it.
0.1alpha April 26 2000.
0.0alpha March 2 2000. This tag is a refit of CFX_ImageInfo 1.4.

Version History


There is no known history available.


There is no gallery currently available.