Class:            Cloud

Environment:      Siren
Superclass:         Siren.EventGenerator
Category:         Music-EventGenerators
Instance variables:   density

Clouds are eventLists that are describe in terms of their contours or selection criteria.
This can be (e.g.,) POD-style specification of ranges for random selection, or selection from a given set of pitches.
See the class examples of my subclasses for description examples.

Instance variables:
   density       number of notes per second

accessing

density: theDensity
   set the density instance variable

playing

eventList
   Make the cloud's events; assume that the receiver's pitch, loudness and
   durations are actually intervals

eventList0
   Make the cloud's events; assume that the receiver's pitch, loudness and
   durations are actually intervals

MetaClass:         Cloud class

examples

dictionaryExample
   Answer an initialized Cloud generated from the given property map dictionary.

example1
   Create and edit a low 6 second stochastic cloud with 5 events per second

randomExample
   Play a stochastic cloud with random properties.

randomExample2
   Play a stochastic cloud with random properties.

instance creation

dur: aD pitch: aP ampl: anA
   return an initialized Cloud

dur: aD pitch: aP ampl: anA voice: aVoice
   return an initialized Cloud

dur: aD pitch: aP ampl: anA voice: aVoice density: aDe
   return an initialized Cloud

dur: aD voice: aVoice density: aDe
   return an initialized Cloud

fromDictionary: aDictionary
   Answer an initialized Cloud generated from the given property map dictionary.