[CM] (keynum :through) and (note :through) bug?

Joshua Parmenter joshp@u.washington.edu
Fri, 23 Mar 2007 15:29:25 -0700


--Apple-Mail-2-960753870
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hi all...

This doesn't seem like the expected behavior. Is this right? And if  
it is, does anyone know a way to get the values I'm expecting?

(defvar mymode)
(setq mymode (new mode :degrees '(c df ef f gs a b c)))
(note 67 :through mymode); => F ??? shouldn't it be GS?
(note 67.5 :through mymode) ;=> AF ???
(keynum 67 :through mymode); => 65 ??? shouldn't it be 68?
(keynum 67.4 :through mymode) ;=> 65 !!!
(keynum 67.5 :through mymode) ;=> 68 !!!

Thanks for any help.

Josh

******************************************
Joshua Parmenter
University of Washington
Center for Digital Arts and Experimental Media
School of Music
Seattle, Washington 98195

http://www.realizedsound.net/josh/
http://www.dxarts.washington.edu




--Apple-Mail-2-960753870
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=US-ASCII

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">Hi all...<DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>This doesn't seem like the =
expected behavior. Is this right? And if it is, does anyone know a way =
to get the values I'm expecting?</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>(defvar =
mymode)</DIV><DIV>(setq mymode (new mode :degrees '(c df ef f gs a b =
c)))</DIV><DIV>(note 67 :through mymode); =3D&gt; F ??? shouldn't it be =
GS?</DIV><DIV>(note 67.5 :through mymode) ;=3D&gt; AF =
???</DIV><DIV>(keynum 67 :through mymode); =3D&gt; 65 ??? shouldn't it =
be 68?</DIV><DIV>(keynum 67.4 :through mymode) ;=3D&gt; 65 =
!!!</DIV><DIV>(keynum 67.5 :through mymode) ;=3D&gt; 68 =
!!!</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>Thanks =
for any help.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Josh</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><DIV> <SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>******************************************</DIV><DIV>Joshua =
Parmenter</DIV><DIV>University of Washington</DIV><DIV>Center for =
Digital Arts and Experimental Media</DIV><DIV>School of =
Music</DIV><DIV>Seattle, Washington 98195</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><A =
href=3D"http://www.realizedsound.net/josh/">http://www.realizedsound.net/j=
osh/</A></DIV><DIV><A =
href=3D"http://www.dxarts.washington.edu">http://www.dxarts.washington.edu=
</A></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV></SPAN></SPAN><BR =
class=3D"Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN></SPAN> =
</DIV><BR></DIV></BODY></HTML>=

--Apple-Mail-2-960753870--