Forums > MaxMSP

Scope~ X,Y co-ordinate problem

June 13, 2007 | 11:41 am

Selecting all in your patch and pasting into your email body is much better
than providing a picture of the text …

On 6/13/07, Gary wrote:
> Here it is again in a text file in case the other one doesn’t open.

June 13, 2007 | 12:25 pm

… I forgot "copy" between select and paste into your message body ;)

June 14, 2007 | 10:12 pm

Gary schrieb:
> To keep things simple I have a cycle~ object going into a scope~
> object to visually show sinewaves at differing frequencies. In order
> to keep the waveform representation ‘seeable’ i.e. for scope~ to move
> the waveform slowly across the graph, one often needs to update the
> x,y co-ordinates when the frequency changes. Else the waveform just
> flashes across the graph too quickly or appears as two sinewaves when
> it is really one.
> Does anybody know of a good expression that will update the scope~
> object every time the frequency changes?

Without having seen your patch (you didn’t paste it into the text body
of your mail…)
I guess what you want is to trigger it correctly and adjust the size.

For adjusting the size you need a frequency to sample conversion, look
at mstosamps~ (time is the inverse of a frequency…)

The inspector will give you trigger options (I never understood why the
default isn’t set to trigger and no single official help patch uses it.
Whoever worked with a real scope knows what I mean…)

I use this as a prototype:

#P user scope~ 350 246 567 336 2 3 128 -1. 1. 0 0. 1 0. 102 255 51 135
135 135 0;
#P window clipboard copycount 1;

Stefan Tiedje————x——-
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–

Viewing 3 posts - 1 through 3 (of 3 total)