Code Monkey home page Code Monkey logo

group5-hw-id-plas's Introduction

BOUNCER

Group 5 PLAS

Project Description

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.

Getting Started

In order to start the system on your own Computer:

  1. Download and install SuperCollider.
  2. Download and install Processing.
  3. Download and install Arduino.
  4. Clone the repo.
  5. Open the file basketball.pde inside the folder Processing.
  6. Make sure to have the following libraries installed (in Sketch > Import Libraries > Manage Libraries):
    • ControlP5
    • Sound
    • OSCP5
    • Supercollider
  7. Run the file clicking on the PLAY BUTTON, (MACOS: cmd+R, Windows: ctrl+R).
  8. Open the file basketball.scd inside the folder SuperCollider.
  9. In the .scd file run the main code section (MACOS: cmd+enter, Windows: ctrl+enter).
  10. Install the Multisense OSC application on a smartphone device.
  11. Find a basketball player.

Usage

  1. Start the Multisense App on the Smartphone and set the correct IP address and port for the PC used as central device.
  2. Position the shake sensor connected to the arduino on the dominant hand used by the player and turn the Arduino on.
  3. Launch Supercollider and Processing scripts.
  4. ENJOY!!

Processing GUI

Processing allows the user control some parameters of the CMS in order to manipulate its behaviour. In particular the available parameters are:

  1. TEMPO: used to speed-up or slow-down the music.
  2. 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.

ARDUINO

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.

Folder Structure

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.

Notes

Components

Alberto Doimo ([email protected])

Paolo Ostan ([email protected])

Stefano Donà ([email protected])

Lorenzo Curcio ([email protected])

group5-hw-id-plas's People

Contributors

pos17 avatar lorenzocurcio avatar albertodoimo avatar

Watchers

 avatar

Forkers

albertodoimo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.