Jukebox 1.0

Category / Domain : Sound
SCOL Voy@ger Compatibility : V 2.0c or above
Update : 2000/09

Function

The JUKEBOX module lets you select music files (.wav and .mid formats) from a list and put them in a queue so they can be played one after another.

The module is composed of two elements:
Configuration


Figure 1 : Jukebox module interface

(1) : Add => Adds a wave or midi file to the list with an alias.

The file must be saved in "Scol\Partition".

(2) : Edit => Used to change the sound file and the name of its associated alias associated.

(3) : Del =>Deletes the selected file.

Implemention

Action Function
module.event à jukebox.edit Saves the client in the list of administrators and displays the client in Admin mode.
module.event à jukebox.show Displays the client in normal mode.
module.event à jukebox.register Creates a client and saves it to the list of clients.
module.event à jukebox.unregister Deletes a client from the list.
module.event à jukebox.destroy Removes the client.

Event Function
jukebox.started à module Action Starting a file triggers an action.
jukebox.finished à module Action

Reaching the end of a file or stopping it triggers an action.


Zone Function Interface Assignment
Jukebox.list Contains the list of available files. Client No
Jukebox.queue Contains the list of files waiting to be played. Client No