Hi

I'm hacking together some Python code that runs some basic music
analysis routines (like auto-labelling chords & suggesting keys &
regions etc) on MIDI files.

As i am working on Ubuntu, I downloaded Rosegarden just to examine
some files & do a bit of housekeeping with it... thank you to all of
you for what looks like a pretty cool Linux based sequencer.

My question is concerning the algorithms for the "Notation Properties"
for each of the note events...

Essentially, i want to implement a similar algorithm in my python
script, to "square up" my start times & durations so that i can get a
better result running MIDI files through my python scripts when they
aren't "hard quantised".

Obviously, i guess i want to write a "quantising" function, but what
interests me about the "Notation Properties" is the capacity it has to
auto-identify a likely desired duration, & (assumedly) it's capacity
to do this based not only on the closest available "interval grid",
but also based on where the start of the note is in the bar etc etc..?
(i.e. it doesn't want to end an upbeat 8th note on the closest
available 32nd triplet....)

i.e. i think this is a lot more complex than it appears at face value,
& I happened to stumble upon this property, & was hoping i might be
able to be pointed to the algorithm (in pseudocode would be fine, i'm
not really familiar much with C or C++ ) so i can write a script to
perform a similar function?

best wishes & with thanks to you all

Tim Mortimer
Adelaide - Australia

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to