workbench
6 years ago we have put up a table in our cellar for soldering and making stuff. since then we put various stuff in big boxes on the table an in front of it "just until we find a proper place" ... :-/
today we finaly managed to clean our cellar, put up 3 new shelves and store the stuff in them, and - TADA - the table can be used now!!
i just went down and soldered a kit - just because i can :-)
read more ...chuck icontrol
I own a m-audio icontrol and some time ago i started to play with chuck a programming language for making electronic music. today i managed to link them together and use my icontrol to start and stop my chuck programms :-)
next thing i will try is to convert the values from the "endless"-knobs to floats and to pass messages to the sub programms
1 => int device;
MidiIn min;
MidiOut mout;
MidiMsg msg;
// open the device
if( !min.open( device ) ) me.exit();
if( !mout.open( device ) ) me.exit();
[0,0,0,0,0,0,0,0] @=> int on[];
[-1, -1, -1, -1, -1, -1, -1, -1] @=> int ids[];
["beep.ck", "sing.ck", "autoloop.ck", "", "", "", "", "" ] @=> string names[];
while ( true ) {
min => now;
// get the message(s)
while( min.recv(msg) ) {
// print out midi message
<<< msg.data1, msg.data2, msg.data3 >>>;
if ( msg.data1 == 176 && msg.data2 >= 64 && msg.data2 < 72 && msg.data3 == 127 ) {
msg.data2 - 64 => int chan;
if ( on[chan] == 1 ) {
0 => on[chan];
sendOff( chan );
if (ids[chan] > 0) {
Machine.remove( ids[ chan ] )
-1 => ids[chan];
}
} else {
1 => on[chan];
sendOn( chan );
if ( names[chan] != "" ) {
Machine.add( names[chan] ) => ids[chan];
}
}
}
// send( msg.data1, msg.data2, msg.data3 );
}
}
fun void sendOn( int chan ) {
send( 176, 64 + chan , 127 );
}
fun void sendOff( int chan ) {
send( 176, 64 + chan, 0 );
}
fun void send( int d1, int d2, int d3 ) {
MidiMsg msg;
d1 => msg.data1;
d2 => msg.data2;
d3 => msg.data3;
mout.send( msg );
}
read more ...multitouch
since i have heard of lemur i wanted to try a multitouch display. i later found instructions on instructables.com showing how to build an DYI-Multitouch Display using a pictureframe, some infrared leds, a modified webcam and a lcd projector .
i dont own a lcd projector and so my multitouch display still remained a dream.
but recently i found a blog-post showing how to build a "moultitouch light". This version doesnt use infrared but normal light and it doesnt display the picture on the display but uses a second monitor.
i quickly hacked together my own version 
and managed to get some of the demos running :-) - VEEEEERY COOL
(aehm - yes the penguin is a webcam)
i didnt manage to get the flash demos running on linux but the smoke demo and the calibration tool are working now
read more ...

