[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] Function:freqscope




Hi all

I'm preparing a class tutorial and I've got this

{WhiteNoise.ar(1)}.plot(1)
{WhiteNoise.ar(1)}.play
{WhiteNoise.ar(1)}.scope

But why should the following not work, now that Lance's scopes are included in the distro?
{WhiteNoise.ar(1)}.freqscope

I only had to add this method below the Function:scope method

freqscope {
this.play;
FreqScope.new;
}

Is it okay to commit this? Or some better ideas of how to implement?

(I'd add this as well for Server. For Bus, I'd have to add an inBus_ method for FreqScope
which is simple as well)


thor