Hello Robert,
I confess I rarely use the midi input transformer, could you describe how you imagine using it for this purpose?
Oh, like the simple Cakewalk Sonar randomizer I used quite some years ago. Create the track normally strictly quantized. Then, from what I understand from the MIDI Transformer Dialog, I would set the Processing to Transform, the Position to the (then new) Randomize and enter a maximum Value in Ticks or Quants or however you call the unit for the position. It then calculates a new position from old_pos +/- the random value within the entered position (so e.g. 5 entered, then [-5, 5]. Basically that should be enough.
I got reminded of this in one of the Nail The Mix sessions a few weeks ago when the producers for (IIRC) Architects did this on the drum tracks. They only do a tiny amount of this (about 5 to 7 ticks), but it makes the drums more alive and less robotic, especially with some round robin multi-sample stuff like drumgizmo.
Never been in that code so I couldn't really comment but it seems reasonable, barring that it is actually possible to make time changes. Can't really figure it out in the GUI but I see in the code there is a switch for modifying pos so it certainly looks possible.
I did a bit of experimentation and yes, it seems that's it, I just have to transform the integer I get from the Combo Box to the MuSECore::Random enum value, since the numbers don't match up as I skipped the other operations normally present in the Combo Box.
I copied the code from the randomize functionality for other stuff (e.g. Velocity) and modified it, but this needs more refinement and I didn't have time yesterday.
Anyway, if I get this finished (maybe in the next days I have some time), would you be interested to get this into master? If so, should I issue a pull request?
Another way to go a bout adding randomization, or Swing, is to create/modify a midi plugin. There's currently a plugin called SwingQuantize1 (which no longer works I see now, need to fix that) which employs a method to randomize note placement. As I recall I never really figured out the right algorithm so it probably needs further study (apart from fixing the execution bug).
Yup, tried SwinqQuantize and it didn't work. But that would also be an idea to get the midi plugins working again.
The MIDI Transform dialog has a limitation, it allows for transform of all events, selected tracks and inside loop. It would be cool if it would be available also in the piano roll/drum editor and work there only on selected notes (e.g. a bit of velocity randomizing around the current velocity value). I may also have a look into that when I have time available (which is a bit tight in the moment). But also for this probably a MIDI plugin would be enough, if they are working. Is there some documentation available on them?
lg, Michael ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Lmuse-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmuse-developer
