Group 5 PLAS
Interaction Design Project developed combining SuperCollider, Processing and Arduino for the course of Computer Music Languages and Systems.
BOUNCER is a system that produces music following the movements of a basketball player, and can provide a pleasant background for a training session. Exploiting the combination of hardware and software interactions the user can manipulate both the music generated by the system and the visuals connected to it. A complete description of the development of the system can be found in the report.
In order to start the system on your own Computer:
- Download and install SuperCollider.
- Download and install Processing.
- Download and install Arduino.
- Clone the repo.
- Open the file basketball.pde inside the folder Processing.
- Make sure to have the following libraries installed (in Sketch > Import Libraries > Manage Libraries):
- ControlP5
- Sound
- OSCP5
- Supercollider
- Run the file clicking on the PLAY BUTTON, (MACOS: cmd+R, Windows: ctrl+R).
- Open the file basketball.scd inside the folder SuperCollider.
- In the .scd file run the main code section (MACOS: cmd+enter, Windows: ctrl+enter).
- Install the Multisense OSC application on a smartphone device.
- Find a basketball player.
- Start the Multisense App on the Smartphone and set the correct IP address and port for the PC used as central device.
- Position the shake sensor connected to the arduino on the dominant hand used by the player and turn the Arduino on.
- Launch Supercollider and Processing scripts.
- ENJOY!!
Processing allows the user control some parameters of the CMS in order to manipulate its behaviour. In particular the available parameters are:
- TEMPO: used to speed-up or slow-down the music.
- ROOT NOTE: used to select the tonality of the generated music.
The mixer view allows the user to modify the volumes of the instruments generated in SuperCollider, to mute and to solo them.
Choosing the "sensors" button allows to open the page where the values of the sensors are plotted.
The Arduino device is used to both transmit the data acquired by the shake sensor and to control the volume of the system.
After some tests the best position used to mount the system turned out to be the one showed in the picture below.
The repository contains 4 principal folders:
- "arduino" containing the Source code for arduino.
- "Processing" containing the Source code for GUI.
- "SuperCollider" containing the Computer Music Engine.
- "gitAssets" containing the images used in the report and in the README.
Alberto Doimo ([email protected])
Paolo Ostan ([email protected]) Stefano Donà ([email protected]) Lorenzo Curcio ([email protected])