longSpeaker 1.1

Category / Domain : Sound
SCOL Voy@ger Compatibility : V 3.0c or above
Update : 2004/03

Function

The LONGSPEAKER module allows the broadcast of voice in a 3d cell by means of a microphone. Users thus can talk each other live (vocal chat).

The Scolmaster can choose between :
- a click, the microphone is opened, an other click, the microphone is closed;
- the mouse must keep down that the microphone keep open.

The interface can be entirely customizable.

Clic on dms\sound\longspeaker\testls.scol to see this module in action.

Configuration


Figure 1 : longSpeaker module interface

REC ON -> PLAY MUTE : files jpeg or bmp : textures of the 5 buttons of the interface cliente.

Ne pas devoir garder la souris appuyée pour parler : by checking this box, the microphone of the visitor will be closed only after a second click to close the recording. Otherwise, it will have to maintain the button of its mouse down to keep its open microphone.

Fond : This file bmp ou jpeg allowes to customize the zone where the pseudo will be displayed. If this field stays empty, a flat tint "system" will be used.

Taille de la font du pseudo : allow the font size of pseudo displayed

Couleur font : allow the color of this font.

Implementation

Open the SCS creation tree, select the Sound folder and double-click on the Speaker 3.0.
Set the three client objects (zones).
Create required links for the project.

Action Function
module.event à longspeaker.destroy Closes the speaker module
module.event à longspeaker.start_direct

Allows a dialogue through microphones connected modem to modem (bypassing the server)

module.event à longspeaker.show Show interface
module.event à longspeaker.hide Hide interface

Event Function
longspeaker.destroyed à module Action Closing the SPEAKER module generates an action
longspeaker.entering à module Action Entering the SPEAKER module generates an action
longspeaker.silent à module Action Used to mute the SPEAKER module in order to free up the sound card for other use
longspeaker.shown -> module.action the interface is shown
longspeaker.hidden -> module.action the interface is hidden

Zone Function Interface Assignment
Speaker.buttonrec

Button used to broadcast

Client Yes
Speaker.buttonplay Button activated when a user speaks Client Yes
Speaker.info Displays the name of the user who is speaking Client Yes