[CM] Trouble using tunings

Rick Taube taube@uiuc.edu
Mon, 3 Oct 2005 18:44:03 -0500


Hi -- I dont have MCL anymore so if I can't build 2.3.4 in openmcl im 
not sure if ill be able to debug it.
FWIW it does work in 2.7.0:

? (new tuning :name 'meantone :octaves '(-1 10)
       :cents '((0 c) (86 cs) (192 d) (312 ds) (384 e) (504 f)(578 fs)
                (696 g) (771 gs) (888 a) (1008 as) (1082 b)
                1200))
#<tuning "meantone">
? (hertz 'a4 :in #&meantone)
436.96066
?



On Oct 3, 2005, at 3:14 PM, Anthony Kozar wrote:

> Hello,
>
> I am having trouble getting tunings to work with note names containing
> octave specifiers.  I am using CM 2.3.4 in MCL 4.3.1.
>
> After loading the example file scales.cm, I tried the following 
> statements:
>
> ? (hertz 'a4)
> 440.0
> ? (hertz 'a4 :in #!meantone)
>> Error: a4 is not a note in #<tuning: "meantone">.
>> While executing: #<standard-method tuning-note->hertz (tuning t t)>
>> Type Command-. to abort.
> See the Restarts… menu item for further choices.
> 1 >
> Aborted
> ? (hertz 'a :in #!meantone)
> 218.48034899614788
>
>
> As you can see, the hertz function works fine with the standard scale 
> or
> with the meantone scale without the octave specifier.
>
> It seems to me that this used to work because I have an audio file 
> rendered
> with Csound using the Just Intonation scale from Common Music (the same
> version of CM too!).  I just do not have the exact CM code that I used 
> to
> create it anymore.
>
> Thanks in advance for any help!
>
> Anthony Kozar
> anthonykozar AT sbcglobal DOT net
> http://akozar.spymac.net/
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist