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