mirror of
https://github.com/9x/sheetmusictrainer.git
synced 2026-11-03 22:03:54 +01:00
Improve metronome
This commit is contained in:
13
src/music/TempoMarkings.ts
Normal file
13
src/music/TempoMarkings.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export function getTempoMarking(bpm: number): string {
|
||||
if (bpm < 20) return "Larghissimo";
|
||||
if (bpm < 40) return "Grave";
|
||||
if (bpm < 60) return "Lento";
|
||||
if (bpm < 66) return "Largo";
|
||||
if (bpm < 76) return "Adagio";
|
||||
if (bpm < 108) return "Andante";
|
||||
if (bpm < 120) return "Moderato";
|
||||
if (bpm < 156) return "Allegro";
|
||||
if (bpm < 176) return "Vivace";
|
||||
if (bpm < 200) return "Presto";
|
||||
return "Prestissimo";
|
||||
}
|
||||
Reference in New Issue
Block a user