Class: EventModifier

Environment: Siren
Superclass: Object
Category: Music-EventModifiers
Instance variables: selector function scale start stop index

EventModifier is the abstract superclass of the classes whose instances operate on event lists. There are operations that can be done eagerly (at definition time) or lazily (at run time)
Instance Variables:
selector What aspect of the event list do I modify
function What function do I aply to the aspect
scale Do I apply a scalar scale?
start When do I start in the event list?
stop When do I stop in the event list?
index Used internally to count through events

accessing

function
Answer the receiver's 'function'.

function: anObject
Set the receiver's instance variable 'function' to be anObject.

index
Answer the receiver's 'index'.

index: anObject
Set the receiver's instance variable 'index' to be anObject.

scale
Answer the receiver's 'scale'.

scale: anObject
Set the receiver's instance variable 'scale' to be anObject.

selector
Answer the receiver's 'selector'.

selector: anObject
Set the receiver's instance variable 'selector' to be anObject.

start
Answer the receiver's 'start'.

start: anObject
Set the receiver's instance variable 'start' to be anObject.

stop
Answer the receiver's 'stop'.

stop: anObject
Set the receiver's instance variable 'stop' to be anObject.

application

applyTo: evtList

valueIn: evtList at: time

MetaClass: EventModifier class

instance creation

function: aFunction
Create a new modifier and initialize it

new
Create a new modifier and initialize it