-
RT5000
Thanks Lacuna and everyone else for helping me out with this, {symbol $2$1;] did the trick in the end! This is so great, I can have multiple abstractions and it just needs one float change now to dynamically change all of the OSC messages in the patch, this is going to save ages of tedious OSC mapping, really great support thanks!
-
RT5000
Thanks for that info, I am starting to work this out now! The only thing that I am now struggling with is the right inlet of 'route'; I am trying to update its argument with my dynamic OSC message (which is coming out of a message box as /EnvAtt3 ), but I get a message when I try and update this argument saying 'gatom: no method for '/EnvAtt3). However, when I had it as 'route $1' and the $1 was '/EnvAtt3' it routed the OSC message fine! Here is a screenshot of what I am trying thanks:
I am sure this is possible, it seems to be some issue between floats/symbols possibly in that inlet I think
-
RT5000
Ah, that makes sense with the mother patch (and the fact the variables need to be created at load time). I am maybe approaching my problem from the wrong angle in that case. I have a simple abstraction that will receive an OSC message from Open Stage Control, and I want to reuse this over and over, so currently adding the OSC address as a static variable in the abstraction name and that works really well.
As I am trying to create a sort of modular in pure data, I wondered if I have two identical for example 'envelope' abstractions (with controls pre-mapped to OSC), then it would be fantastic to make the OSC addresses dynamic (so /EnvAtt_1 could be /EnvAtt_$3), and I could have a floatbox define the $3 on each copy of the envelope abstraction.
So inside my OSC control I have declared the OSC address in its title and then use this in a receive, but the issue is declaring a dynamic variable in a receive path (that is not from the abstraction name), so 'r EnvAtt_$3' for example. Can you declare a variable for a receive any other way?
Sorry for the convoluted reply, and thanks again for helping, much appreciated!
-
RT5000
Hi again! Apologies if this is answered elsewhere (or perhaps very obvious), but I am aware that you can pass on a $0 variable to an abstraction by naming it 'abstraction $0', and also you can pass on static variables in its name also (eg 'abstraction foo bar'), but is it possible to create a separate dynamic variable that could be definied somehow in the parent patch?
So the abstraction name would be 'abstraction $0 $1 $2'), and I could definie $1 and $2 somewhere else, per patch. This would be incredibly handy, as I want to dynamically reference OSC message in Open Stage Control, and want to reuse the same abstraction for mapping (rather than tediously incrementing the number for the next fader etc). Have had a try this morning but cannot seem to make this work!
This forum has been massively helpful and friendly, so I am hoping someone can help out again thanks!
-
RT5000
Thanks for pointing this out FFW, I didn't realise that was there, makes perfect sense now! This is going to be so useful in my pd setup, only just discovered the Cyclone 'seq' today! Thanks again!
-
RT5000
Hi there,
Apologies if this may have already been answered on the forum, but I am trying to use the Cyclone 'seq' MIDI playback module and am wanting to drive the MIDI file via an external clock. The help file says that you can do this by sending the first inlet a 'Start -1' message and then mentions sending the same inlet a '-tick' (which it describes as an external clock, needed after the start -1 message) but I have no idea what this could mean, a bang simply starts the playback and I think the 'metro' only sends bangs so am a bit stuck. Is a tick something different in pd?
Any help massively appreciated thanks!
-
RT5000
Thanks very much for the replies, both really helpful! I hadn't realised the distinction between GUI objects until now, but makes sense! Finding more and more uses for pd everyday, love this software!
-
RT5000
Hi there,
Apologies if this has already been answered, but I have found I can move the position of a toggle by using
;
/receive_symbol/toggle pos $1 $2in a message box, but unfortunately if I set a receive symbol to something similar in a number box, the debugger just says object not found. I assume it is possible to move the position of number boxes (and other objects) but I cannot figure this out myself.
Any help massively appreciated thanks!!