Forums > MaxMSP

Potentiometer value to cycle~

May 12, 2014 | 1:08 pm

Hey all,

The solution is probably very obvious, but while working on a project for uni, I’ve run into a problem. Keep in mind this is the first time I’ve used Max/MSP but I’m already loving it!

So here’s the deal. I’m trying to get a potentiometer (hooked up to an Arduino Uno) to control a cycle~ object in order to change the pitch of the instrument I’m working on.

Through processing and oscP5 I’ve managed to get the value of the potentiometer (which is between 119 and 1324) into a message. This message is called "/pitch (potentiometer value)".

Now how do I put the potentiometer value in a number object that I can send to the cycle~ object? I’ve tried using tosymbol, fromsymbol, unpack and iter objects…

Thanks in advance!


May 12, 2014 | 1:57 pm

Case closed, I figured it out.


May 13, 2014 | 9:53 am

Just a heads-up – you don’t need processing for this, unless there’s some other reason you need it. You can send message from Arduino directly to the Max [serial] object.


May 13, 2014 | 11:07 am

Thanks for the reply, but in this project, we are using Processing to influence each other’s products.


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