Hi, I've been scouring the net trying to figure out how to utilize a rotary knob I have on my Faderfox UC4. I have gotten it to work like this: twist-left = 127 twist-right = 1.
I'm trying to use it so that one is +1 and one is -1, endlessly, and to set it to a low enough amount to be able to control the pitch of a phasor~ in my patch. So Instead of it being +1, it'd be like +0.0001 and -0.0001, for instance. and this would affect a number that has already been stored in a.. float, maybe?
I got this far, to separate the data:
ctlin 53 | == 127] | moses 1] |
and ctlin 53 | == 1] | moses 1] |
what I'm getting is "print: + 1" or "print: - 1". But I'm vague on how to first use a 0-127 knob to set the main value, then affect that stored value (inside a f, I guess?) with the +1/-1 so that it gets changed, and is output to the phasor~.
Any ideas how to go about it?
On 10/01/17 21:31, Esa Ruoho wrote:
Any ideas how to go about it?
The [value] object will likely help you, along with [select] and [trigger] (which can be abbreviated to [v], [sel] and [t]). Remember to use $0 in the name of the [v], if you want multiple instances of your patch or abstraction to be independent.
A pattern you might find useful is:
control message | [t b a] | | [value x] | | | some process | [t b f] | / [value x] | updated value
my head is completely fried now. i think this is the fourth thing i tried, and now i got it to work. ouch. looks like a total shambles. but it works. http://imgur.com/a/ZhWWS
not sure i can look at that image i linked, and what you suggested, and make sense of it.. gotta crash. i guess there's a better way of doing this shambles?
On 10 January 2017 at 23:54, Claude Heiland-Allen claude@mathr.co.uk wrote:
On 10/01/17 21:31, Esa Ruoho wrote:
Any ideas how to go about it?
The [value] object will likely help you, along with [select] and [trigger] (which can be abbreviated to [v], [sel] and [t]). Remember to use $0 in the name of the [v], if you want multiple instances of your patch or abstraction to be independent.
A pattern you might find useful is:
control message | [t b a] | | [value x] | | | some process | [t b f] | / [value x] | updated value
Claude
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/ listinfo/pd-list
Le 10/01/2017 à 23:26, Esa Ruoho a écrit :
my head is completely fried now. i think this is the fourth thing i tried, and now i got it to work. ouch. looks like a total shambles. but it works. http://imgur.com/a/ZhWWS
not sure i can look at that image i linked, and what you suggested, and make sense of it.. gotta crash. i guess there's a better way of doing this shambles?
yes, i think the attachment is doing what you ask in the 1st mail, in a more simple way.
oh, and this patch works for number other than 1 or 127, since i guess (and hope), that the UC4 is sending other value if you're turning the knob faster.
cheers c
On 10 January 2017 at 23:54, Claude Heiland-Allen <claude@mathr.co.uk mailto:claude@mathr.co.uk> wrote:
On 10/01/17 21:31, Esa Ruoho wrote: > Any ideas how to go about it? The [value] object will likely help you, along with [select] and [trigger] (which can be abbreviated to [v], [sel] and [t]). Remember to use $0 in the name of the [v], if you want multiple instances of your patch or abstraction to be independent. A pattern you might find useful is: control message | [t b a] | | [value x] | | | some process | [t b f] | / [value x] | updated value Claude -- https://mathr.co.uk _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list <https://lists.puredata.info/listinfo/pd-list>
--
http://twitter.com/esaruoho // http://lackluster.bandcamp.com // +358403703659 // skype:esajuhaniruoho // http://esaruoho.tumblr.com/ // iMessage: esaruoho@gmail.com mailto:esaruoho@gmail.com //
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
and here is the attachement
Le 10/01/2017 à 23:35, cyrille henry a écrit :
Le 10/01/2017 à 23:26, Esa Ruoho a écrit :
my head is completely fried now. i think this is the fourth thing i tried, and now i got it to work. ouch. looks like a total shambles. but it works. http://imgur.com/a/ZhWWS
not sure i can look at that image i linked, and what you suggested, and make sense of it.. gotta crash. i guess there's a better way of doing this shambles?
yes, i think the attachment is doing what you ask in the 1st mail, in a more simple way.
oh, and this patch works for number other than 1 or 127, since i guess (and hope), that the UC4 is sending other value if you're turning the knob faster.
cheers c
On 10 January 2017 at 23:54, Claude Heiland-Allen <claude@mathr.co.uk mailto:claude@mathr.co.uk> wrote:
On 10/01/17 21:31, Esa Ruoho wrote: > Any ideas how to go about it? The [value] object will likely help you, along with [select] and [trigger] (which can be abbreviated to [v], [sel] and [t]). Remember to use $0 in the name of the [v], if you want multiple instances of your patch or abstraction to be independent. A pattern you might find useful is: control message | [t b a] | | [value x] | | | some process | [t b f] | / [value x] | updated value Claude -- https://mathr.co.uk _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list <https://lists.puredata.info/listinfo/pd-list>
--
http://twitter.com/esaruoho // http://lackluster.bandcamp.com // +358403703659 // skype:esajuhaniruoho // http://esaruoho.tumblr.com/ // iMessage: esaruoho@gmail.com mailto:esaruoho@gmail.com //
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list