ImpAmp

From EUTC Wiki
Revision as of 08:58, 12 May 2007 by Amar (talk | contribs) (general update)
The demo

This is a "program" written within a web page to aid Improverts noise boys 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 alpha/demo/proof of concept is available at http://www.see.ed.ac.uk/~s0453136/imps


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


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)
  • Remove songs from the web version to ease download yet provide an on-line example
  • Ability to queue tracks
    • I wanted to pause when you clicked the progress bar but that isn't easily possible
    • Solution might be to click a button in bottom right of screen then it toggles pause
  • 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?

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

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 - all good
  • IE 7 - all good
  • Konqueror - 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