NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Project Help and Ideas » Music Notes and Half Periods

August 22, 2010
by kle8309
kle8309's Avatar

Just in case someone needs the complete #define for all the notes

define C0 30581

define Cs0 28868

define D0 27248

define Ds0 25707

define E0 24272

define F0 22904

define Fs0 21626

define G0 20408

define Gs0 19260

define A0 18182

define As0 17159

define B0 16197

define C1 15291

define Cs1 14430

define D1 13620

define Ds1 12857

define E1 12136

define F1 11455

define Fs1 10811

define G1 10204

define Gs1 9632

define A1 9091

define As1 8581

define B1 8098

define C2 7644

define Cs2 7215

define D2 6810

define Ds2 6428

define E2 6067

define F2 5727

define Fs2 5405

define G2 5102

define Gs2 4816

define A2 4545

define As2 4290

define B2 4050

define C3 3822

define Cs3 3608

define D3 3405

define Ds3 3214

define E3 3034

define F3 2864

define Fs3 2703

define G3 2551

define Gs3 2408

define A3 2273

define As3 2145

define B3 2025

define C4 1911

define Cs4 1804

define D4 1703

define Ds4 1607

define E4 1517

define F4 1432

define Fs4 1351

define G4 1276

define Gs4 1204

define A4 1136

define As4 1073

define B4 1012

define C5 956

define Cs5 902

define D5 851

define Ds5 804

define E5 758

define F5 716

define Fs5 676

define G5 638

define Gs5 602

define A5 568

define As5 536

define B5 506

define C6 478

define Cs6 451

define D6 426

define Ds6 402

define E6 379

define F6 358

define Fs6 338

define G6 319

define Gs6 301

define A6 284

define As6 268

define B6 253

define C7 239

define Cs7 225

define D7 213

define Ds7 201

define E7 190

define F7 179

define Fs7 169

define G7 159

define Gs7 150

define A7 142

define As7 134

define B7 127

define C8 119

define Cs8 113

define D8 106

define Ds8 100

October 26, 2010
by atbrace
atbrace's Avatar

Ha, I just spent quite some time doing the exact same thing with a python script. Still helpful though :)

Post a Reply

Please log in to post a reply.

Did you know that LEDs (light emitting diodes) only conduct current in one direction, like normal diodes? Learn more...