Home › Forums › General › Using Ctrlr › XYsurface and pitchwheel slider
- This topic has 18 replies, 6 voices, and was last updated 5 years, 4 months ago by wildthing.
-
AuthorPosts
-
July 26, 2012 at 4:51 pm #670
Hi all!
First problem:
I’m trying to use the uiXYsurface controlling 2 uiSliders (first has [i:sup1m3df]name unique[/i:sup1m3df]=XXX and second has [i:sup1m3df]name unique[/i:sup1m3df]=YYY). In the edit panel of XYsurface i set [i:sup1m3df]Destination Modulator for X axis[/i:sup1m3df]=XXX and [i:sup1m3df]Destination modulator for Y axis[/i:sup1m3df]=YYY, and then i set [i:sup1m3df]Max Value for X[/i:sup1m3df]=127 and [i:sup1m3df]Max Value for Y[/i:sup1m3df]=127. But when i trying to move the X/Y point of the surface it doesn’t control the sliders, so i think i am doing something wrong..Another question about pitchwheel…someone has done a pitchwheel slider? I’ve tried to make one using PitchWheel signal in the Midi message type box of a slider, but it doesn’t work. ANy help on this?
thanks in advance!
July 26, 2012 at 5:19 pm #4655"spinacem":2gjxepf6 wrote:Hi all!
First problem:
I’m trying to use the uiXYsurface controlling 2 uiSliders… But when i trying to move the X/Y point of the surface it doesn’t control the sliders, so i think i am doing something wrong..
[/quote:2gjxepf6]Save the panel, close it, then re-open it. For some reason the linkage you set up in the uiXYsurface does not become active until you close and re-open the panel, I’ve discovered.
"spinacem":2gjxepf6 wrote:Another question about pitchwheel…someone has done a pitchwheel slider? I’ve tried to make one using PitchWheel signal in the Midi message type box of a slider, but it doesn’t work. ANy help on this?
[/quote:2gjxepf6]If you’re not getting any action setting the midi message type to "pitchwheel" It might be that your synth uses a non-standard message for controlling pitch. I’d check the manual for your synth, see what the CC/Sysex message is that’s sent/received for pitch and use that instead. If your synth has 2 or more oscillators and there is pitch control for each individually you can set your "pitchwheel" modulator to control these multiple osc pitch parameters at once, giving the same effect. To give your pitchwheel modulator more of a real effect you can enable slider spring, so it "springs" back to the middle value after you release the mouse.
I tMonstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
July 26, 2012 at 5:36 pm #4656"msepsis":2ywip4z3 wrote:Save the panel, close it, then re-open it. For some reason the linkage you set up in the uiXYsurface does not become active until you close and re-open the panel, I’ve discovered.[/quote:2ywip4z3]I have this working and it’s not necessary to reopen the panel.
I don’t know how you set this up, this is my method:
I have two combos one for x axis and another for y axis. Each combo has the name of the modulators I want to modulate with the xypad. When I select an element of one combo, I set this code in lua (this is for x axis, y axis is equal)
[code:2ywip4z3] global_pad = panel:getModulatorByName("GLOBAL Pad XY") — the xypad
if xypad_mod ~= nil then — a list containing all the name of the modulators, exact the same list that has the combos
c = global_pad:getComponent()
c:setPropertyString ("uiXYSurfaceDestinationX", xypad_mod[newValue+1]) — assign the selected modulator to the xypad x axis
end
c = global_pad:getComponent()
c:setPropertyString ("uiXYSurfaceMaxX", xypad_value[newValue+1]) — assign the max value to the xypad[/code:2ywip4z3]Once made the selection you can modulate the modulator instantly.
July 26, 2012 at 5:46 pm #4657really thanks msepsis for help, now XY works perfectly after re-loading.
For pitchwheel i don’t know, in my midi implementation chart it says only:
Pitchbend transmitted=O, received=O legend: O=yes, X=no
There is no CC that correspong to the pitchbend in the manual.When i move the slider controlling pitchwheel signal for the first time i listen a change in the pitch, but it is static and doesn’t change any more whem i move the slider. I’m working on a moog little phatty at the moment
July 26, 2012 at 5:46 pm #4658"dasfaker":1uibxm5o wrote:"msepsis":1uibxm5o wrote:Save the panel, close it, then re-open it. For some reason the linkage you set up in the uiXYsurface does not become active until you close and re-open the panel, I’ve discovered.[/quote:1uibxm5o]I have this working and it’s not necessary to reopen the panel.
I don’t know how you set this up, this is my method:
[/quote:1uibxm5o]as he mentions, he’s using an uiXYsurface and 2 comboboxes, setting the linkage in the uiXYsurface modulator’s settings. When you do this you must close and reopen the panel for the link to be active. Just how it is right now.
Your method is better because it allows the user to assign the parameters w/o having to go into edit mode.
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
July 26, 2012 at 5:53 pm #4659"spinacem":2bfri0t4 wrote:really thanks msepsis for help, now XY works perfectly after re-loading.
[/quote:2bfri0t4]NP. I ran into this too a bit ago on a panel, it’s a stumper for sure.
"spinacem":2bfri0t4 wrote:For pitchwheel i don’t know, in my midi implementation chart it says only:
Pitchbend transmitted=O, received=O legend: O=yes, X=no
There is no CC that correspong to the pitchbend in the manual.
[/quote:2bfri0t4]If it transmits pitchbend (which this implies it does), then watch the midi monitor in ctrlr (set it to monitor MIDI in first!!) as you transmit pitchbend from the synth. That should give you an idea of how to format the sysex (or maybe just simple CC) on your pitchbend modulator so it sends that same message to the synth.
"spinacem":2bfri0t4 wrote:I’m working on a moog little phatty at the moment[/quote:2bfri0t4]
Atom has a moog little phatty panel in the Device Panels DDB that might save you some work ” title=”Smile” />
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
July 26, 2012 at 6:21 pm #4660Really thanks for your help, ive tried to monitor pitchbend, this is what i get:
I’m not good with hexadecimal, someone knows what happens?
My last problem before i finish this panel is about Modulation Wheel (CC=1). It seems i can control all parameters of the synth on both direction (Ctrlr->Synth and Synth->Ctrlr), but modulation wheel works only from Ctrlr to SYnth. If i move the modulation wheel on synth the Ctrlr slider doesn’t move…i can’t understand why. All others parameters (cutoff, resonance, lfos, envelopes etc etc) works fine on both direction.
This is what i get on Ctrlr monitoring moving the modulation wheel:
July 26, 2012 at 6:33 pm #4661honestly the read out for both pitchbend and the modwheel are puzzling.. there should be some consistency with that second octet but it’s all over the place for pitchbend.
Could you also send a screen grab of moving another parameter on the synth, one that transmits a message and successfully moves the corresponding slider on your panel?Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
July 26, 2012 at 6:39 pm #4662Sure, this is cutoff monitoring that works good in both directions:
Little phatty is sending 14 bit midi, in fact i can see cc 19 (MSB7) and cc 51(LSB7)
July 26, 2012 at 6:51 pm #4663last screengrab came out a little big, but i can see it better after clicking it..
that 19 and 51 are actually 19h and 51h (both in hex) so it’d be cc 25 and cc81 in dec. Does that sound right?
I’m really not sure about the bi-directional issue w/ the mod wheel and that pitchbend message has me scratching my head. Maybe Atom could help out since he also built a panel for this synth.. or you could check it out yourself in the Device Panels link above – you’re looking for "Mouge Big Skinny"just fyi about a year or so back moog aproached atom and asked him to remove all reference to "moog" on his panels that were posted on google code due to licensing
Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen
July 26, 2012 at 6:57 pm #4664The pitch bend looks ok, it’s "all over the place" cause if you look at the MIDI specs, the pitch bend message is a 14bit message http://www.blitter.com/~russtopia/MIDI/ … /wheel.htm
the modulation wheel feedback i need to check, the rest looks ok
July 26, 2012 at 11:26 pm #4665thanks for check atom!
Pitchbend looks ok? But what type of slider i have to do to control it? I did a normal slider with pitchwheel signal assigned to the Midi message type…but i t seems doesn’t work properly. I didn’t see any panel in DEVICE PANELS that has the pitchbend slider, so i can’t look at an example for it
July 29, 2012 at 9:32 pm #4666hi! any news for the modwheel? ” title=”Very Happy” />
August 18, 2012 at 5:02 pm #4667I ve tried a CC1 slider 0-127, and it works perfectly. The problem is with the 0-16383 range slider (CC pairs 1-33), i don’t know why moving the modulation wheel on the synth doesn’t move the ctrlr slider….but when i move the ctrlr slider it works perfectly.
I can’t understand how to get pitchwheel slider to work, i’ve also tried on a Virus TI and i got the same problem. I’m just using a normal uiSlider with midi message type = PItchwheel and value range=0-127. Someone that has made a working pitchwheel slider could tell me what i am doing wrong? ” title=”Very Happy” />
thanks in advance!
December 21, 2018 at 2:53 pm #90098Hi! I’ve read this post because i’m trying to insert an X/Y surface in my editor and i followed your advice on the matter. I’ve also took a look to the great Access-Virus-TI5 panel to understand how to settle the x/y surface. In my mind i would like to set variables for x and Y axes using 2 combo boxes privided with the names of all main modulators of the panel. So i’ve adapted what i’ve learnt, to my panel ending up with this method duplicated on both combo boxes (changing X & Y):
—
— Called when a modulator value changes
—GLOBAL_PadY = function(modulator, newValue)
global_pad = panel:getModulatorByName(“GLOBAL Pad XY”)
if xypad_mod ~= nil then
c = global_pad:getComponent()
c:setPropertyString (“uiXYSurfaceDestinationY”, xypad_mod[newValue+1])
end
c = global_pad:getComponent()
c:setPropertyString (“uiXYSurfaceMaxY”, xypad_value[newValue+1])
pos = 1
text = string.format(“%s %s”,”Y-Axis Pad assigned to”,xypad_mod[newValue+1])
endUnfortunately it doesn’t work and i get the attached error. Line 13 starts at “c = global_pad:getComponent()”
Could you please help me to fix the problem?Thanks in advance…
Attachments:
You must be logged in to view attached files.December 21, 2018 at 7:02 pm #90146Attach the panel here to a message then I will have a look.
December 23, 2018 at 9:40 am #90320Thnaks Possemo! Actually i’m experimenting the XY surface out of my panel because i don’t want to create a mess on it. I’m definitely new on code.
This is the spinoff panel about the xy panel i’m working on.
Attachments:
You must be logged in to view attached files.December 23, 2018 at 5:32 pm #90327This is how I would do it – look at the attached panel.
Attachments:
You must be logged in to view attached files.December 23, 2018 at 7:53 pm #90329Great! Possemo you are the one! The method looks easier and it work really well. Thanks a lot!
-
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.