[PD] ternary counting

Lorenzo Sutton lsutton at libero.it
Thu Sep 8 17:27:51 CEST 2011


On 08/09/2011 15:39, Andy Farnell wrote:
>
> Try a [div] [mod] chain
>
> Four digits base 3 would be
>
> base 10
> |
> [t f f]_[mod 3]_ D0
> |
> [div 3]
> |
> [t f f]_[mod 3]_ D1
> |
> [div 3]
> |
> [t f f]_[mod 3]_ D2
> |
> div 3]
> |
> [t f f]_[mod 3]_ D3
> |
> etc. for more digits
>
> On Thu, 8 Sep 2011 15:19:03 +0200
> tim vets<timvets at gmail.com>  wrote:
>
>> Hello,
>> Does anyone have an example of how to do ternary counting in pd?
>> 00
>> 01
>> 02
>> 10
>> 11
>> 12
>> 20
>> 21
>> 22
>> ...etc
>>
>> thanks,
>> Tim

Maybe also something like this (still using [mod 3] and [div 3] as Andy 
suggested)?

Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ternary_count.pd
Type: text/x-puredata
Size: 1082 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110908/d543ec8e/attachment.bin>


More information about the Pd-list mailing list