> The class looks interesting. Does it support non-octave-repeating scales?
>
> i.e., [0,3,5,8,13,16,19] in 12-tone equal temperament?
Yes, with a two-octave tuning table, like this:
(
s.waitForBoot({
a = Scale.new([0,3,5,8,13,16,19], (0..23));
p = { |scale|
Pbind(
\note, PdegreeToKey(
Pseq([0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, \rest], inf),
scale,
24
),
\dur, 1.0
).play;
};
q = p.value(a);
})
)
Note that using the \degree key to Pbind doesn't do the right thing,
because it assumes one-octave scales. That's equally true whether you use
an array or my class.
--
Tim Walters |
http://doubtfulpalace.com_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users