Interesting. I looked it over, I'm still not sure why note numbers are necessary. Although, if the base frequency and reference tone can be changed at will, as in Scala's .seq format, that could get pretty deep. I use a data structure with numerator and denominator fields. Toxy's mouse sensing looks up 40-some ratio elements, and assigns a potential note a numerator and denominator from an element. If I hover at 7/5 and hit T with the score up, 7/5 becomes 1/1 and its frequency is the base. From there I can modulate as far as the 32-bit floats will let me, and just hit G to return to 1/1= middle C. I have it set up for 11-limit JI, I figure if I need any higher primes I can enter them manually. But being able to modulate the whole pitch collection means I have a pretty much unlimited number of frequencies, while still being able to use a mouse.
I haven't experimented with an abstraction that would take a pitch set and map it to my elements. I don't have it as a 1:1 ratio of pixels to ratios; I take whatever ratio's height is closest to current y value. It would be nice to be able to stick Islamic, Greek, or Indian modules in. I haven't played with Scala in a long time, maybe I should again.
Here are screenshots of what I'm talking about. -Chuckk
On 4/11/06, Frank Barknecht fbar@footils.org wrote:
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
maybe attached archive is useful for someone else, too, though I mainly did it for myself. It includes a simple abstraction called "tunetof" which is similar to "mtof" but does a table lookup with tabread to allow alternative tunings like the just intonation, Chuck is so fond of.
"tunetof" now also has a place in the CVS at: /abstractions/footils/tunetof. A missing loadbang was added to fix the initialization from abstraction arguments.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- "It is not when truth is dirty, but when it is shallow, that the lover of knowledge is reluctant to step into its waters." -Friedrich Nietzsche, "Thus Spoke Zarathustra"