public PeriodicAmbientSoundSource(String sound,int radius,int volume,int minInterval,int maxInterval){
  setRPClass("entity");
  put("type","entity");
  this.sounds=sound.split(", *");
  this.radius=radius;
  this.volume=volume;
  this.minInterval=minInterval;
  this.maxInterval=maxInterval;
  setupNotifier();
}

public PeriodicAmbientSoundSource ( String sound , int radius , int volume , int minInterval , int maxInterval ) { setRPClass ( "entity" ) ; put ( "type" , "entity" ) ; this . sounds = sound . split ( ", *" ) ; this . radius = radius ; this . volume = volume ; this . minInterval = minInterval ; this . maxInterval = maxInterval ; setupNotifier ( ) ; }
create an ambient sound area .
