ciacob / maidens

MAIDENS: an application for algorithmically drafting ideas for your next art music masterpiece.
https://github.com/ciacob/maidens/wiki
GNU General Public License v3.0
13 stars 0 forks source link

Store last pitch and duration per voice/part/section #15

Open ciacob opened 6 months ago

ciacob commented 6 months ago

The last pitch and duration entered by the user should not be stored globally. Especially when entering two-voice music, it is useful to keep track of each individual voice's level, so if I entered a middle C in voice 2 and a middle G in voice 1, the next pitch I should be proposed in voice 1 should be "G", whereas in voice two it should be "C", and they shouldn't mix. The same logic should be applied to durations. It might be able to extend this approach to parts and sections.