< Back to IRCAM Forum

Grace notes and quantification

Good morning,

I am trying to get a rtm structure out of an sdif markers position.
As you can see in the voice object some there are some values that are too small and so joined together with the next note.
Is it possible in open music smaller than a value values to be considered and printed in the voice as grace notes?


Example_rtm from markers sdif 2.omp (50.0 KB)
Another question, what is the best way of quantifying something like that in OM, example above or this one? Is there any better way to go around with quantification?

Example_rtm from markers sdif 1.omp (47.1 KB)

Thank you in advance,

DA

Dear DA,

Unfortunately there are no grace notes for the time being. We will soon work on that. Now for your first problem:
you can first convert the markers in to a chord-seq. Sorry i cannot show you how because i dont have your extra files (markers and soundfile). But it could be easily done.
Then starting from the chord-seq you can use the align-chords method which takes as a second argument millisecond value which will consider all durations falling under this as a chord with the following duration just as if it was a grace note.

Here is an example of what i am trying to state:


quanti.omp (226.7 KB)

Now for your second example of quantification, i have some code which will “simulate” grace notes as in align chord, but then again if you send me the missing files i can make you the patch.

Best
K

Dear Karim,

thank you a lot for your response!!!
Here I send you the files related to the patch!

368384__madamvicious__nonsensical-gibberish-revengence-mrk.sdif (7.0 KB)

Greetings!

DA

Dear DA

Well thanx. I did your quantification with your own parameters and everything is quantified smoothly, with no grace notes. I wonder why do you need the,. Is it that you want to have the same exact timing, i.e no stretch of durations ?


comments:

  1. transformation in chord-seq (as you did in your second patch)
  2. Just removed 1 note because last onset will not have a duration.
  3. this is good to suppress the “gaps between the notes” due to rounding.
  4. I use true-durations in order to get the durations. However now i am thinoking tht its even more simple to get the chord-seq’s own duration…!
    The quantification looks good to me.

Best
K