Name

stop()

Class

AudioIn

Description

Stop capturing sound from this audio input.

Examples

  • import processing.sound.*;
    AudioIn in;
    
    void setup() {
      size(640, 360);
      background(255);
        
      // Create the Input stream
      in = new AudioIn(this, 0);
      in.play();
    }      
    
    void draw() {
    }
    
    void mousePressed() {
      in.stop();
    }
    
    

Syntax

  • audioin.stop()

Return

  • void