Re: [keykit] (Linux) Unable to open Port for OSC messages + TUIO receiver program

55 views
Skip to first unread message

O. S.

unread,
May 3, 2012, 1:21:30 PM5/3/12
to KeyKit
2012/5/2 O. S. <funwit...@googlemail.com>
 Receiving did not work yet but I will try to fix this today.
Although the work isn't finished I attached the diff file for other readers.

Hello Tim,

after some analysis of the code I was able to add the udp socket to mdep/linux_alsa. :-)
I attach the patch file of my branch (compared with version 7.7b).
 It's the first time that I'm working with sockets and I barly test it. Nevertheless my project (see beneath) runs fine, now.

Furthermore, I will publish my small project with this email. It connects your 'Space Palette' with Keykit and was written because your videos inspired me!
The first image shows my rebuild of the frame in action (birthday party). :-) At January I didn't know how I can combine keykit with other midi synthesizers and my 'pieces' wasn't  compare-able with your performances ;-)

Best Regards
Olaf

Readme of kinectlib (script for keykit)
============= Description ==========

This programm try to fill the gap between Tim Thompson's
'Space Palette'¹ and Keykit². It can receive TUIO messages of
the following form:

/tuio/25Dblb set [areaid*1000+handid] [x] [y] [z]   ; x,y,z ∈[0,1]

Created Jan 2012 by Olaf Schulz ( funwit...@googlemail.com ).


============= Usage ===================
1. Set OSCPORT (default 3335) to your desired port.
2. Write a class MYAREA (or use the examples in the kinect_areas*-files) which inherit from
mmtt_area
3. Create an instance of your area
        myarea = new MYAREA([...])
    and call
        mmtt_looper([1=myarea], [])
    Now, all updates of area 1 will call the update handler of myarea…

4. Look at the settings*() methodes in kinect.k for some examples.
    I.e. setting0() connect the first area with a simple major scale.

5. Some example areas:
    •mmtt_area_piano : Plays one note. Pitch, duration and volume is selected by hand position.
    •mmtt_area_playmidi : Require list of midi files. Play & Stop midis if area is touched.
    •mmtt_area_bpm : Change the global bpm.
    •mmtt_area_volume : Change the global volume. Sends osc message with new volume.
    •mmtt_area_stepfile : Like piano class but plays the n-th note of some given phrase.
    •mmtt_area_setting_switcher : Switch between different settings (=allocation of areas).


============= Installation ============
Copy files into the lib folder of your keykit installation.

*.k-Files of this programm:

kinect.k
kinect_areas.k
kinect_areas2.k
kinect_areas3.k
oscplayer.k


============ BSD-Licence  ===================

[...]

=============================================
¹ http://nosuch.com/keykit/
² http://spacepalette.com/


linux_alsa_-_osc_messages_v2.patch
kinectlib.zip
101_1223.jpg
101_1214.jpg

Tim Thompson

unread,
May 3, 2012, 4:54:31 PM5/3/12
to O. S., KeyKit
after some analysis of the code I was able to add the udp socket to mdep/linux_alsa. :-)

Terrific!

Furthermore, I will publish my small project with this email. It connects your 'Space Palette' with Keykit and was written because your videos inspired me!
The first image shows my rebuild of the frame in action (birthday party). :-)

Bravo!  I think that's the first time I've seen someone else use a frame with the Kinect at all, much less one that looks just like the Space Palette. I like the way you've modular-ized the keykit code.

     ...Tim...
Reply all
Reply to author
Forward
0 new messages