So right now ive set up a counter, connected to a trigger. The trigger first bangs a number message (which is connected to the cold intlet of MOD) then sends the float to MOD. But this setup doesnt change the MOD at all.
-
Silly Question, how do i change which modulo the mod object converts to?
-
Hi, welcome to this forum.
About your question, I don't understand what you are trying to do. If you are sending a float to the right inlet of [mod], then you are controlling the module argument, but sending a bang to the leftmost inlet does not make sense to me: that inlet is supposed to receive another float, which will be divided by the argument and the rest of this division will be output from mod's outlet.
What exactly are you trying to do? Please post here your patch or a better description of how it works.
And since you are working with [counter] and [mod], it may be interesting for you to notice that [counter] can take arguments, and it sets the maximal value of its output. So if you keep banging a [counter 2], it will output a cycle of 0, 1, 2, 0, 1, 2, ...
Take care,
Gilberto -
Thanks for the reply,
The bangs from the trigger are going to two different number messages. Such that number X is sent to the rightmost inlet, THEN number Y is sent to the leftmost inlet. At least thats what i thought i was doing. I worked out a way to control the patch by changing a different variable so im not sure how it was set up before, but i must have had something connected wrong. I just tried to control Mod as i described in an empty patch and it worked as expected.
Thanks for the tip on counter though, it helped me clean up my patch a bit.
-
Hi,
I think I understood your description now. As a side note, it is usually very useful to post the schematics of your patch here in the following way: use [ ] for objects, such as [counter] and [ ( for messages, such as [bang(
So by what I understood, this is what you were trying to do:
[bang( | [counter] | [t f b] | | | [10( | | [mod]
If so, then I have to say this patch above works exactly as expected. Are you still having any problems with it? As you suggested, it could have been a wrong connection or something like that. And this schematics above produces identical results to:
[bang( | [counter 11]
If you are still having problems with the patch, just post it here.
Good luck!
Gilberto