For any one who wishes to know what Music Technology at Edinburgh actually means? well this is what i created for my final year project, a literal creative fusion of music technology and technology! Enjoy!
Showing posts with label coding. Show all posts
Showing posts with label coding. Show all posts
Monday, 9 April 2012
Final Year Project Video Demonstration
Labels:
C#,
coding,
favourite,
final work,
kinect,
video games
Thursday, 25 August 2011
Max/Msp to Kinect Via OSC for Offical Microsoft SDK

Today I finished the very first stages of my 4th year research project which was finding a way to take data from the Xbox Kinect and send it to Max/Msp. By using the Ventuz OSC C# wrapper i was able to pack all the X, Y, Z data for all the skeletal points into an OSC bundle and send that to Max where it was unpacked in the patch.
The data sent from the Kinect is the unchanged co-ordinate system of values in metres rangeing from -1 to 1.
That being said the data sent from Kinect to Max can be used by any device that is capable of reading OSC packets .The format of the OSC message is
/joint/skeleton_[1/2]/[joint] x, y, z
This is a simple implementation allows quick and easy access to the full power of the kinects skeletal tracking in windows for users of the offical SDK over OSC. I hope it can be of some use.
Download
MediaFire Mirror
Saturday, 30 April 2011
Chaos Music - The Final Piece
Chaos music is a composition based on my research and programming of the functions documented in my previous post. The piece uses the output data from the chaotic functions to drive musical synthesis with the built in functions of CLM, more explanation about methodology can be found in the attached report.
Final Piece
Download Source and Report

Download
Final Piece
Download Source and Report

Download
Labels:
algorithmic composition,
clm,
coding,
favourite,
final work
Algorithmic Comp. Piece 2 Research - Choas Functions
For my final year piece iv been researching choatic functions and non-linear maps. Below is a selection of function iv ported into Lisp. Each function outputs a text file that can be imported into most graphing software (the corresponding pictures were all produced with MATLAB). I intend to implement these functions and use there output to drive a piece of music.
The Logistic Equation

The Henon Map
The Logistic Equation

(with-open-file (*standard-output* "logistic.txt" :direction :output
:if-exists :supersede)
(let* ((x 0.5)
(r-env '(0 1 1000 4.0))
(r 0.0))
(loop for i below 1000 do
(setf r (envelope-interp i r-env)
x (* r (* x (- 1 x))))
(format t "~D ~D~%" r x)
)))
The Henon Map
Labels:
algorithmic composition,
clm,
coding,
favourite,
final work
Algorithmic Composition with Common Lisp Music - Piece 1
This composition was used as an inital exploration into the world of Lisp and Common Lisp Music 4 (CLM). It experiemtned with using the builtin instruments as well as instruments provided by the course lecturer. It takes loose inspiration from a piece by John Chowning with more explanation in the report. All samples used are referenced from within the source file and can be downloaded from www.freesound.org
Final Composition
Download Source and Report
Download
Final Composition
Download Source and Report
Download
Labels:
algorithmic composition,
clm,
coding,
composition
Fourier Analysis and MATLAB - Phase Vocoder
My first go at using MATLAB as a language was to build a phase vocoder with variable Q (below 1.5 works best) and create a GUI for easier use. It contains two methods of stretching Both versions of the source code are attached (GUI and non-GUI). Isnt the fastest implementation so I would advise against trying to stretch large files. There are two algorithums included for stretching, the first use Overlap add of windows to create the strech where as the other takes into account phase modifications
Non-GUI implementation
Download
GUI Implementation
Download
Non-GUI implementation
Download
GUI Implementation
Download
Labels:
coding,
final work,
matlab
Computer Programming for Music Technology - Quadraphonic Delay In C and Max/Msp
The final piece of a course in C and its uses in building Max/Msp objects was to design and code a quadraphonic (four tap) delay in C for use as a Max/Msp object. The delay takes an incoming mono signal and allows the user to set four delay times which correspond to the the four outputs.
Source code and Object
Download
Built using Max/Msp SDK 5.1.6, tested on Windows 7 with Max/Msp 5.0.7
Source code and Object
Download
Built using Max/Msp SDK 5.1.6, tested on Windows 7 with Max/Msp 5.0.7
Labels:
C,
coding,
final work,
max/msp
Subscribe to:
Posts (Atom)