On Friday, Dec 17, 2004, at 16:04 US/Eastern, James Harkins wrote:
pitchBuffer.setn(0, Signal[69, 71, 73, 74, 76, 78, 80, 81].midicps.asWavetable);
Sorry, this doesn't work. Performing an array manipulation on a Signal incorrectly returns an Array --
(jmc, isn't it supposed to return a collection of the same class? is that a bug?)
-- so you actually have to do:pitchBuffer.setn(0, [69, 71, 73, 74, 76, 78, 80, 81].midicps.as(Signal).asWavetable);
I did try your patch, and as expected, it returns values *between* the pitches you specify, not the exact pitches themselves. Which is cool, if that's what you were after.
hjh ____________________________________ H. James Harkins /// dewdrop_world http://www.dewdrop-world.net "If attacked by a lion, thrust your arm down his throat. This takes some practice." -- Cyril Connolly