Prototyping/2019-10-16: Difference between revisions

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


How do frequencies relate to tones... See [https://en.wikipedia.org/wiki/Piano_key_frequencies Piano key frequencies]
How do frequencies relate to tones... See [https://en.wikipedia.org/wiki/Piano_key_frequencies Piano key frequencies]
https://upload.wikimedia.org/wikipedia/commons/a/ad/Piano_key_frequencies.png

Revision as of 12:22, 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