Fixed Function:plot
Best,
Josh
On Apr 27, 2008, at 12:17 PM, James Harkins wrote:
On Apr 27, 2008, at 2:03 PM, Josh Parmenter wrote:
But every plot-able Class does need to be converted differently. Env needs to go through an asSignal->as(Array) process, where Buffer-data needs to be grabbed from the Server, and FloatArrays are ready to go. Doesn't it make sense that Env:plot should look something like this?
I wasn't clear enough... what I meant is, you should be able to plot Array, FloatArray, Signal, Wavetable etc. transparently. Really the better solution there is to get SCSoundFileView to accept subclasses of Array as well. That is, this...
if (!isKindOfSlot(slots+0, class_array)) return errWrongType;
... should also permit class_floatarray, class_doublearray, class_signal, and possibly the class_int*arrays as well.
Obviously something like Env must convert itself before passing the data into .plot :)
hjh
: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/
“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-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel