On 2018-01-03 19:32, Robert Jonsson wrote:
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?
Yup, used it in my video series to do randomization of velocity values
on certain tracks. But it does this on absolute velocity, so e.g. you
can enter betwenn 90 and 100 and it will generate Values strictly in
that range.
For drum tracks it's a bit of a problem as a drum track contains
different instruments which should have different velocities (or e.g.
there is a crescendo on a roll), so I did it always by hand (which is a
bit cumbersome). So if there is something which only works on selected
notes and does relative random offset to a velocity or position, that
would be my goal. Anyway, probably this would really be better as a MIDI
plugin.
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? :)
Should be fine, I think there is not so much more to do on this topic.
Should add some clarifying comments though...
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.
Ah, thanks! Will give it a try in a test environment. I am currently in
a production...
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 will have a look.
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.
Ah, good to know. Although probably a bit friendlier than the GTK stuff :)
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