< Back to IRCAM Forum

Simple Spat Viewer / Panner setup - an OSC questions

Hey Guys,
Really simple question but I’m struggling to figure it out.
I’ve got a very simple spat setup involving the speaker.congig, viewer and pan~ (I don’t need the reverberation for this particular experiment)
I’m just playing around with setup procedures / sending messages in the right order etc. I’ve got my head around most of it through brute force - but I am left with one head scratcher. I don’t think it matters, but I dislike error messages in my console :slight_smile:

Essentially, if I send a bunch of /source/*/color messages to the viewer, they also get passed to the pan~, and the pan~ throws up error messages.

Do I need to capture these messages and block them myself, or have I just set the patch up in a non-standard way (very possible)

Attached the relevant little bit of the patch to this document - it shows the error on load.

I’m sure its such a newbie mistake - but I’ve scratched my head long and hard (as well as just sticking my head in the sand for the last week ignoring it) and can’t come up with a solution.

Cheers!

SpatSetup.maxpat (24.6 KB)

Hi,

Yes the pan object expects a position format. A spat5.osc.ignore “/source/*/color” object should save the trouble…

It’s all I can think of… ?

Bye

N.

Hi,

This is not a newbie mistake, this is a tiny bug.
I can think of four options:

  • the error being totally benign (it’s just that spat5.pan~ has nothing to do with the color messages), you could just ignore it (close your eyes)
  • as suggested by Nadir, use spat5.osc.ignore to explicitly ignore the messages
  • use the @initwith attribute, as suggested in the attached patcher
  • wait for the next release, where this little bug will be fixed.

Cheers,
T.

  
----------begin_max5_patcher----------  
1830.3oc6as0iahCE94L+JP7RkVMkf4N6SscWo9xVoUpUZeXZ0HC3jwcHlrF  
Xlosp8295K.Ax.DmYb61NJUZBDaiO2+NGeH8KmsvLo3NToowuabgwhEe4rEK  
DCwGXQy2WXtAdWZNrTrLyxsvJeqhxTqavnaMOWtjsTTIhTAqvEjKonzJ4V54  
EZABBBhBsAfPPTn+4Ftg.Ka1EuX9EGOeKaiOzrM3LAMJR93yca2ZR8FLIGUI  
HOX2fE0Usi51xEvpzqvj0OBNPtqUeZKR97llmaXhIU7KlFefunud1Y7ONWQE  
FAcKSdZklJzcBNyrxHwH4.pO.PvnQN7OAN1B10Yb8kS6dUV8obAyadDZPmo0  
fGjItmJKARVy0Wh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Oh I’m glad I’m not going entirely crazy. Thanks for looking.

I think using the spat5.osc.ignore message is the cleanest method for now - at least I’ll see it easily when working on the patch in 3 months time with little to no memory of what I’m doing now. Though I’ll look at your @initwith attribute suggestion too - always good to learn new methods.

I don’t want to leave the error message in there - since the patch is being installed in a museum and it won’t be just me looking at it. The wrong person might think there really IS a problem.

Many thanks again - appreciate how quickly things get solved here. I look forward to some perhaps more in depth conversations some other time.

Cheers! B.