PInRect:
Filter:
Description
Class methods
new
Examples
UGenPatterns/Classes (extension)
|
Streams-Patterns-Events
>
UGenPatterns
>
Modifiers
PInRect
Extension
UGenPatterns quark library
See also:
UGenPatterns
Description
Based on
InRect
Class Methods
.
new
Arguments:
pattern
pattern x-position
y
pattern y-position
rect
a
Rect
object.
Examples
s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PInRect(Pseq([0, 2, 4, 5], inf), Pseq([0, 1, 2], inf), Rect(2, 2, 4, 4)).trace*5+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PInRect(5, 5, Pseq([Rect(0, 0, 10, 10), Rect(6, 6, 7, 7)], inf)).trace*0.5).play a.stop
helpfile source:
HelpSource/Classes/PInRect.schelp
link::UGenPatterns/Classes/PInRect::