Adding key signatures to generated chorales#7
Conversation
|
Yeah, good point, I've had issues in the past re: key signatures as well. It seems like Music21 handles this somewhat inconsistently. I'll try to take a look. |
|
My guess is that it has to do with the intermediate I like your encoding strategy, because it separates the voices across the 2 staffs and its super compact code-wise. However, it doesn't have any measures and I imagined these are constructed automatically by music21 at some point. Maybe the library is struggling during that process, and having the intermediate I still think this looks more like a |
This PR adds key signatures to the generated chorales.
Currently, the generated score shows the accidentals in every note, and has a key signature of
C/a:It'd be better to output the key signature that corresponds to the key of the chorale:
Some artifacts are still happening with the accidentals. For example, the first
B-shouldn't be printed. I am afraid that has to do with howmusic21processes the score. Yet, I still think it would be good to add this change here, and maybe submit an issue inmusic21related to the artifacts in accidentals. Maybe there is a more idiomatic way of encoding the chorales inmusic21that works better with their routines for generating the score.