buffer lenght…

Oct 16, 2012 at 7:28pm

buffer lenght…

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
#64800
Oct 17, 2012 at 7:01pm

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. –
#233687
Oct 17, 2012 at 10:01pm

thank you
laurent

#233688

You must be logged in to reply to this topic.