Class: Roll

Environment: Siren
Superclass: Siren.Cluster
Category: Music-EventGenerators
Instance variables: number delta noteDuration

Rolls repeat their single events.
It will eventually be possible to apply pitch, amplitude or duration envelopes to them as well.

Instance variables:
number how many notes to play
delta delta time between events
noteDuration duration of events

initialize

length: aLength rhythm: aDuration note: aNote
make a new roll of the specified length...

number: aNumber rhythm: aDuration note: aNote
make a new roll with the specified number of notes...

playing

eventList
return an eventList for me

accessing

duration
compute and answer the duration

MetaClass: Roll class

instance creation

length: aNumber rhythm: aDuration note: aNote
return a new roll of the specified length...

number: aNumber rhythm: aDuration note: aNote
return a new roll with the specified number of events...

examples

rollExample
Create and edit/play a few rolls.