< Back to IRCAM Forum

"sample" a chord-seq?

Hello,

Is it possible to “sample” a chord-seq so that, if I had a chord-seq with pitches sustained from one onset to the other, I could give it a list of timepoints in ms and get back what note or chord is sounding at that moment? (I am trying to do some rhythmic filtering of ametrically generated material.)

Thanks!
J

Hi J,

This is a possible answer to this question:

It uses a a selection from onsets (min and max).

Here is the patch:

select-range-chord-seq.omp (11.9 KB)

Hope this is what you are looking for.

Best
K

Hi Karim,

Thanks so much for your help, but I’m looking to sample the most recent specific note given a certain timepoint, not a range between timepoints. I’ve attached a screenshot to show what I’m attempting.

Best,
Justin

Ok,

Now i understand better.
Given the fact that some chords in a chord-seq may have overlapped durations, (which is the case with my example:

I chose randomly some onsets. The patch will “sample” all chords falling (“sounding”) at the given onsets (“points”):

[sorry for the double loop! -maybe possible to do this simpler?]

:slight_smile:
The patch here:
sample-chord-seq.omp (27.6 KB)

Best
K