Created
September 30, 2018 19:38
-
-
Save memish/937c690327ba01aa6f1a81913da21078 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import processing.sound.*; | |
| SinOsc sine; | |
| void setup() { | |
| size(640, 360); | |
| background(255); | |
| // Create the sine oscillator | |
| sine = new SinOsc(this); | |
| sine.play(); | |
| sine.freq(440); | |
| //440 A above middle C | |
| } | |
| void draw() { | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment