Hi List,
I want to add a control toogle to a looper patch created by Andy Farnell,
I attached the patch.
I want to have a monitoring function to see if the looper is in record mode or in play mode
and if the the looper is switched on or not.
The patch has got two bangs, one for rec and one for play and what ever I tried, either both toogles are switched on or not any.
Any suggestions?!
Thank you very much in advance!
Clemens
On 07.11.18 09:21, Clemens wrote:
I want to have a monitoring function to see if the looper is in record mode or in play mode
and if the the looper is switched on or not.
The patch has got two bangs, one for rec and one for play and what ever I tried, either both toogles are switched on or not any.
i don't see any toggles in your patch.
gasdmr IOhannes
The attached patch is the original patch.
Am 07.11.18 um 09:34 schrieb IOhannes m zmoelnig:
On 07.11.18 09:21, Clemens wrote:
I want to have a monitoring function to see if the looper is in record mode or in play mode
and if the the looper is switched on or not.
The patch has got two bangs, one for rec and one for play and what ever I tried, either both toogles are switched on or not any.
i don't see any toggles in your patch.
gasdmr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Nice,
thank you for your support!
Am 07.11.18 um 09:50 schrieb IOhannes m zmoelnig:
On 07.11.18 09:39, Clemens wrote:
The attached patch is the original patch.
so show us your attempts in solving the problem. it's really hard to tell what you did wrong without seeing what you did.
gfamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 07.11.18 10:17, Clemens wrote:
Nice,
well, in both #1 and #2, you are doing the very same, regardless of whether the user pressed "play" or "record". since both buttons trigger the same actions, it is not surprising that you get the same result (actually, it would be very disturbing if you didn't) #3 correctly turns on the select toggle. so i don't know what is wrong with that solution (apart from the fan-out)
so exactly what is the problem?
as a side-note, you should get rid of the fan-outs in all of your attempts and replace them with trigger. always.
asdrm, IOhannes
Hi list,
I found a way to switch on and off the toogle when you push rec or play
(see attached patch)
but if you press rec or play two times ( maybe by accident) the same is happening
but I want to have a control unit, that the rec toogle is switch on only when the looper is in rec mode
the same for the play mode
any ideas?
any suggestions??
Thanks
cheers
Clemens
Am 07.11.18 um 11:41 schrieb IOhannes m zmoelnig:
On 07.11.18 10:17, Clemens wrote:
Nice,
well, in both #1 and #2, you are doing the very same, regardless of whether the user pressed "play" or "record". since both buttons trigger the same actions, it is not surprising that you get the same result (actually, it would be very disturbing if you didn't) #3 correctly turns on the select toggle. so i don't know what is wrong with that solution (apart from the fan-out)
so exactly what is the problem?
as a side-note, you should get rid of the fan-outs in all of your attempts and replace them with trigger. always.
asdrm, IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 11/7/18 10:09 PM, Clemens wrote:
Hi list,
I found a way to switch on and off the toogle when you push rec or play
(see attached patch)
you still have fan-outs. you should really get rid of them. *always*.
apart from that, once you click on "play", the two buttons will do the same. is this what you want?
but if you press rec or play two times ( maybe by accident) the same is happening
but I want to have a control unit, that the rec toogle is switch on only when the looper is in rec mode
the same for the play mode
well, you should start thinking about what you actually mean by "record mode" and "play mode". e.g. when is the looper in "record mode", when is it not. how are they mutually exclusive? i which mode is the system if you press "record" and wait for 100seconds? in which mode is the system, if you press "record" and 50ms afterwards press "play"? what is the state after another 5000ms? after another 100seconds? in which mode is the system, if you press "play" and 50ms afterwards press "record"? what is the state after another 5000ms? after another 100seconds? in which mode is the system, if you press "play" and 5000ms afterwards you press "play" again?
but anyhow: if you send bang-messages to a toggle it will toggle. if you don't want to toggle it, you have to set it to a fixed value (e.g. by sending it that value)
i hope this helps. gfamsdr IOhannes
But what do you mean with "fan-outs"?
and how can I get rid of them?
The toogle is at the end of the line, no data continues through?
Could you send me an example?
Thanks for your support and for your suggestions !!
Cheers
Clemens
Am 07.11.18 um 22:45 schrieb IOhannes m zmölnig:
On 11/7/18 10:09 PM, Clemens wrote:
Hi list,
I found a way to switch on and off the toogle when you push rec or play
(see attached patch)
you still have fan-outs. you should really get rid of them. *always*.
apart from that, once you click on "play", the two buttons will do the same. is this what you want?
but if you press rec or play two times ( maybe by accident) the same is happening
but I want to have a control unit, that the rec toogle is switch on only when the looper is in rec mode
the same for the play mode
well, you should start thinking about what you actually mean by "record mode" and "play mode". e.g. when is the looper in "record mode", when is it not. how are they mutually exclusive? i which mode is the system if you press "record" and wait for 100seconds? in which mode is the system, if you press "record" and 50ms afterwards press "play"? what is the state after another 5000ms? after another 100seconds? in which mode is the system, if you press "play" and 50ms afterwards press "record"? what is the state after another 5000ms? after another 100seconds? in which mode is the system, if you press "play" and 5000ms afterwards you press "play" again?
but anyhow: if you send bang-messages to a toggle it will toggle. if you don't want to toggle it, you have to set it to a fixed value (e.g. by sending it that value)
i hope this helps. gfamsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On Thu, 2018-11-08 at 13:23 +0100, Clemens wrote:
But what do you mean with "fan-outs"?
A fan-out in Pd usually means that a single outlet is connected to two or more inlets. IOhannes strongly advises you to get rid of them, because the order the many inlets receive the message from the outlet is not defined. This is the single-most frequent source of bugs in Pd patches.
and how can I get rid of them?
Replace any occurrence of a fan-out by an appropriate [trigger] object.
Example:
[bla]
|
|
|
[y] [x]
should be replaced by:
[bla] | [trigger anything anything] | | [y] [x]
(use mono space font for this ASCII-art to make sense)
Roman
Thank you very much for your detailed explanations,
they were very helpful for my understanding!!
Cheers Clemens
Am 08.11.18 um 14:05 schrieb Roman Haefeli:
On Thu, 2018-11-08 at 13:23 +0100, Clemens wrote:
But what do you mean with "fan-outs"?
A fan-out in Pd usually means that a single outlet is connected to two or more inlets. IOhannes strongly advises you to get rid of them, because the order the many inlets receive the message from the outlet is not defined. This is the single-most frequent source of bugs in Pd patches.
and how can I get rid of them?
Replace any occurrence of a fan-out by an appropriate [trigger] object.
Example:
[bla] |
|
|
[y] [x]should be replaced by:
[bla] | [trigger anything anything] | | [y] [x]
(use mono space font for this ASCII-art to make sense)
Roman
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list