< Back to IRCAM Forum

Om-sample for bpc

Hello friends,

Because of the interest in the gestural control/arrangement, I am working on the idea to reorganize the pitch and rhythm in “chord-seq” with the gesture in BPC/BPF, the function are written but it is based on the “om-sample” and “bpc”.

The method om-sample works not perfectly for the BPC class now, it will lose some points at the end of the graph, and usually the first point was repeated and sometimes the length of the points will not match the second input. (see patch)

Could you please help me to optimalize it?

Thank you very much!

Best regards,
Jialin Liu

bpc-sample-problem.omp (280 KB)

Hi,

I don’t know if useful, and I don’t know why, but if you substitute the first BPC of every example with a BPF class it seems to correctly run.

Best

fdsdb

Hi all,
indeed, as Jialin pointed out, there seems to be some problems in OM with the BPC (not with the BPF) sampling. In addition to the issues already found, I noticed that using the bpc-sample function does not help either.
Best,
Francesco Vitale

Hi Fabio and Francesco,

Thank you for the reply!
Yes the BPF works very well. However, my imagination is to get the same distance (of route) between every two points, (and with BPF I get this same distance on the x-axis, not on the route.)
I’ll translate the curve to musical gesture. If there are bigger motion (y) in shorter time (x), then, more tones will be arranged into this shorter time (shorter distance on x-axis).

This morning I have wrote an emergency version of that “om-sample-pro”, and it could just be used for bpc. In case you need it, you can also test it.

Best,
Jialin Liu

Hi there, I have just updated the OM sources in order to fix the issues with om-sample BPC regarding number of points, etc.

In principle om-sample will sample the BPC curve so that the euclidian distance between 2 samples is always the same.

Jean

Hello Jean,

Thank you for the updating! That is definitely what I imagined, very kind!

Bests,
Jialin

The OM 6.14 update including this fix is now available for download.

Merci pour vos efforts!

Bests
Jialin