quinta-feira, 25 de março de 2010

Webcam Painter

This is a work in development.

It paints based on your movements, and the paint disappears after a while.

It was done based on example patch of opticalflow.

gl

Traktor (will work with others)Coge Midi clock Sync with OSC

This is a cross platform alternative for synchronizing two(or more) different computers to one Midi Clock.
Since one will have coge this will be between a Mac OSX and windows running traktor that produces midi clock.

For windows Midi Yoke (tested in XP) to wrap Midi clock to Pure Data extended (tested with v 0.41.4) from there the clock will be sent has an OSC message to one or all network computer(s). On the listening side there will be one other Pure Data patch converting a specific OSC message to Midi clock. Then coge can catch this midi clock just by clicking "Midi clk".

This is nothing special but it took me almost 3 weeks to accomplish it. Given that i knew nothing about pure data at the time, this site was very helpful. All examples were gathered from here.

Also note that this is not the best way.

There are Midi cables for this.
There are usb to midi converters, for those who don't have midi ports. Also external sound boards quite good with several inputs and outputs.
I have experienced a +/- 3 Beats float of BPM count on coge but always around the correct number, over time this seems to float less.
This still lacks testing.

Anyway.
You'll need Pure data extended on every machine.
You'll need Midi Yoke on Windows.
You can use Yac Driver on Mac OSX for midi wrap.
Don't know for linux, sorry. (read somewhere something about jack)
PureData_MIDIOSCMIDI_kit

On pure data you'll need to define the midi device input or output which ever is the case.

On windows it's easy on any pure data windows you can set midi devices, choose midi Yoke (the channel number should be the same in the receiver input and sender output).
On OSX it's on the main window, under preferences.

If using this with quartz composer one can skip the pure data on the OSC server side (which is the one that listens). If adding more functions to this keep in mind that quartz composer does not understands 0 arguments messages. (I think this should be a bug)

You are advised to change the IP on the pure data patch to which ever is your destination. You can use 0.0.0.0 to broadcast. Don't use wireless, it's a 0 security communication protocol.

Hope to save someone's time. GL

Webcam Piano With Quartz Composer

First you should check this site: memo.tv which explains everything

Then you can check my mod of memo webcam piano, that removes the need of OSCulator.
Note that midi does not work over network.

Also, the video reverse (mirror) isn't working properly for grid animation.

If you do anything with this i'd love to see the result.
Specially any public reactions from performances.
gl