def run(self): ag = GlassForest() ag2 = manager.VolumeModulate(ag, 0.5, 0.2, 4, 8, 12, 16) self.sched_agent(ag2, 0.3) ag = GlassForest('mech/glass-breaking-short-reverb.aiff', 0.15, 0.33) ag2 = manager.VolumeModulate(ag, 0.75, 0.25, 4, 8, 12, 16) self.sched_agent(ag2) ag = OccasionalGlass() self.sched_agent(ag, 5)
def run(self): ag = play.RepeatSound('animal/frog-cheep.aiff') ag2 = manager.VolumeModulate(ag, self.vol, self.vol*0.1, 3, 10, 20, 45) self.sched_agent(ag2) ag = play.IntermittentSoundsPanOpts(3, 8, 0.8, 1.2, 0, self.vol, 0.9, frogsounds) self.sched_agent(ag, random.uniform(3, 10)) ag = play.IntermittentSoundsPanOpts(6, 12, 0.8, 1.2, 0, 2*self.vol, 0.9, frogsounds) self.sched_agent(ag, random.uniform(3, 10))
def run(self): ag = play.RepeatSound('insect/melodious_ground_cricket.aiff') ag2 = manager.VolumeModulate(ag, self.vol, self.vol, 3, 10, 20, 45) self.sched_agent(ag2, 0.00) ag = play.RepeatSound('insect/everglades_conehead.aiff') ag2 = manager.VolumeModulate(ag, self.vol, self.vol, 3, 10, 20, 45) self.sched_agent(ag2, 0.05) ag = play.RepeatSound('insect/pine_tree_cricket.aiff') ag2 = manager.VolumeModulate(ag, self.vol*0.75, self.vol*0.75, 3, 10, 20, 45) self.sched_agent(ag2, 0.10) ag = play.RepeatSound('insect/vocal_field_cricket.aiff') ag2 = manager.VolumeModulate(ag, self.vol, self.vol*0.5, 3, 10, 20, 45) self.sched_agent(ag2, 0.15) ag = play.IntermittentSoundsPanOpts(10, 20, 0.8, 1.2, 0, 0.1, 0.9, insectsounds) self.sched_agent(ag, random.uniform(3, 20)) ag = play.IntermittentSoundsPanOpts(20, 40, 0.8, 1.2, 0, 0.2, 0.9, insectsounds) self.sched_agent(ag, random.uniform(3, 20))
def run(self): ag = play.RepeatSound('environ/water-rushing.aiff') ag2 = manager.VolumeModulate(ag, self.vol, self.vol, 3, 10, 20, 45) self.sched_agent(ag2)
def run(self): ag = manager.VolumeModulate(play.RepeatSound('environ/wind-far.aiff'), self.vol, self.delta) self.sched_agent(ag)
def run(self): ag = play.RepeatSoundShuffle(30, 90, 12, watersounds) ag2 = manager.VolumeModulate(ag, 0.3) self.sched_agent(ag2)