Prototyping/2019-10-16: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 18: Line 18:


https://upload.wikimedia.org/wikipedia/commons/a/ad/Piano_key_frequencies.png
https://upload.wikimedia.org/wikipedia/commons/a/ad/Piano_key_frequencies.png
== Play a scale ==
== Play with NOTE NAMES ==
== Play a pattern ==

Revision as of 13:27, 16 October 2019

Starting with a very simple program...

void setup() {
  tone(11, 220, 60);
  delay(100);
  tone(11, 440, 60);
  delay(100);
  tone(11, 880, 60);
  delay(1000);
}

void loop() {
}

How do frequencies relate to tones... See Piano key frequencies

Piano_key_frequencies.png

Play a scale

Play with NOTE NAMES

Play a pattern