ImpAmp

From EUTC Wiki
Revision as of 18:55, 17 May 2007 by Amar (talk | contribs)
The demo

This is a "program" written within a web page to aid Improverts noise boys and girls with playing sounds at a moment's notice.

The idea is that you can assign a mp3 file to a letter on the keyboard then pressing that letter instantly starts that song. Support for pages has been added so you can have games themes in page one, emergency tracks in page 2, sound effects in page 3 etc. The program has been written within a web page to make it easy to use on different systems/computers. All you need is Firefox and flash installed with javascript enabled.

Currently an on-line beta copy is available HERE WARNING VERY LARGE DOWNLOAD! or download the gziped tar archive HERE

please email any suggestions, comments, improvements or additional tracks to runningamar at gmail (I am not putting my full email on the web)

Current Features

  • Basic functionality works, pressing a letter or clicking will start or stop/reset it
  • A stop all function has been added with the space bar
  • Track title has been added to buttons Via ID3 data
  • Support for 10 separate pages has been added though only 4 are currently being used
  • Ability to queue tracks
    • A basic queueing function has been added, though it is VERY buggy
    • You can click the Queue button down in the bottom right to toggle play/pause instead of play/stop

Wanted Features/ToDo List

  • Create a default setup with games, sound effects, emergency tracks all pre-queued (for offline versions)
    • (mostly there, few more tracks required - please email any ones you want added to runningamar at gmail)
  • Remove songs from the web version to ease download yet provide an on-line example
  • Add emergency tracks to enter
    • I have set it up to run a separate function but currently it just plays the one song
    • In future I want to add a random feature
  • Add your own files easily via a GUI
    • This is a long term thing, don't expect it before fringe
  • Possibly add volume control? or just leave that to operating systems and the sound desk?
  • Wanted songs please email any ones you want added to runningamar at gmail
    • the new American Musical
    • better Spin Doctor
    • Pirates of the Caribbean
    • better gunshot
    • Blank mp3 file, with id3 title tag " " to get rid of the undefined tags
    • something else I forgot?

Bugs Issues and Limitations

Fails to load on local machines - You need to edit the flash security settings

Limited to mp3 files - This is a soundmanager2 limitation

linux fails to load - AFAICT it must use the non-free flash plugin from Adobe

Browser support

In theory it should work in all of the following:

  • IE 5.0+, Win32
  • Netscape 8.0+, Windows/Mac
  • Mozilla 1.7.5+, Windows/Mac
  • Firefox 1.0+, Windows/Mac
  • Firefox 1.5+, Linux (Flash 9 beta)
  • Safari 1.3+, Mac
  • Opera 9.10+, Windows

Actually tested with

  • Firefox 2.0.0.3- all good
  • IE 7 - all good
  • Safari - Worked functionally but the progress bars had no background
  • Konqueror 3.5.6 - did not load

Under the Bonnet

The program uses flash to play music controlled by javascript. The 2 are merged using soundmanager2 which provides an API to do so. SoundManager2 is released under the BSD licence

The page is based on the drumkit demo found at http://www.schillmania.com/projects/soundmanager2/demo/mpc/

I have edited the soundmanager API slightly to suit my needs

Thanks to Scott Schiller - http://www.schillmania.com