rualark / MGen

MGen: Windows PC C++ music generation and analysis laboratory, playing into MIDI port and exporting MIDI
http://arkhipenko.weebly.com
GNU Affero General Public License v3.0
45 stars 11 forks source link

CF1: Remove duplicate flags from anflags while increasing fpenalty #773

Open rualark opened 7 years ago

rualark commented 7 years ago

Also you can remove duplicate flags before sending Also you can remove duplicate flags in all melody (many Stepwize motions in different notes)

Flags:

rualark commented 7 years ago

Pay attention that this change can make understanding flags more difficult

rualark commented 6 years ago

Solution: when sending step comments, use local set of flag ids to ensure that they are sent once.

Best way is to prevent duplicate flags from appearing instead of filtering them. Because filtering makes visual debugging more difficult. Also creating duplicate flags can decrease performance.