Reactable Clon Patch

shaker08's picture

Hello everyone!! i worked for a time in a reactable "clon" project ,im a sound technician so i started with the audio section ,it works perfectly,buuut... the video secction give me some problems.. i built a multitouch box that looks very cool but need a good visual design. I hope to finish the project this summer to publish it and that everyone can build their own home reactable. so i will explain my patch:

-NOTE:to test this patch will need to be installed reactivision soft and have some fiducial marker printeds ,and kineme GL tools installed too

its a QC demo client custom patch to look like the original reactivision, i change the clear color to blue and created a withe point in the middle of the patch,when you show to cam a fiducial marker its created a square in the patch that connects with the center white point by a GL line. GL line pluguin has a image input where we can add the "oscilloscope" section from audio-frecuency.qtz to see the waveform audio into the line. I try it but doesnt work... i adjust the line width to the maximun value( 9 for me )but with the conecction the image dissapear..ok i try it using GL quad instead line and work fine!! but GL quad work in 3 dimension and i only need like a line more width how can show the waveform.i hope everyone understand the problem..

i upload the patch for people testing,and sorry for my english.THANKS!!

PreviewAttachmentSize
idea to ponktable (v.kineme).qtz16.74 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cybero's picture
Re: Reactable Clon Patch

Sounds interesting but the TUIO plugin crashes out 64 bit and 32 bit QC alike on 10.6.x. Might give this a try out in Leopard later though. Thanks for sharing , shaker08

dust's picture
Re: Reactable Clon Patch

here this shows you how to put the waveform image inside the gl line. unfortunately if your trying to clone martins reactable and visualize the spectrum as an oscilloscope type of waveform i'm afraid its not as simple as adding the waveform image to a line.

i guess the principle of what you are trying to do is with a segmented line. you can try the 1024 wave plugin or kineme line structure. the start and end points are not as clear with a set up like this. honestly this might be a bit easier for you to accomplish with something like open frameworks.

however you could take the smorkis oscilloscope patch or 1024 wave patch then feed in your spectrum and throw that in a 3d transform then anchor down to your center point bt off setting your xy. you will then mess with transformation and origin controls to have the end of your wave follow your object. the math is a bit tricky but you will have to rotate z as well with theta or your arc tangent(y,x) making sure to convert radians to degrees etc...

also you could look at the mouse ribbon dev example and change the mesh creator to type line then have a multiplexor switch between 0,0 and your object xpos+(spectrum), ypos+(spectrum) while you are queuing up your ribbon. you would then add the peak amplitude to a conditional to switch the index of the multiplexor so that the verts bounce back an forth between where your object is and the dot in the center to the music.

these will get you started. one the way you are trying right now and the other is a simple 1024 waveform line structure that you will want to pin down and translate.

also you might want to check out tb_soundflower patch as it is very good example of how to use kineme waveforms @ machinesdontcare.wordpress

sorry i can not be of more help as it is easier to explain than implement.

PreviewAttachmentSize
_1024_WaveGenerator SIMPLE.qtz6.4 KB
lineImage.qtz37.88 KB

shaker08's picture
Re: Reactable Clon Patch

thanks cybero for me work fine in 10.5.8

shaker08's picture
Re: Reactable Clon Patch

thanks dust! i try to use 1024 wavegenerator.pluguin but no work for me and audiovideo-0.1pluguin from cwright and no work too...

maybe i need a pluguin between GLquad and "simple" sprite...with 4 x/y points and with z rotation like sprite

i upload a patch example using "x" mouse position to control "z rotation

PreviewAttachmentSize
position example waveform.qtz5.44 KB

jersmi's picture
Re: Reactable Clon Patch

The Reactivision / TUIO setup works for me in 10.6 / 32 bit, though I haven't dove much farther than some initial tests to see just how well it works (not so good once fiducials tilt away from the camera).

cybero's picture
Re: Reactable Clon Patch

Doh !

I'd not been using the reactivision plugin.

That's why I've been reporting these puzzling exceptions.

With the most up to date version installed reacTIVisionTUIO the compositions open AOK. [32 or 64 bit 10.6.x]