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