Forums > MaxMSP

Endless Rotary Knobs?

September 16, 2008 | 12:08 am

hi – not a question directly related to max but thought the good people of this forum might be able to help me out.

I just purchased the beautiful BCF2000 by Behringer and am very excited about it. However, I am messing around with the endless rotary knobs, and tho they are endless, they still stop at 127 in Max. Do I somehow have to route the information from this knob through OSC for it to give me a +1/-1 instead of 0-127? If so, how do I do that?


September 16, 2008 | 12:44 am

not with the Behringer but i used accum (or incdec) with unlimited
rotary encoders.
theres also an object from the excellent f0 lib for detecting
direction of incoming values and split to different outlets(
f0.inc_dec_split)

On Tue, Sep 16, 2008 at 2:08 AM, Kyle Kaplan wrote:
>
> hi – not a question directly related to max but thought the good people of this forum might be able to help me out.
>
> I just purchased the beautiful BCF2000 by Behringer and am very excited about it. However, I am messing around with the endless rotary knobs, and tho they are endless, they still stop at 127 in Max. Do I somehow have to route the information from this knob through OSC for it to give me a +1/-1 instead of 0-127? If so, how do I do that?
> –
> -k.


September 16, 2008 | 12:46 am

You have to set the knob on the Behringer to send relative values. I think you hold down the edit button and then twist the knob you want to change.



f
September 16, 2008 | 1:02 am

maybe this is useful.
save as f0.rotary (i’ll add it to my lib one day).

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 202 284 88 196617 maximum -9999.;
#P comment 372 22 29 196617 max;
#N comlet max [float];
#P inlet 376 37 15 0;
#P comment 313 22 24 196617 min;
#N comlet min [float];
#P inlet 316 37 15 0;
#P comment 5 22 95 196617 stream of numbers;
#P comment 238 22 51 196617 set value;
#N comlet set value [float];
#P inlet 255 37 15 0;
#N comlet step size [float];
#P inlet 188 37 15 0;
#P newex 100 105 31 196617 t b 2;
#P newex 202 265 39 196617 – 0.01;
#N comlet out [float];
#P outlet 139 370 15 0;
#N comlet stream of numbers;
#P inlet 27 37 15 0;
#P newex 27 86 83 196617 f0.inc_dec_split;
#P newex 27 173 27 196617 f;
#P newex 70 265 40 196617 + 0.01;
#P newex 27 105 31 196617 t b 1;
#P newex 139 333 27 196617 t f f;
#P newex 132 217 38 196617 gate 2;
#P comment 177 22 50 196617 step size;
#P newex 70 284 80 196617 minimum 9999.;
#P newex 364 103 165 196617 patcherargs 0.01 0. -9999. 9999.;
#P newex 364 122 88 196617 unpack 0. 0. 0. 0.;
#P comment 349 87 210 196617 arguments are stepsize , initvalue ,
min , max;
#P connect 2 0 1 0;
#P connect 1 2 23 1;
#P connect 19 0 23 1;
#P connect 1 0 13 1;
#P connect 15 0 8 1;
#P connect 15 0 13 1;
#P connect 13 0 23 0;
#P connect 5 1 13 0;
#P connect 9 0 5 1;
#P connect 1 3 3 1;
#P connect 21 0 3 1;
#P connect 6 0 12 0;
#P connect 23 0 6 0;
#P connect 3 0 6 0;
#P connect 7 1 5 0;
#P connect 14 1 5 0;
#P connect 1 0 8 1;
#P connect 10 1 14 0;
#P connect 8 0 3 0;
#P connect 5 0 8 0;
#P fasten 6 1 9 1 161 357 20 357 20 162 49 162;
#P connect 16 0 9 1;
#P connect 1 1 9 1;
#P connect 7 0 9 0;
#P connect 14 0 9 0;
#P connect 10 0 7 0;
#P connect 11 0 10 0;
#P window clipboard copycount 24;

test patch

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 227 176 101 196617 max (default 9999.);
#P comment 227 156 103 196617 min (default -9999.);
#P comment 227 136 105 196617 set value (default 0.);
#P flonum 191 175 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 191 155 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 191 135 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 191 115 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 104 233 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 104 181 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user dial 104 126 40 40 128 1 0 0 159 359 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P newex 104 207 92 196617 f0.rotary 0.05 10;
#P comment 227 116 116 196617 step size (default 0.01);
#P connect 8 0 1 4;
#P connect 7 0 1 3;
#P connect 6 0 1 2;
#P connect 5 0 1 1;
#P connect 1 0 4 0;
#P connect 3 0 1 0;
#P connect 2 0 3 0;
#P window clipboard copycount 12;

16 sep 2008 kl. 09.08 skrev Kyle Kaplan:

>
> hi – not a question directly related to max but thought the good
> people of this forum might be able to help me out.
>
> I just purchased the beautiful BCF2000 by Behringer and am very
> excited about it. However, I am messing around with the endless
> rotary knobs, and tho they are endless, they still stop at 127 in
> Max. Do I somehow have to route the information from this knob
> through OSC for it to give me a +1/-1 instead of 0-127? If so, how
> do I do that?
> –
> -k.

#|
fredrikolofsson.com klippav.org musicalfieldsforever.com
|#



waj
September 18, 2008 | 3:47 pm


September 18, 2008 | 4:55 pm

Quote: werner.funk wrote on Thu, 18 September 2008 08:47
—————————————————-
> endless or not, if you use midi or any midirelated transmission
> protocol such as HUI or Mackie control, the maximum value transmitted
> will be 127 (not for xbendin/out!).
—————————————————-

Actually, the Mackie control spec does not cap the range at all. The VPot rotary encoders send +/- deltas on a midi controller. It’s up to the receiving software to accumulate the changes. It can accumulate this value to whatever range of numbers it wants to.

I don’t know what the Beheringer does.

-C


September 19, 2008 | 6:30 pm

the behringer has an option for either 0-127 or increment/decrement.

figured it out after talking to the company and having them email me a more in depth programming guide than what the product comes with.


September 19, 2008 | 8:08 pm

Quote: ComfortableInClouds wrote on Fri, 19 September 2008 11:30
—————————————————-
> figured it out after talking to the company and having them email me a more in depth programming guide than what the product comes with.
—————————————————-

Oooh! Is that different from the documents found on the product page: http://www.behringer.com/BCF2000/index.cfm

Any chance you could share? (Feel free to email it to me directly if you have nowhere to post it)


September 21, 2008 | 1:31 pm

I echo that sentiment. Ooooh.

I’d also be interested in seeing your ‘in-depth guide’ from Behringer if possible.

Regards


September 21, 2008 | 5:51 pm

here’s the guides the company support emailed me. i took a quick glance at one and it instantly answered my question, so I haven’t really looked at the others, but perhaps there’s something of interest in them. enjoi!

http://www.wikisend.com/download/928762/BCF%20GUIDES.zip


September 21, 2008 | 7:27 pm

I’m developing a set of patches to read from the BCF2000 in HUI mode and back from the DAW.

The BCF2000 sends Vpots increments over MIDI controllers 64 to 71 as a 6 bit signed format (01h is one counterclockwise, 41h is one clockwise).I’ve never seen values exceed the -15..+15 range.

The host sends back accumulated values (pans or whatever) over MIDI controllers 16 to 23 as a 0..12 value (matching to the number of LEDS) with 6 as center position and a tweak: bit 4 is set at center position 46h).

The fun thing is that i read both BCF to DAW data and DAW to BCF data by assigning ctlin to BCF2000′s MIDI port, and i don’t understand why.My DAW is ProTools.


September 22, 2008 | 9:16 pm

Quote: ComfortableInClouds wrote on Sun, 21 September 2008 10:51
—————————————————-
> here’s the guides the company support emailed me. i took a quick glance at one and it instantly answered my question, so I haven’t really looked at the others, but perhaps there’s something of interest in them. enjoi!
>
—————————————————-

Thanks!


December 5, 2008 | 10:37 pm

sounds great, this in depth guide!

but the link is dead now, can you give me
a fresh link?

I need to do the exact same with
the knob…(to rotate sounds in a
4 speaker setup)


December 6, 2008 | 8:03 pm

Quote: Yurki (Jerke) wrote on Fri, 05 December 2008 14:37
—————————————————-
> sounds great, this in depth guide!
>
> but the link is dead now, can you give me
> a fresh link?
>
> I need to do the exact same with
> the knob…(to rotate sounds in a
> 4 speaker setup)
—————————————————-

Everything is on behringer.com, it’s just not immediately obvious where to find it.

Start at the product page: http://www.behringer.com/BCF2000/index.cfm

See that "B-CONTROL Downloads" link on the right? Go there and scroll down to the "Documents" section to find a bunch of pdf downloads. I think the "programming guide" is the one people are calling the "in depth guide".


Viewing 14 posts - 1 through 14 (of 14 total)