Forums > Gen

counter problem

April 3, 2013 | 1:49 pm

Hi All,

My counter increments much more than by one each time there is a change in signal in the patch below. Any ideas?

Cheers

Zlatko

– Pasted Max Patch, click to expand. –

April 3, 2013 | 1:51 pm

and the funny bit…. now that I have repasted the code it does not count at all….


April 3, 2013 | 2:06 pm

using codebox increments by 64 seemingly….

– Pasted Max Patch, click to expand. –


ak
April 3, 2013 | 3:36 pm

It seems this is something related to number~.

– Pasted Max Patch, click to expand. –


ak
April 3, 2013 | 6:02 pm

… and I belive it’s due to internal ramping of signal within number~. Somehow 0. ms doesn’t mean "no ramp" (and 64 is coincidentally default vector size).

record and zoom in buffer’s waveform…:

– Pasted Max Patch, click to expand. –

April 4, 2013 | 12:08 pm

ah, thanks Andrzej, I thought it was the vector size lurking…. In the meanwhile I have coded a counter inside my funny subharmonic algorithm…. I wonder – is there a better way to debug than waveform display, can we get a listing of 100 samples somehow…?

Much Appreciated

z

– Pasted Max Patch, click to expand. –


ak
April 4, 2013 | 2:16 pm

maybe [capture~] ?


April 4, 2013 | 8:57 pm

you can fill a buffer with poke and look at the values with peek


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