OSC plugin

itsthejayj's picture

Hi Guys, i've finally got my old work colleague to upload the source of an QC Open Sound Control plugin i use. Based on the VVosc framework the plugin notably sends and receives structures of different OSC types including strings. Its also able to open multiple ports, unlike the qc stock and hexlers osc plugin.

'Good news is that it's available at https://github.com/jdelStrother/BBOSC. Bad news is that it doesn't build in Xcode 4 - we used some GUI stuff from BWToolkit, which is no longer supported. If you still have Xcode 3 you might be OK'

The plugin is old and the vvosc frameworks may need updating. If anyone makes changes please upload to the github.

Cheer J

jean_pierre's picture
Re: OSC plugin

rough cut to build with Xcode 4, yank out BWToolkit and sync to the latest VVOpenSource (which i mirrored and forked too): https://github.com/pizthewiz/BBOSC

having not used the patch before, i can't really say it is fully functioning, so do report back your findings. a compiled version of the plugin is attached below, built using the 10.7 sdk but targeting 10.6, i386/x86_64.

PreviewAttachmentSize
BBOSC-1.0.1.zip238.91 KB

cybero's picture
Re: OSC plugin

Thanks for sharing, thus far, these items load in the Patch Library in Lion [10.7.2].

itsthejayj's picture
Re: OSC plugin

Wow, thanks for this Jean, all seem dandy in 10.7 will do some more tests today. Hoping to get some simple documentation of the plugin soon.

I did have problems seeing the plugin in 10.6.8 however.

Again though thanks for the update, hope you can make use of this great plugin

mattl's picture
Re: OSC plugin

Hello.. loads for me in 10.6.8.. but no idea how it works.. can you give some basic instructions on how to set it up? Cheers

itsthejayj's picture
Re: OSC plugin

Strange, i'm still not seeing the plugin in the patch inspector on 10.6.8

Here are two very quick examples showing how the plugin receives multiple different data formats. Open them both and drag the blue ball

PreviewAttachmentSize
BBOSC test comps.zip29.52 KB

itsthejayj's picture
Re: OSC plugin

  • little debugger
PreviewAttachmentSize
debugger.qtz7.49 KB

jean_pierre's picture
Re: OSC plugin

wow that is really neat, essentially the plugin can pack and unpack a structure of data, synchronizing delivery/receipt. i'll have to look at how this is done, but I can already imagine it being pretty helpful.

may i include your sender and receiver examples in the project repository and bundle it into the patch?

itsthejayj's picture
Re: OSC plugin

Sure you can add the example composition Jean, I'm glade you can see the potential of the plugin.

kimba23's picture
Re: OSC plugin

could not get it to work on 10.6.8. Any pointers?

jean_pierre's picture
Re: OSC plugin

sorry i have only used it on Lion, are you placing it into ~/Library/Quartz Composer/Quartz Composer Plug-Ins? if you open Console.app after launching Quartz Composer, do any of the logged messages make mention of BBOSC?

jean_pierre's picture
Re: OSC plugin

after giving it a quick peak on 10.6.8, it appears to be a linker error (3588) which is pretty strange. i will give it a closer look tonight and in the worst case, just build on 10.6.8 instead.

jean_pierre's picture
Re: OSC plugin

one problem has been identified, but that doesn't seem to resolve the whole problem with this specific plugin -- as it turns out, QC added two new constants to 10.7, QCPlugInAttributeCategoriesKey and QCPlugInAttributeExamplesKey, to enable more rich integration for custom plug-ins into the patch library, but unfortunately these new constants were NOT weak linked. so, if using these new constants, one must take extra steps to make a lion built-bundle run on snow leopard.

the details can be found in apple's developer forum and has been filed in apple's bug database as radar://problem/9927446

jean_pierre's picture
Re: OSC plugin

while i haven't managed to identify the root problem (it looks like when building on 10.7 and running on 10.6, some symbol isn't being weakly linked to, which should happen magically), i have sidestepped it by just building with 10.6 as the base SDK, so the version attached below works on 10.6 and 10.7 alike, sorry about that old-OS people (0:

PreviewAttachmentSize
BBOSC-1.0.1-FIXED.zip265.13 KB