7 objects arpeggiator
note that if you click the same Hradio box several times you also get
variations.
gr,
Tim

2011/10/11 Mathieu Bouchard <ma...@artengine.ca>

> Le 2011-10-12 à 01:32:00, hardoff goes bananas a écrit :
>
>
>  no idea what causes the transpose/chord shift in this patch, but if you
>> leave it for a while, it inevitably does happen.
>>
>
> You are greatly amplifying error accumulation coming from [phasor~]. With a
> samplerate of exactly 44100 and a frequency of exactly 2, an ideal [phasor~]
> would increase by an amount of 2/44100 at each sample, leading to a new 0 at
> every 22050. The truth is a bit different.
>
> If you do it with regular pd floats (float32), the amount 2/44100 gets
> computed as 12466118/pow(2,15+23) instead, because that's the closest
> fraction that this format can express.
>
> For reasons of error accumulation, [phasor~] uses a «double» (float64) for
> storing the phase, but then it stores 1/44100 as a float, an computes
> 2*(1/44100) as a float too, therefore a [phasor~ 2] doesn't have the exact
> frequency of 2.
>
> BTW, have you tried [phasor~ 2.01] and other things like that ? At least on
> my computer, it's more interesting than [phasor~ 2].
>
>
>  ______________________________**______________________________**
> __________
> | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
#N canvas 20 61 515 240 10;
#X obj 50 97 samphold~;
#X obj 50 165 dac~;
#X obj 51 142 osc~;
#X obj 51 53 phasor~ 2;
#X obj 51 31 hradio 15 1 0 13 empty empty empty 0 -8 0 10 -262144 -1
-1 11;
#X obj 102 73 phasor~ 12;
#X obj 51 119 expr~ (1+$v1)*200*(1-$v2)*cos((1-$v2)*(20+(200*$v1)))
;
#X connect 0 0 6 0;
#X connect 2 0 1 0;
#X connect 2 0 1 1;
#X connect 3 0 0 0;
#X connect 4 0 3 0;
#X connect 4 0 3 1;
#X connect 5 0 0 1;
#X connect 5 0 6 1;
#X connect 6 0 2 0;
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to