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.
Diff: tempos.h
- Revision:
- 0:430445550a2f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tempos.h Sun Nov 27 10:36:47 2022 +0000 @@ -0,0 +1,33 @@ +// 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 \ No newline at end of file