Universal OSC IP Address

scalf's picture

When using the OSC Receiver patch, how can one use a universal OSC IP address for incoming messages?

I know you can use for use when receiving any messages on the local machine, but is there a prefix for the patch to route in any message coming in, indifferent of the message coming from the local machine or a networked device?

Multiple Interactions with Sprite

scalf's picture


I have been trying to make a slider that responds to direct interaction (mouse) and also to 2 finger drags (magic pad). So that I can click and drag the slider to a position and/or use a 2 finger gesture to drag the slider into a new position also. Sort of like how the song timeline interaction on itunes works.

The problem I have had is getting the values to blend together. For instance, when I click and drag (Mouse) the slider from the origin to a value the slider reverts to the initial position before moving in a (Gesture) making the blending between interactions jerky.

I'd ideally like to have this slider respond to mouse clicks, gestures, and any OSC input I define. The issue is getting the values to merge together without jerky transitions.

I know there is a real good way to do this. They are all over in most programs, how can this functionality be emulated in Quartz? It's like the 2 Finger Drag Patch needs to have an updated value of where the slider is when I click it that way there is not a gap between values when the interactions are switched.

Thanks for any suggestions

You'll need 1024's Selector Plugin (Handy anyways) http://1024d.wordpress.com/qc-plugins/

TouchOSC Pushbutton Sample&Hold

gtoledo3's picture

I was making a grid of buttons with TouchOSC yesterday, and wanted to set it up so that each button had a value assigned to it, and when someone pushes the button for the value to stick until they push the next button. So, if button 1 is pressed, it delivers a 1, then if button 5 is pressed it delivers a 5, for example - with only one value allowed to be generated in the button grid.

When I was looking through the options, there are pushbutton types that generate a value only when your finger is on the button, and then toggle types that you push on, then off.

The "problem" for using the toggle type for me, was that you could have multiple buttons depressed, whereas I needed the grid of buttons to only be able to deliver one output value - the last pressed.

I started fiddling around with some math patches and sample&holds, and realized I'd started recreating a part of smokris's VCR composition.

The solution is pretty simple - use the pushbuttons, and multiple each button value by the ID # that the button is supposed to have. Then, sum them all. Connect the output of the summing to the value input on a Sample & Hold. That's it! :-) I'm attaching a picture to show the setup.

Output Power

scalf's picture


Similar to my post about outputting the frame rate of the composition to any device, is there a way to output the power remaining (seconds, percent, etc) of a computer as well?

I looked and there seemed to be no indication of such a patch. Would it be safe to say another java patch could be a way to output this info?

Output Frame Rate

scalf's picture

I was wondering if there was a way to output the frame rate of a composition, such as to another computer or device via OSC.

When I pull up the fps patch, there are only inputs and no outs. Is there a way to get the fps number into some sort of output?