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