# [CM] duodecimal arithmetic for music

Heinrich Taube taube at uiuc.edu
Fri Feb 19 14:12:36 PST 2010

```honestly i dont think this is a much-needed thing but if you did want
to do someting like that then i think it would only make sense as a
radix in s7.  i know s7 has radix support at least to 16 but im not
sure what sort of  "#x" twiddle  you would use.

On Feb 19, 2010, at 2:35 PM, John Kafritsas wrote:

> While looking into the excellent Common Music 3, it occurred to me
> that it might be very convenient to represent keys as duodecimal
> numbers, so that, for example, 40 would be the 4th octave C, 50 the
> 5th octave C etc. The whole 4th octave would be something like 40,
> 41, 42, 43, 44, 45, 46, 47, 48, 49, 4a, 4b, with a and b the extra
> digits representing decimal 10 and 11. I wonder if it is possible to
> implement that in cm3, maybe using a notation like the #b for binary
> or the #x for hexadecimal. Might it be possible to define a similar
> prefix for duodecimals, so that, say, #t40 would be interpreted as
> decimal 60, #t50 as decimal 72 etc? For one thing I wonder if you
> think this is a good idea, for another I'd appreciate any hint at
> how to do it.

```