[chuck-users] stupid n00bie question: Part III

Martin Ahnelöv operagasten at gmail.com
Tue Oct 16 10:27:09 EDT 2007


tis 2007-10-16 klockan 09:41 +0200 skrev joerg piringer:
> 	if(sampcounter > samplerate)
> 	{
> 		<<< "freq: ", counter/4 >>>;
> 		0 => sampcounter;
> 		0 => counter;
> 	}
> 	1::samp => now;
> }
>

Are you sure? Shouldn't it be counter/2? AFAIK, the sine crosses zero
each other time.

Gasten



More information about the chuck-users mailing list