2018-01-03 17:42 GMT+01:00 Michael Oswald <[email protected]>:

> 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.
>

Alright, much as I would have thought just that I didn't know the
transformer can work on already recorded material. If indeed you've seen
that it can?


>
> 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.


Okay, sounds very probable now that you mention it.


> 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?


Yep, absolutely. We got no strict timelines but it would be good to get it
done. Let's put a deadline on Sunday shall we? :)


>
>
> 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.
>

For what it's worth I checked in a fix so atleast this script should work
now.


>
> 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?
>

There is a README in the share/scripts folder that hopefully lists what you
need to know. Plugins already support operating on selected events, so it
might be a better fit for this purpose. Less integrated than the
transformer though.

I used pyqt for the gui parts of some of these plugins and it's been a
notoriously bad choice, pyqt is moving target breaking changes.

Regards,
Robert
------------------------------------------------------------------------------
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

Reply via email to