• adamwg

    How do I limit a counter between two numbers (in this case 0 and 127) so that it does not start over again?

    Im trying to convert a rotary encoders inc/dec mesaage (0 and 127) into an absolute value (between 0 and 127 depending upon the encoders position).

    Using counter I can set min and max values of 0 and 127, but I need the counter to stop when it reaches these. For example when I turn the encoder from 0 around to 127 and further, I need the counter to stop counting at 127 and stay at that value untill I turn the encoder down, when the counter will need to start counting down too. At the moment when the counter reaches 127 it will start counting again from 0.

    My reason for doing this is because of a quirk of Ableton live 6's midi output. I am trying to light LEDs with the output from Live, but for some reason when an encoder is mapped to a control it will only output a midi message on the increment and not the decrement. This function works fine for absolute values that potentionmeters and buttons use. So if I can make an encoder apear as a potentiometer within live it will hopefully work.

    posted in technical issues read more
  • adamwg

    Im having problems with a patch not working correctly.

    now and then it works but most of the time it does not. I keep getting a message "sendOSC: not connected" I cannot work out why.

    Please see thread over at monome:

    http://forum.monome.org/topic/395#7561

    Does any one have any ideas on this?

    posted in technical issues read more
  • adamwg

    Is there any way to turn sub patches on and off.

    I need to create a group of radio buttons that will switch between sub patches. So only one patch will be active at any one time.

    I am trying to create several pages for my monome (similair to what can be done with mapd but I need to light leds on the monome via ableton live. I don't think this is posssible in mapd).

    posted in technical issues read more
  • adamwg

    I am trying to write a patch to control ableton live with a monome 40h.

    I have input device 1 in PD as 'from monome serial io' and output device 1 as 'IAC 1' (which in turn is set as the midi input for live), which works fine for controlling live with the monome.

    I have midi output for live set as 'IAC 2' and input device 2 in PD as 'IAC 2' and the output as 'monome serial io'. I can not get the LEDs on the monome to react to live.

    My question is how do i select different devices within PD. I can only get input and output device number 1 to work together.

    I seem to remember that in MAX/MSP you can add the relevent letter (a, b or c etc) to the 'notein' object box to select the device. Can this be done in PD, if so how?

    I know live is definatly giving out controller messages as I have -midinotefeedback- turned on and if I change the order of devices around in the midi settings I can light LEDs on the monome by moving sliders etc within live.

    posted in technical issues read more
  • adamwg

    Thanks Pulsed.

    Your solution is much neater and smaller than mine.

    I have been using mine with no problems at all for quite a while now. I think ill go back and make a new patch using moses as it will reduce the overall size of my patch quite alot, as it turned out quite big in the end.

    posted in technical issues read more
  • adamwg

    Thanks for the suggestion Maelstorm.

    I found another solution using [limit] and [float] that works (see attached example).

    the [select] will need more numbers in it, as the quicker the encoder is turned the output changes from 1 or 127 to the next in the sequence, so with the example file there is a limit to the speed the encoder can be turned. The other thing I found with it is that the encoder needed turning 1.5 to 2 times compared to a pot which is about 3/4 of a turn. Easily solved by limiting the slider in properties by 1/4 and mulitiplying the output the output by 4.

    http://www.pdpatchrepo.info/hurleur/relative_to_absolute.pd

    posted in technical issues read more
  • adamwg

    Thank you, sending connect localhost 8080 looks as though its solved it.

    At last I get down to some serious programming.

    posted in technical issues read more
  • adamwg

    Thank you for the info obiwannabe.

    From reading your post it sounds as though switch and spigot are used for audio, can they be used for midi as well? (I'm at work at the moment so am unable to try it out for myself). I'm having to convert OSC and MIDI messages between ableton and the Monome.

    posted in technical issues read more
  • adamwg

    Nestor,

    Thank you that works, I was looking for something more complicated. Did'nt even think to check channel numbers.

    Obiwannabe,

    Got my monome kit and built it in the week. Really impressed with it. As soon as I get it talking to live the way I want much fun is going to be had.

    posted in technical issues read more
  • adamwg

    No,

    I have 2 input devices and 2 output devices set up. So that PD is between the monome and live and there is communication in both directions between the two.

    I can only get live and monome to communicate in one direction at a time. Either the monome controlling live or vice versa.

    How do i tell PD which device to send and recieve midi data. In MAX/MSP you just add the letter that is assigned to the device into the 'notein' box to select that device. How do I do it in PD?

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!