Soundscape
Inherits from: Object
Soundscape is an abstract class that collects models (each with a synthDef for spatialization) for simulating a soundscape exploration. Right now, the proposed model is developed in the CartoonModel subclass. Here I describe just the variable and methods that are designed to be common to each model. For more details see CartoonModel.
See also: CartoonModel
Creation / Class Methods
*new (runner, geoListener)
Soundscape is a Dependant of Runner and GeoListener, it receives all the sound object sequencing messages coming from Runner and it monitors the GeoListener interaction updates.
Accessing Instance and Class Variables
sampleplaying
sampleplaying is an IdentityDictionary, indexing to all the synths that are playing, allowing the method modifplay to interact with them when the GeoListener send an update message.
update (theChanged, theChanger, more)
Listen upcoming updates from Runner and GeoListener, if the Changer is the Runner (that activates a new vertex playing), this.update calls the method this.play. Instead, if the Changer is GeoListener (a movement), this.update call the method modifplay. Both play and modifplay are overwritten in the Soundscape subclasses.
initAudio
To be overwritten by subclasses.
sendDef
To be overwritten by subclasses.
play (more)
To be overwritten by subclasses.
modifplay (more)
To be overwritten by subclasses.