Synapse for Kinect

Osc interface for Max and Ableton Live

By Ryan Challinor

http://synapsekinect.tumblr.com/post/6307790318/synapse-for-kinect

Synapse is an open source skeleton driver that sends out skeleton data via OSC. The data can then be processed in Max or M4L. There are interesting M4L devices available  in a set called dubkinect that demonstrates body movement controlling Midi devices and triggering clips.

Using this technique today I was able to create a 3D air piano. You can send the Kinect data from Synapse into QuartzComposer at the same time you are doing the M4L audio program.

The Beat Wheel (by Ryan Challinor) : http://youtu.be/napIffdEHdk

code: http://wiki.musichackday.org/index.php?title=Kinect_BeatWheel

Note: the code crashed in Max6 but worked fine in Max5 on this 30th of July…

(Edit 9/24/2012) Just started looking at the patch for beatWheel – need to parse out the hand movement stuff and also look at the Max for Live dubkinect stuff to get a better sense of what the OSC commands are and the data range for various movements.

 

 

Guitar Hero in Max

Updated: 5/2014

download

The fretbuz_v0.2 files are on github: https://github.com/tkzic/guitar-hero

dependencies

May need to get the PeRcolate_06 library?

drivers

See this post: https://reactivemusic.net/?p=11504

instructions

This patch (buzz_360) has issues, but it shows how to use and calibrate a Guitar Hero guitar controller in Max/MSP.

Use /guitarhero/buzz_360_tz3 version

There’s no way to make this work clean for a demo without taking apart the whole button driver patch (buzz_setup_360) and it has some serious max6 compatibility issues. So it just needs to be calibrated everytime for now.

Use the GRY mode for a demo…

Before using patch, restart Max.

Works in Max6 – need to calibrate first, don’t worry about tilt and whammy for this app but you need to calibrate them first anyway by pressing the X toggle, tilt, then unpress, or it wont work. when you calibrate the buttons, the X toggle should disappear. then save and untoggle the config box.

Cool modes: (guitar)

To set a mode,

  • hold “back” button
  • then hold down the color code keys (for example, RY means “red and yellow”)
  • then release “back” button

modes

  • RY – solo mode – hold down frets and twiddle
  • GRY – 2 hand tap mode – orange does major 3rd up shift – holding flipper down does one button thing – my favorite!
  • GB – uses tilt sensor
  • also Y – power chords

 

Using Arduino MIDI shields/library

notes

To connect the Sparkfun MIDI shield, all you need connect is rx, tx, gnd, and 5v

Here is documentation for MIDI library:

http://arduinomidilib.sourceforge.net/a00001.html

Midi thru is enabled by default and can be disabled by MIDI.turnThruOff()

There were problems running MIDI library on an arduino UNO with the USB cable hooked up.  So I’m not sure what interaction is happening with the Serial comm stuff in that case, but everything works fine with external power source.

(Update) tried running the shield with minimal connection as above and had no problem using USB power connection.

MIDI out via USB

cable converter:

 http://shiftmore.blogspot.com/2010/01/quick-and-dirty-arduino-midi-over-usb.html

Midi In via USB Host shield (for MIDI devices that normally hook into a computer via USB)

http://www.circuitsathome.com/mcu/interfacing-midi-devices-with-arduino-using-usb-host-shield

http://www.circuitsathome.com/products-page/arduino-shields/usb-host-shield-2-0-for-arduino/

Jitter OpenGL to 3d printer?

update 6/2014: This patch seems to be broken. Christopher Konopka is actively working on setting up a process to 3d print OpenGL objects – based on the work described below. Stay tuned…

original post

Look near the end of this thread for patch that exports jit.gl stuff?…

http://cycling74.com/forums/topic/export-3d-model-from-jitter-gl-import-nurbs/

I tried out the following patch, from the thread and it creates an export file which can be imported into mesh lab. The patch name is saveashape.maxpat

[note] I think this was saved on a windows machine – can’t find the local instance of it as of 12/2013

Btw., this google search finds some very cool projects: max/msp jitter “3d printer”

open GL 3d printing in windows…

 http://www.michaelang.com/3d-printing-from-processing

Podcast test

Bowling Night…

I set up an example blog for podcasting at wordpress.com. The media files are on my server (zerokidz) because you can’t upload mp3’s to wordpress.com without a space upgrade.

feed: http://bowlingnight.wordpress.com/category/podcast/feed

This is what you would copy into iTunes (file | subscribe to podcast) to make it work:

http://bowlingnight.wordpress.com/feed/

Note that the url contains the category: podcast, and the word  ‘feed’.

Its probably worth trying to run the feed through feedburner as well. Apparently they are set up to handle more of the meta data.