SDG Fun With Music
<< Back to the SDG Toolkit page
SDG Fun with Music
Fun with Music is an easy to use program that allows up to four users to play in their very own mini-orchestra! Each player controls one instrument and plays it using the mouse cursor. Each user's cursor takes the form of the instrument they choose and is surrounded by a box whose colour corresponds to their player colour. For example, player 1's cursor is surrounded by a red box. The instrument panel at the top of the screen allows users to choose one of nine instruments. Users can choose an instrument either by clicking the one they want to use, or by using the mouse wheel. When a user switches instruments any sound currently being produced by their instrument is stopped. The following instruments are available:

Download: sdg-FunwithMusicExe.zip Source: sdg-FunwithMusicSrc.zip Unzip all files (executable plus dependancies) into a single folder. |
How it works:
Fun with Music is an easy to use program that allows up to four users to play in their very own mini-orchestra! Each player controls one instrument and plays it using the mouse cursor. Each user's cursor takes the form of the instrument they choose and is surrounded by a box whose colour corresponds to their player colour. For example, player 1's cursor is surrounded by a red box. The instrument panel at the top of the screen allows users to choose one of nine instruments. Users can choose an instrument either by clicking the one they want to use, or by using the mouse wheel. When a user switches instruments any sound currently being produced by their instrument is stopped. The following instruments are available:
- Trumpet
- Xylophone
- Guitar
- Accordion
- Keyboard
- Oboe
- Banjo
- Violin
- Piano
There are several different ways to use an instrument. By default, a user is in "play always" mode and can play an instrument simply by moving the mouse over the main music window. This window allows users to play one of fifteen different notes. By moving the mouse left and right the volume of the note can be adjusted - moving left will lower the volume while moving right will increase the volume.
The status window in the top right of the program displays the status of each user. If a player's status is:
- Not connected, it means no mouse is connected for that player
- Play always, it means that sound will play continually as the mouse is moved in the main music window
- Play-by-click, it means the sound will play for a brief period of time each time the mouse is clicked in the main music window
- Play-until-click, it means the sound will play indefinitely or until completion, or until the mouse is clicked again, in the main music window
A player's status can be changed in one of two ways. By clicking on the buttons in the top right of the screen, the user can switch between "play always", "play-by-click", and "play-until-click" modes. The second method is quicker: by using the right mouse button the user can cycle through the different modes. When a user switches modes any sound currently being produced by their instrument is stopped.
Links
This SDG example is developed by: Phil Serchuck Jan 2006 as a course assignment for CPSC 581 (U Calgary), with permission