Reference+
Class Name
SawOsc
Description
This is a simple Saw Wave Oscillator.
Examples
import processing.sound.*; SawOsc saw; void setup() { size(640, 360); background(255); // Create square wave oscillator. saw = new SawOsc(this); saw.play(); } void draw() { //the image is just for informative purposes //on how the soundwave looks }
Constructors
SawOsc(parent)
Parameters
parent
(PApplet)
typically use "this"
Methods
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.