Help: Randomize midi position in Cubase with key switches

Discussion in 'Cubase / Nuendo' started by Pachis, Jul 26, 2024.

  1. Pachis

    Pachis Noisemaker

    Joined:
    May 10, 2024
    Messages:
    69
    Likes Received:
    6
    Hello everyone, wish you all a wonderful day. :mates:


    I just got one simple thing, but don't know how to do it. I want to randomize a little bit the position of midi notes I made with the riffer of Ample guitar.


    The problem is that ample riffer creates quite complex midi parts with lots of keyswitches going on, so I just can't do normal randomization as I would usually do with normal midi parts.


    Does anyone know how to do it?


    Thanks in advance. :bow:
     
  2.  
  3. bluerover

    bluerover Audiosexual

    Joined:
    May 3, 2013
    Messages:
    1,324
    Likes Received:
    1,176
    Use a midi filter to filter out the keyswitches in the lower octaves or wherever they're located. https://x42-plugins.com/x42/x42-midifilter has a "MIDI Key-Range Filter", or just google "MIDI FILTER VST" and look for freeware.
     
  4. Semarus

    Semarus Producer

    Joined:
    Mar 26, 2022
    Messages:
    237
    Likes Received:
    109
    There is a randomization function in the MIDI Modifiers section of the Inspector on MIDI/Instrument tracks. This will apply either on playback or at input. If you want the modifiers to apply to notes you input, you have to turn on MIDI Thru in Preferences under MIDI. If you want to apply the modifiers to MIDI notes that are already there, you have to go to MIDI > Freeze MIDI Modifiers. Be aware, this will also apply other things like any Transpose values and Track Delay.

    Edit: There is also a Logical Editor preset to randomize position by +/-10 ticks in the MIDI menu, you can apply this to a selection.
     
    Last edited: Jul 26, 2024
  5. patatern

    patatern Rock Star

    Joined:
    Feb 15, 2021
    Messages:
    537
    Likes Received:
    351
    Location:
    tiksi
    you just need a Logical editor preset with randomization of positions but with range limits
    if you dont know how to do it I can make it for you

    please post a screenshot of the midi part (from the piano roll)so I can see the range of the notes to randomize and and the range of the keyswitch notes to leave untouched
     
    • Like Like x 1
    • Useful Useful x 1
    • List
  6. Semarus

    Semarus Producer

    Joined:
    Mar 26, 2022
    Messages:
    237
    Likes Received:
    109
    You can manually set the range with the range tool, then MIDI > Logical Editor > Apply Preset without having to predefine it in the script.
     
  7. patatern

    patatern Rock Star

    Joined:
    Feb 15, 2021
    Messages:
    537
    Likes Received:
    351
    Location:
    tiksi
    obviously you can
    but if you can save a preset for a specific instrument range why not do it?

    If you have a complex/long midi file you have to zoom out then precisely select, and sometimes the keyswitch notes are so closed to the lowest active notes that you can easily miss something. With the LE preset you can do the job even without entering the piano roll, just selecting the midi part from the project window

    if you can do the job with a 1 button click wouldnt be better?
     
  8. Pachis

    Pachis Noisemaker

    Joined:
    May 10, 2024
    Messages:
    69
    Likes Received:
    6
    Hey, great to see you again! :winker:


    You're my savior when it comes to Cubase problems. :beg: hahaha



    Thank you very much for the answer. :cheers:


    Here is the screenshot.

    Screenshot 2024-07-26 085228.png
     
  9. patatern

    patatern Rock Star

    Joined:
    Feb 15, 2021
    Messages:
    537
    Likes Received:
    351
    Location:
    tiksi
    here's the settings for the Midi Logical Editor, you have just to copy and save, then you can apply the randomization without selecting notes, you can also apply it without entering the midi part, just select the midi clip from the project window and apply the Midi Logical Editor preset from a key shortcut

    here it randomize +/- 10 ticks, you can change this value obv

    random position.png
     
  10. Shiori Oishi

    Shiori Oishi Producer

    Joined:
    Oct 21, 2023
    Messages:
    257
    Likes Received:
    137
    Does this work for keyswitches, though? I mean, the relationship between note ends, or note starts and their keyswitches can be very intricate... you'd have to have a way of rushing/dragging notes and their respective keyswitches without changing the vertical relation between them. And even if that were possible, note ends for slides, hammer-ons and pull-offs would probably be damaged.
     
  11. patatern

    patatern Rock Star

    Joined:
    Feb 15, 2021
    Messages:
    537
    Likes Received:
    351
    Location:
    tiksi
    nope

    its just a matter of "pitch inside range", just apply the PLE i posted and dont worry : ) it works flawlessly
     
  12. Pachis

    Pachis Noisemaker

    Joined:
    May 10, 2024
    Messages:
    69
    Likes Received:
    6
    I guess it doesn't work at all... It just randomizes playable notes. So, it scrambles the relationship between notes and their respective keyswitches.
     
  13. Shiori Oishi

    Shiori Oishi Producer

    Joined:
    Oct 21, 2023
    Messages:
    257
    Likes Received:
    137
    My thoughts exactly! As I understand it, this could never be simple to work outside of the engine. How would a generic DAW script know the specific relationship between the note and the slide out keyswitch, which is different from the pop keyswitch/note relationship or the hammer-on keyswitch/note relationship... not to mention the force string keyswitches... and then randomize their horizontal position in an interlocked fashion, that is, treating each group as a joint set? And this just considering solo notes; if you consider strummed chords, the solution becomes even more complex. One would need such a targeted, tailored script, that it could be contained inside Ample's Riffer, which could be improved: as far as I know, as of 2024, if you want to rush notes, you have to select the whole set (note, forced string and articulation) and drag by hand, note by note, chord by chord.
     
    Last edited: Sep 29, 2024
  14. patatern

    patatern Rock Star

    Joined:
    Feb 15, 2021
    Messages:
    537
    Likes Received:
    351
    Location:
    tiksi
    That script works for the VSTi I use. if the VSTi is well known I think that Cubase PLE could work. First of all, keyswitches should be played before the real notes, possibly at a fixed value, not at the same time. VSTi I use sometimes fail to change sample if dont have time.

    Unfortunately I dont understand how that specific instrument work, why there are 3 switches together. It needs some time, but I think it is possible to put inside the script all the options. It's a matter of work and will to success.
     
Loading...
Similar Threads - Help Randomize midi Forum Date
Help, steinberg spectra layers 11 Software Reviews and Tutorials Yesterday at 7:55 PM
Please Help, I have become a victim of employee stalking or thieves Lounge Yesterday at 10:58 AM
(Help)No licence found with yamaha Montage M Software Reviews and Tutorials Tuesday at 3:19 PM
Help with Ample Guitars... Sample libraries not found at all Samplers, Synthesizers Tuesday at 1:29 AM
Help Needed: Drum Replacing! Software Monday at 3:35 AM
Loading...