Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
sorry this one went off-list :-) On 27 Apr 2014, at 19:05, simon wrote: > sure, > > here is the version with biquad in a subpatch with a block opject to > upsample. probably i'm doing something wrong, i just copied from the block > help-patch. > > > > On Apr 27, 2014, at 5:48 PM, Miller P

Re: [PD] pitch to voltage

2014-04-27 Thread Miller Puckette
Actually I don't know where the change~ object is from - I've nver seen t before. I would just use biquad~ 0 0 1 -1 0 (assuming that change~ simply ubtracts the previous sample from teh current one as I guessed from the patch :) M On Sun, Apr 27, 2014 at 03:40:01PM +0200, Simon Iten wrote: > ok

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
ok tried to upsample the whole thing (after the osc~) and now change~ does nothing anymore… it just spits out the same square wave i feed in…clues? On 27 Apr 2014, at 13:05, Simon Iten wrote: > crosspost! sorry about the noise. thanks for the inputs i will try to to > this. not sure if i can.

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
crosspost! sorry about the noise. thanks for the inputs i will try to to this. not sure if i can. otherwise i will ask back if that’s ok! On 27 Apr 2014, at 13:03, Simon Iten wrote: > so if i would measure at the peak of the sawtooth and would upsample inside > the pd patch, i would get higher

Re: [PD] pitch to voltage

2014-04-27 Thread Simon Iten
so if i would measure at the peak of the sawtooth and would upsample inside the pd patch, i would get higher resolution, right? any ideas how i can measure at the peak? (using the rpole output on both samphold inputs does not work and delaying one of them is also not working) which i would hi

Re: [PD] pitch to voltage

2014-04-27 Thread Miller Puckette
Sorry for the double answer, but this also occurs to me: To improve accuracy, measure both halves of the cycle and add them. To improve further, upsample the whole mess, say by a factor of 16. Doint both of those would improve the theoretical resolution by a factor of 32. (Of course, you still ha

Re: [PD] pitch to voltage

2014-04-27 Thread Miller Puckette
That is an excellent, witty way to measure pulse withs using only tilde obects - my hat's off to you. The methond only has limited accuracy since its measurement is in samples. For instance, a 1/2 cycle of a 440-hz. tone at 44.1 kHz is only 50 samples, so there's only 2% accuracy. That's about

[PD] pitch to voltage

2014-04-27 Thread Simon Iten
dear list, i have a strange problem with my “sinetosawtooth” patch. it is basically a version of the pitch to voltage conversion used in the old gr300 guitar synths from roland. i cut out all the clutter to make it easier to look at and understand. (cut out the adaptive filtering at the input