Class:            Ostinato

Environment:      Siren
Superclass:         Siren.EventGenerator
Category:         Music-EventGenerators
Instance variables:   list playing process

Ostinati can repeat their basic eventList without end, if necessary.

Instance variables:
   list my riff
   playing am i on?
   process the process that's playing me

initializing

initializeAnonymous
   set up a new Ostinato.

initializeNamed: aName
   Set up a new Ostinato.

accessing

events
   

list
   

list: anEL
   

process: anBlockOrProc
   

playing

play: numberOfTimes
   return an event list from the given number of times playing

playAt: firstTime
   Play an ostinato until turned off.

playOn: aVoice at: firstTime
   play an ostinato until turned off.

stop
   stop a playing Ostinato.

printing

printOn: aStream
   

MetaClass:         Ostinato class

instance creation

named: aSymbol onList: anEL
   create an Ostinato on the given EventList.

named: aSymbol onList: anEL dur: theDur
   create an Ostinato on the given EventList.

newNamed: aSymbol onList: anEL
   create an Ostinato on the given EventList.

onList: anEL
   create an Ostinato on the given EventList.

onList: anEL dur: theDur
   create an Ostinato on the given EventList.

examples

ostinatoExamples
   Create and edit some ostinati.