Re: deducing the length of a sample in bars


Forums > MaxMSP > deducing the length of a sample in bars
June 11, 2010 | 2:57 pm

Right…

I’ve decided that it would be better for me to follow idea number 1, as I won’t always want to play the samples back at their original speed.

I just came across the zl object, which would do the job perfectly accept for the fact that I have to label the files in a particular way to get it to see the numbers. So if the file is named introguitar 4 .wav it works fine, it sees the four and sends a bang out of the left outlet. The problem is that when using umenu, if there are spaces in the file name, for some reason it puts brackets around the text, which again means that zl doesn’t see the number for some reason.