level and speed up stuff

This commit is contained in:
2024-04-23 12:45:39 +02:00
parent ac4801c7cf
commit ff95034605
11 changed files with 77 additions and 13 deletions

View File

@ -127,3 +127,7 @@ void sequencerStopMelodies(t_melodies *melodies) {
schDel(melodies->taskId);
}
void sequencerChangePace(t_melodies *melodies) {
melodies->quarterLength = 60000 / melodies->pace / SEQUENCER_PERIOD; // duration of a 1/4 tone in ms
}