Wiki » History » Version 4

Becky Stewart, 2011-03-04 06:17 PM

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 1 Becky Stewart
9 3 Becky Stewart
h2. User Tracking
10 1 Becky Stewart
11 3 Becky Stewart
Kinect.  OpenNI Openframeworks extension.
12 1 Becky Stewart
13 3 Becky Stewart
h2. Metronome
14 3 Becky Stewart
15 3 Becky Stewart
Max/MSP.
16 3 Becky Stewart
17 3 Becky Stewart
h2. Chord and Note Generator
18 3 Becky Stewart
19 3 Becky Stewart
Processing.
20 3 Becky Stewart
21 3 Becky Stewart
h2. Synthesiser
22 3 Becky Stewart
23 3 Becky Stewart
Ableton with Max for Live.
24 3 Becky Stewart
25 3 Becky Stewart
h1. How to Set It Up
26 3 Becky Stewart
27 3 Becky Stewart
First, make sure you have the most recent code from the repository.
28 3 Becky Stewart
29 3 Becky Stewart
h2. Set Up Network
30 3 Becky Stewart
31 3 Becky Stewart
# On a Mac, click on the wireless icon next to the clock and select "Create Network..." from the drop-down menu.
32 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.
33 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. 
34 3 Becky Stewart
 
35 3 Becky Stewart
h2. Start Chord Generator
36 3 Becky Stewart
37 3 Becky Stewart
# Open HeresyBigBangDone.pde in Processing (be sure to use version 1.2.1 or later).
38 4 Becky Stewart
# In the file Header, set the NetAddress ableton variable to the IP address of the computer running Ableton.  Save the sketch.
39 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.
40 1 Becky Stewart
41 1 Becky Stewart
h2. Start Metronome
42 4 Becky Stewart
43 4 Becky Stewart
# Open Abletons Max Connection.maxpat in Max/MSP.
44 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.
45 4 Becky Stewart
# Click on the toggle switch indicated in the upper left portion of the patch to begin the metronome.
46 4 Becky Stewart
47 4 Becky Stewart
48 1 Becky Stewart
h2. Start Camera Tracking
49 4 Becky Stewart
50 4 Becky Stewart
# Plug in the Kinect camera to the computer that will be running OpenFrameworks. 
51 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.
52 4 Becky Stewart
# In testApp.h, change the variable HeresyHost to the IP address of the computer running Processing. Save the file.
53 4 Becky Stewart
# Hit build and run to start the application.
54 4 Becky Stewart
55 1 Becky Stewart
h2. Start Synthesiser
56 4 Becky Stewart
57 4 Becky Stewart
# Open Ableton ExCelv2.als in Ableton.