There is also lots of stuff in the wslib (now quark) that does this nicely.
On 17 Mar 2008, at 22:06, Andrea Valle wrote:
(Thanks Josh)
I'm in need of the contrary, midi --> name
I seem to recall something but, hmm...
Is there anything ready or have I to implement something like that:
60.midinote
// returms a string or a symbol
c4
Best
-a-
On 17 Mar 2008, at 20:32, Josh Parmenter wrote:
In the Ctk quark, there is a class called PitchClass. It can do this:
a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;
// returns:
a PitchClass
66
369.99442271163
fs
f
s
4
Best,
Josh
On Mar 17, 2008, at 10:21 AM, morgan packard wrote:
Hello List,
I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?
thanks,
-m-
+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->
_______________________________________________
sc-users mailing list
******************************************
/* Joshua D. Parmenter
“Every composer – at all times and in all cases – gives his own
interpretation of how modern society is structured: whether actively
or passively, consciously or unconsciously, he makes choices in this
regard. He may be conservative or he may subject himself to continual
renewal; or he may strive for a revolutionary, historical or social
palingenesis." - Luigi Nono
*/
_______________________________________________
sc-users mailing list
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
_______________________________________________
sc-users mailing list
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users