tsunrise/everybody-compose

`quarterLength` is not seconds

Closed this issue · 0 comments

we will need to fix that:

  • In data preprocessing: get tempo of the stream, and map duration using this formula:
duration = quarterLength * 4 * tempo / 60

Source: https://music.stackexchange.com/questions/66827/is-a-whole-note-in-seconds-equal-to-60-divided-by-bpm

  • In generate_midi:
    Set BPM to 60, and that's it.