Wiki » History » Version 5

Becky Stewart, 2011-03-07 11:30 AM

1 1 Becky Stewart
h1. Project Summary
2 1 Becky Stewart
3 1 Becky Stewart
This project was first developed for the Royal Academy of Engineering exhibit at the Big Bang Fair 2011.  The aim was to create an engaging interface that creates music with the Kinect in order to encourage students study music technology.
4 1 Becky Stewart
5 1 Becky Stewart
The Kinect camera can track up to 3 people within a space approximately 3m x 3m.  The positions of the people relative to the camera affect the music generated with person controlling different instrument.
6 1 Becky Stewart
7 1 Becky Stewart
h1. System Architecture
8 5 Becky Stewart
!movesynth.png!
9 5 Becky Stewart
10 1 Becky Stewart
11 3 Becky Stewart
h2. User Tracking
12 1 Becky Stewart
13 3 Becky Stewart
Kinect.  OpenNI Openframeworks extension.
14 1 Becky Stewart
15 3 Becky Stewart
h2. Metronome
16 3 Becky Stewart
17 3 Becky Stewart
Max/MSP.
18 3 Becky Stewart
19 3 Becky Stewart
h2. Chord and Note Generator
20 3 Becky Stewart
21 3 Becky Stewart
Processing.
22 3 Becky Stewart
23 3 Becky Stewart
h2. Synthesiser
24 3 Becky Stewart
25 3 Becky Stewart
Ableton with Max for Live.
26 3 Becky Stewart
27 3 Becky Stewart
h1. How to Set It Up
28 3 Becky Stewart
29 3 Becky Stewart
First, make sure you have the most recent code from the repository.
30 3 Becky Stewart
31 3 Becky Stewart
h2. Set Up Network
32 3 Becky Stewart
33 3 Becky Stewart
# On a Mac, click on the wireless icon next to the clock and select "Create Network..." from the drop-down menu.
34 3 Becky Stewart
# Choose a name and password for the network.  Use the Automatic channel selection.  Five letter network names and passwords have proven to be less error-prone when pushing around OSC data, though this may mostly be superstition.
35 3 Becky Stewart
# Open System Preferences, go to Network Settings, click on "Advanced..." and then select the TCP/IP tab.  Note the IP address.  Repeat this process for any other computer being used on the network. 
36 3 Becky Stewart
 
37 3 Becky Stewart
h2. Start Chord Generator
38 3 Becky Stewart
39 3 Becky Stewart
# Open HeresyBigBangDone.pde in Processing (be sure to use version 1.2.1 or later).
40 4 Becky Stewart
# In the file Header, set the NetAddress ableton variable to the IP address of the computer running Ableton.  Save the sketch.
41 4 Becky Stewart
# Hit the play button to start running the program OR export it as a standalone application by choosing "Export..." from the File menu.
42 1 Becky Stewart
43 1 Becky Stewart
h2. Start Metronome
44 4 Becky Stewart
45 4 Becky Stewart
# Open Abletons Max Connection.maxpat in Max/MSP.
46 4 Becky Stewart
# In the object indicated in the lower left portion of the patch, enter the IP address for the computer running the Processing application.
47 4 Becky Stewart
# Click on the toggle switch indicated in the upper left portion of the patch to begin the metronome.
48 4 Becky Stewart
49 4 Becky Stewart
50 1 Becky Stewart
h2. Start Camera Tracking
51 4 Becky Stewart
52 4 Becky Stewart
# Plug in the Kinect camera to the computer that will be running OpenFrameworks. 
53 4 Becky Stewart
# Open XCode project containing the OpenFrameworks environment which points to the .cpp and .h files from the "of" directory of the repository.
54 4 Becky Stewart
# In testApp.h, change the variable HeresyHost to the IP address of the computer running Processing. Save the file.
55 4 Becky Stewart
# Hit build and run to start the application.
56 4 Becky Stewart
57 1 Becky Stewart
h2. Start Synthesiser
58 4 Becky Stewart
59 4 Becky Stewart
# Open Ableton ExCelv2.als in Ableton.