Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
tempos.h
- Committer:
- dpavetic
- Date:
- 2022-11-27
- Revision:
- 0:430445550a2f
File content as of revision 0:430445550a2f:
// Uzeto sa stranice: https://create.arduino.cc/projecthub/ronbentley1/christmas-carols-on-arduino-7bc262
//
// Tempos, by common musical names
//
#define grave 40
#define largo 46
#define lento 52
#define adagio 56
#define larghetto 60
#define adagietto 66
#define andante 72
#define andantino 80
#define maestroso 88
#define moderato 100
#define allegretto 104
#define animato 120
#define allegro 132
#define allegro_assai 144
#define vivace 160
#define presto 184
#define prestissimo 208
//
// Standard note/rest duration definitions, set by the setTempo function
//
#define semib timings[0] // semi briev - 4 beats
#define dot_minim timings[1] // dotted mini - 3 beats
#define minim timings[2] // minim - 2 beats
#define crot timings[3] // crotchet - 1 beat
#define quav timings[4] // quaver - 1/2 beat
#define semiq timings[5] // semi quaver - 1/4 beat
#define demi_semiq timings[6] // demi semi quaver - 1/8 beat