Reference+
Name
start()
Class
AudioIn
Description
Start the input stream without routing it to the audio output. This is useful if you only want to perform audio analysis based on the microphone input.
Examples
import processing.sound.*; AudioIn in; void setup() { size(640, 360); background(255); // Create the Input stream in = new AudioIn(this, 0); in.start(); } void draw() { }
Syntax
audioin.start()
audioin.start(amp)
audioin.start(amp, add)
audioin.start(amp, add, pos)
Parameters
amp
(float)
the volume to grab the input at as a value from 0.0 (complete silence) to 1.0 (full volume)add
(float)
offset the audio input by the given valuepos
(float)
pan the audio input in a stereo panorama. Allowed values are between -1.0 (left) and 1.0 (right)
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.