Forums > MaxMSP

buffer lenght…

October 16, 2012 | 7:28 pm

hi,

i have made a little patcher who count the samples during 2 bars and translate it in ms,
the problem is that i never have the same time!!!!
is it normal?

Attachments:
  1. testcount.maxpat

October 17, 2012 | 7:01 pm

The problem is you are using the number~ object which translates from audio rate data to control rate messages it does this at a speed set in ms so it’s not sample accurate. I suggest you read the MSP help page entitled ‘How MSP works’.

As you are setting the start and end of the recording you don’t need to waste your time trying to measure the outlet of record~ just use translate to get the record length in MS.

– Pasted Max Patch, click to expand. –

October 17, 2012 | 10:01 pm

thank you
laurent


Viewing 3 posts - 1 through 3 (of 3 total)