XYsurface and pitchwheel slider

Home Forums General Using Ctrlr XYsurface and pitchwheel slider

This topic contains 18 replies, has 6 voices, and was last updated by  wildthing 3 weeks, 2 days ago.

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #670

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46

    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!

    #4655
    msepsis
    msepsis
    Participant
    • Topics: 217
    • Replies: 731
    • Total: 948
    • ★★★
    "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 t

    Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

    #4656

    dasfaker
    Keymaster
    • Topics: 79
    • Replies: 783
    • Total: 862
    • ★★★
    "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.

    #4657

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46

    really 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

    #4658
    msepsis
    msepsis
    Participant
    • Topics: 217
    • Replies: 731
    • Total: 948
    • ★★★
    "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

    #4659
    msepsis
    msepsis
    Participant
    • Topics: 217
    • Replies: 731
    • Total: 948
    • ★★★
    "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 <img src=” title=”Smile” />

    Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

    #4660

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46
    #4661
    msepsis
    msepsis
    Participant
    • Topics: 217
    • Replies: 731
    • Total: 948
    • ★★★

    honestly 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

    #4662

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46
    #4663
    msepsis
    msepsis
    Participant
    • Topics: 217
    • Replies: 731
    • Total: 948
    • ★★★

    last 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 :roll:

    Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

    #4664
    atom
    atom
    Moderator
    • Topics: 156
    • Replies: 2940
    • Total: 3096
    • ★★★★★

    The 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

    #4665

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46

    thanks 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 :

    #4666

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46

    hi! any news for the modwheel? <img src=” title=”Very Happy” />

    #4667

    spinacem
    Participant
    • Topics: 8
    • Replies: 38
    • Total: 46

    I 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? <img src=” title=”Very Happy” />

    thanks in advance!

    #90098

    wildthing
    Participant
    • Topics: 3
    • Replies: 8
    • Total: 11

    Hi! 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])
    end

    Unfortunately 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.
    #90146
    Possemo
    Possemo
    Participant
    • Topics: 13
    • Replies: 508
    • Total: 521
    • ★★★

    Attach the panel here to a message then I will have a look.

    #90320

    wildthing
    Participant
    • Topics: 3
    • Replies: 8
    • Total: 11

    Thnaks 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.
    #90327
    Possemo
    Possemo
    Participant
    • Topics: 13
    • Replies: 508
    • Total: 521
    • ★★★

    This is how I would do it – look at the attached panel.

    Attachments:
    You must be logged in to view attached files.
    #90329

    wildthing
    Participant
    • Topics: 3
    • Replies: 8
    • Total: 11

    Great! Possemo you are the one! The method looks easier and it work really well. Thanks a lot!

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

You must be logged in to reply to this topic.

There is currently 0 users and 14 guests online
No users are currently active
Forum Statistics
Threads: 2,178, Posts: 15,346, Members: 39,645
Most users ever online was 10 on October 29, 2018 2:54 pm
Do NOT follow this link or you will be banned from the site!