[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sc-devel] Function:freqscope
Yeah, good suggestion. If it can be improved or made more
sophisticated then maybe we can tidy it up in a later release, but I
see no harm in adding that niceness now.
Dan
2008/1/30, ronald kuivila <rkuivila@xxxxxxxxxxxx>:
> There are no other implementations of the message 'freqscope' to worry
> about, so sure.
>
> RJK
>
>
> On Jan 30, 2008, at 7:21 AM, thor wrote:
>
>
> 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
>
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@xxxxxxxxxxxxxxx
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel@xxxxxxxxxxxxxxx
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
>
>
--
http://www.mcld.co.uk