< Back to IRCAM Forum

Converting from "voice" to rhythmic-durations list

Hi,

I’m relatively new to Open Music, so please forgive a probably very elementary question:

How can a text list of rhythmic values as millisecond increments be output from “voice” object?

For more context, I’m generating rhythmic material using a Markov chain using “m-rhythm,” “omquantify,” and then “voice.” After displaying the rhythm in “voice,” I’d like to re-translate the rhythm into a list of millisecond duration values so that I can copy them and use them in standard list messages in Max/MSP. Does that make sense?

Thanks for your help.
D

Hi
Easy,

You just connect your voice to a chord-seq (self -> self)
Then you will have either the onsets or durations (3rd or 4rth output of chord-seq).

Best
K

Thank you for your help Karim. I can see that chord-seq converts the voice back into durations, but how can I actually see the text values for these lengths? For instance, connecting textfile to the 4th output of chord-seq does not seem to work.

Best,
D

ok

my bad try this !

  • the chodr-seq solution is not that good if you have rests
    I have included however the soluce. You need to use flat in order to have a simple list

But the best is to use true-durations (like in the example below).

Best
K

trythis.omp (9.35 KB)