berteh / BandInMuseScore

Accompaniment generator for MuseScore, something like Band-In-A-Box, auto-magically powered by MMA Musical Midi Accompaniment.
https://berteh.github.io/BandInMuseScore/
GNU General Public License v3.0
32 stars 5 forks source link

2 bars chords not created in midifile #8

Open dompaon opened 3 years ago

dompaon commented 3 years ago

Hi Berteh When a chord is the same in several bars, its often not re-typed in the MSC. The MMA file shows 1 C7 2 3 E7 4 5..... but the midifile generated will have only 2 bars, it skips the bars with no chord in the MMA file If its a MMA limitation, you could generate the MMA file adding the previous chord when a bar is empty. Best regards Dom

berteh commented 3 years ago

hum, indeed... I'm no MMA specialist as you can see.

Is the only possible way to generate every single bar line with a number or did you see an easier solution (like adding systematically only the index of the last measure ?)

berteh commented 3 years ago

I only found https://www.mellowood.ca/mma/online-docs/html/ref/node8.html#SECTION00810000000000000000

dompaon commented 3 years ago

Hi Berteh. Thanks for so quick reaction to all my posts ! Sorry for not tagging them properly, Its my first time on Github. As you might see in my profile, Im not a developper, although i used to in the 90s, but the technos werer totally different, and although i work as manager of a dev team... I will try to learn a bit of qml and JS to do some plugins for musescore as Id love to see some cool new functions, but for the time being, Im unable to code actually and push you any updates for analysing and merging.

For this precise topic, reading the mellowood doc and the mma file, i think only repeating the chord in the MMA file would lead MMA to generate proper Mifidile. In my above example, it would mean

1 C7 2 C7 3 E7 4 E7

bars 2 and 4 being deducted from bars 1 and 3. If you have some time, Id be glad to test it. More generally speaking, you can count on me for Musescore plugins testing best regards Dom