Tree-Axis ``` Processing  


Back  
Class   Ess
   
Name  

Ess.masterMute()

   
Examples  
// Example by Krister Olsson

import krister.Ess.*;

AudioChannel myChannel;

void setup() {
  size(256,200);

  // start up Ess
  Ess.start(this);

  // load "cell.aif" into a new AudioChannel
  myChannel=new AudioChannel("cell.aif");

  // start the sound looping forever
  myChannel.play(Ess.FOREVER);
}

void draw() {
}

void keyPressed() {
  // toggle master mute
  Ess.masterMute(!Ess.masterMute);
}

// we are done, clean up Ess

public void stop() {
  Ess.stop();
  super.stop();
}


Description   Toggles the master mute on or off. If the master mute is on, AudioChannels and AudioStreams will not produce sound regardless of their individual volume or mute settings
   
Syntax  
Ess.masterMute(mute)
   
Parameters  
mute   boolean: to mute or not to mute

   
Returns   nothing
   
Usage   Web & Application
   
 
 






   
 
Updated: Tue May 31 04:52:43 PDT 2006


 
  Questions, comments, corrections: e-mail Krister Olsson.