MMA doesn't function

• Sep 12, 2019 - 19:19
Reported version
3.6
Type
Plugins
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No

Followed installation and get the following errors:
MMA accompaniment is ready for you, but we could not generate the MIDI file from it.

Please check path settings in script, or run the 'mma' command manually:
cmd.exe /c C:/WPython64/mma-bin-19.08/mma.bat -f C:/temp/MMAtemp.mid C:/temp/MMAtemp.mma

The source MMA file is available at C:/temp/MMAtemp.mma


Comments

Or better use the %TEMP% or %TMP% environment variable to determine where a user can create temporary files, as on Windows (at least since 7) a C:/Temp directory doesn't exist by default and 'mere mortal' users may not even have the permission to create such a directory in the root of the system drive

Status active fixed

Thanks for @hadleyclarinet for spotting this issue. It is now resolved. Kindly re-download the plugin and try again.

For the more technical/interested people: I used the FileIO.tempPath() to solve this problem in a (hopefully) cross-OS way.

I downloaded and installed the new update of plugin and received the following error:
MMA accompaniment is ready for you, but we could not generate the MIDI file from it.
Please fix the following error:

C:\Program Files\MuseScore 3\bin>cd C:\WPython64\mma-bin-19.08\

C:\WPython64\mma-bin-19.08>..\PYTHON~1.AMD\python.exe mma.py -f C:/Users/HP/AppData/Local/Temp/groove test_MMA.mid test_MMA.mma
MMA - Musical Midi Accompaniment
Copyright 2003-19, Bob van der Poel. Version 19.08
Distributed under the terms of the GNU Public License.
Usage: mma [opts ...] INFILE [opts ...]

Options:
-b Limit compilation to n1-n2 bars (comment numbers)
-B Like -b but for absolute bar numbers
-c display default Channel assignments
-d enable lots of Debugging messages
-Dk print list of MMA keywords
-Dxl eXtract Latex doc blocks from file
-Dxh eXtract HTML doc blocks from file
-Dgh extract HTML Groove doc
-Dbo extract text for browser app
-Ds extract sequence lists from file
-e show parsed/Expanded lines
-f set output Filename
-g update Groove dependency database
-G create Groove dependency database
-i specify init (mmarc) file
-I print docs for plugin if available
-II skip premissions test for plugins (Dangerous!)
-L show order of bars processed
-m set Maxbars (default == 500)
-M set SMF to 0 or 1
-n No generation of midi output
-o show complete filenames when Opened
-p display Patterns as they are defined
-P play song (don't save) with player
-r display Running progress
-s display Sequence info during run
-S Set macro 'var' to 'data'
-T Limit generation to specified tracks
-v display Version number
-V preview play groove
-w disable Warning messages
-0 create sync at start of all channel tracks
-1 create sync at end of all channel tracks
- a single hyphen signals to use STDIN instead of a file

Only one input filename is permitted, 2 given on command line.

The generated MMA file is nevertheless available at C:/Users/HP/AppData/Local/Temp/groove test_MMA.mma

Status fixed active

Thank you @hadleyclarinet for reporting this problem.

It is likely due to there being a white space character in the name of your MuseScore (mscz) file.

I will look at a way to fix this in the plugin in the next days, in the meanwhile kindly rename your file without space (user dashes, or underscore instead, via File > Save As) and try again, so we can be sure this is the problem.

I'll let you know here as soon as white spaces are supported.

Berteh.

Here is the message I get when renaming my file with no white spaces.
MMA accompaniment is ready for you, but we could not generate the MIDI file from it.
Please fix the following error:

C:\Program Files\MuseScore 3\bin>cd C:\WPython64\mma-bin-19.08\

C:\WPython64\mma-bin-19.08>..\PYTHON~1.AMD\python.exe mma.py -f C:/Users/HP/AppData/Local/Temp/BandBoxexample_MMA.mid C:/Users/HP/AppData/Local/Temp/BandBoxexample_MMA.mma
Error:
Groove 'FOKROCKPLUS' could not be found in memory or library files

The generated MMA file is nevertheless available at C:/Users/HP/AppData/Local/Temp/BandBoxexample_MMA.mma

Sorry.
Best regards
Hadley

Attachment Size
BandBoxexample.mscz 4.36 KB
.Band Box example.mscz, 4.3 KB

Getting there slowly :)

The error message says it all: Looks like you used a groove name that doesn't exist. Either remove the groove instruction completely (this will then use the default 'folk' groove), or use an existing name You can find them on the website.

Looks to me like your 'FOKROCKPLUS' is missing an 'L' as third character.

Help ! I've tried a couple of times but still stuck... Here is the message I get :

MMA accompaniment is ready for you, but we could not generate the MIDI file from it.
Please fix the following error:
The generated MMA file is nevertheless available at "C:/Users/Guillaume/AppData/Local/Temp/Sans titre_MMA.mma"

In the meantime the plugin has been fixed and now supports white spaces. So please either rename your file (via file> save as) without white space, or (preferably) redownload plugin and overwrite the previous version.

Kindly confirm it works for you along with your OS and MuseScore version.
B.

In reply to by berteh

Thanks, I am using the latest version of musescore on windows 10.
Renaming the file I get this :
MMA accompaniment is ready for you, but we could not generate the MIDI file from it.
Please fix the following error:
The generated MMA file is nevertheless available at "C:/Users/Guillaume/AppData/Local/Temp/nospace_MMA.mma"

Hello Guillaume. That seems strange to me, as other users had no trouble making it run in Win10.

Did you install MMA (and Python) according to the install instruction in https://berteh.github.io/BandInMuseScore/INSTALL.html#windows ?

If no please do and try again... and let me know how I can improve the documentation to make sure other users understand this needs to be done.

If yes I'd need more info to identify the problem... Could you then please, in MuseScore, open your Score with chords, and then run Plugin > Plugin Creator. From the plugin Creator please open the BandInMuseScore3.qml file, hit "run" at the bottom left of the screen, and copy-paste here the content of the console box at the bottom ? (It should end with the error message you already gave me, but provide more information).

Sorry for the inconvenience, I hope we can fix it soon together.

In reply to by berteh

Thanks, This is what I get :

En cours…
Détails du Plugin :
Chemin du menu : Plugins.BandInMuseScore3
Version : 3.0
Description : Generate a band-like accompaniment on the basis of Chords.

Requires to install MMA Musical Midi Accompaniment (Free and OpenSource).
Moreover at https://berteh.github.io/BandInMuseScore/
Nécessite une partition
Debug: Generating MMA for Title from file 3 Chanson_du_petit_Poucet in file C:/Users/Guillaume/AppData/Local/Temp/3 Chanson_du_petit_Poucet_MMA.mma
Debug: exporting track 0
Debug: - skipped Rest
Debug: - skipped Rest
Debug: - skipped Rest
Debug: - skipped Rest
Debug: buffering Harmony A- at 3840
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: A-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony Bb at 5760
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: Bb
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony B7 at 7680
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony E7 at 9600
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E7
Debug: buffering Harmony A- at 10560
Debug: - skipped Chord
Debug: - skipped Rest
Debug: - skipped Rest
Debug: MMA chords buffer is: A-
Debug: - skipped Clef
Debug: buffering Harmony A- at 11520
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: A-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony Bb at 13440
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: Bb
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony B7 at 15360
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony E7 at 17280
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E7
Debug: buffering Harmony A- at 18240
Debug: - skipped Chord
Debug: - skipped Rest
Debug: - skipped Rest
Debug: MMA chords buffer is: A-
Debug: - skipped Clef
Debug: buffering Harmony E- at 19200
Debug: - skipped Dynamic
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony F at 23040
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: F
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony B7 at 24960
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony E- at 26880
Debug: - skipped Dynamic
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony F at 30720
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: F
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony B7 at 32640
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: buffering Harmony E- at 33600
Debug: - skipped Chord
Debug: - skipped Rest
Debug: buffering Harmony E7 at 34080
Debug: - skipped Rest
Debug: MMA chords buffer is: E- E7
Debug: - skipped Clef
Debug: - skipped Dynamic
Debug: buffering Harmony A- at 34560
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: A-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony Bb at 36480
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: Bb
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony B7 at 38400
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony E7 at 40320
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E7
Debug: buffering Harmony A- at 41280
Debug: - skipped Chord
Debug: - skipped Rest
Debug: - skipped Rest
Debug: MMA chords buffer is: A-
Debug:
MMA:

// Title, Composer
// MMA Midi Accompaniment generated from MuseScore
// github.com/berteh/BandInMuseScore - www.mellowood.ca/mma/

Tempo 120
Groove Folk

TimeSig 2 4
Tempo 120
1 A-
2
3 Bb
4
5 B7
6
7 E7
8 A-
9 A-
10
11 Bb
12
13 B7
14
15 E7
16 A-
17 E-
18
19
20
21 F
22
23 B7
24
25 E-
26
27
28
29 F
30
31 B7
32 E- E7
33 A-
34
35 Bb
36
37 B7
38
39 E7
40 A-
cut
Debug: generating MIDI file with command: cmd.exe /c C:/WPython64/mma-bin-19.08/mma.bat -f "C:/Users/Guillaume/AppData/Local/Temp/3 Chanson_du_petit_Poucet_MMA.mid" "C:/Users/Guillaume/AppData/Local/Temp/3 Chanson_du_petit_Poucet_MMA.mma"
Debug:
Debug: MIDI generation error:

And similiarly with no spaces in the file name :

En cours…
Détails du Plugin :
Chemin du menu : Plugins.BandInMuseScore3
Version : 3.0
Description : Generate a band-like accompaniment on the basis of Chords.

Requires to install MMA Musical Midi Accompaniment (Free and OpenSource).
Moreover at https://berteh.github.io/BandInMuseScore/
Nécessite une partition
Debug: Generating MMA for Title from file Chanson_du_petit_Poucet in file C:/Users/Guillaume/AppData/Local/Temp/Chanson_du_petit_Poucet_MMA.mma
Debug: exporting track 0
Debug: - skipped Rest
Debug: - skipped Rest
Debug: - skipped Rest
Debug: - skipped Rest
Debug: buffering Harmony A- at 3840
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: A-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony Bb at 5760
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: Bb
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony B7 at 7680
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony E7 at 9600
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E7
Debug: buffering Harmony A- at 10560
Debug: - skipped Chord
Debug: - skipped Rest
Debug: - skipped Rest
Debug: MMA chords buffer is: A-
Debug: - skipped Clef
Debug: buffering Harmony A- at 11520
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: A-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony Bb at 13440
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: Bb
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony B7 at 15360
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony E7 at 17280
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E7
Debug: buffering Harmony A- at 18240
Debug: - skipped Chord
Debug: - skipped Rest
Debug: - skipped Rest
Debug: MMA chords buffer is: A-
Debug: - skipped Clef
Debug: buffering Harmony E- at 19200
Debug: - skipped Dynamic
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony F at 23040
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: F
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony B7 at 24960
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony E- at 26880
Debug: - skipped Dynamic
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony F at 30720
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: F
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony B7 at 32640
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: buffering Harmony E- at 33600
Debug: - skipped Chord
Debug: - skipped Rest
Debug: buffering Harmony E7 at 34080
Debug: - skipped Rest
Debug: MMA chords buffer is: E- E7
Debug: - skipped Clef
Debug: - skipped Dynamic
Debug: buffering Harmony A- at 34560
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: A-
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: buffering Harmony Bb at 36480
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: Bb
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Rest
Debug: MMA chords buffer is:
Debug: - skipped Clef
Debug: buffering Harmony B7 at 38400
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: B7
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is:
Debug: buffering Harmony E7 at 40320
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: - skipped Chord
Debug: MMA chords buffer is: E7
Debug: buffering Harmony A- at 41280
Debug: - skipped Chord
Debug: - skipped Rest
Debug: - skipped Rest
Debug: MMA chords buffer is: A-
Debug:
MMA:

// Title, Composer
// MMA Midi Accompaniment generated from MuseScore
// github.com/berteh/BandInMuseScore - www.mellowood.ca/mma/

Tempo 120
Groove Folk

TimeSig 2 4
Tempo 120
1 A-
2
3 Bb
4
5 B7
6
7 E7
8 A-
9 A-
10
11 Bb
12
13 B7
14
15 E7
16 A-
17 E-
18
19
20
21 F
22
23 B7
24
25 E-
26
27
28
29 F
30
31 B7
32 E- E7
33 A-
34
35 Bb
36
37 B7
38
39 E7
40 A-
cut
Debug: generating MIDI file with command: cmd.exe /c C:/WPython64/mma-bin-19.08/mma.bat -f "C:/Users/Guillaume/AppData/Local/Temp/Chanson_du_petit_Poucet_MMA.mid" "C:/Users/Guillaume/AppData/Local/Temp/Chanson_du_petit_Poucet_MMA.mma"
Debug:
Debug: MIDI generation error:

Thanks for digging into this.

In what folder did you install Python ? C:/WPython64? and MMA ? C:/WPython64/mma-bin-19.08 ? and did you create the mma.bat file as instructed ?

Could you please run the following command from a command line ?

C:/WPython64/mma-bin-19.08/mma.bat -f "C:/Users/Guillaume/AppData/Local/Temp/Chanson_du_petit_Poucet_MMA.mid" "C:/Users/Guillaume/AppData/Local/Temp/Chanson_du_petit_Poucet_MMA.mma"

To open a command line hit the "windows key + r", type "cmd" and hit enter, then simply copy-paste the line above (as a single line) and hit enter... This would allow me to make sure MMA is working on your machine. If not, then the problem lies not in the plugin but in the program installation.

Another user reported having troubles with the mma.bat file, and fixed it by changing its content to:

cd %~dp0
..\PYTHON~1.AMD\python.exe mma.py %1 %2 %3 %5 %6 %7 %8 %9

In reply to by berteh

Sorry again : I hadn't unzipped WPython in C, thinking my desktop was already in C... Perhaps you could add instructions for mere ignorants like me, maybee something like : "Move the downloaded file to C and unzip it there" would have helped... But i finally get a result today !
Except now i'm lost again when trying to change the style or generate a solo melody. Reading the MMA manual is a bit like trying to understand chinese... We have to use command lines ? An easier basic step by step tutorial would be necessary for poeple like me... Also I noticed that not every chord symbol is recognized (Csus7 for example isn't ), but could not find the recognised chords list in the MMA manual...
Thanks for your time anyway.

Hello again ! Sorry about the above confusion, it partly came from the fact that you present 2 different chapter in the presentation : "Features" and "Customising accompaniment" both about using staff text to add MMA directive. I have a strong interest in the melody generation feature, so i focused on "Customising accompaniment" where it is mentionned, and didn't realise every MMA command is done in the same manner through the staff text. Sometimes you lose time when you're rushing... But I think it will be clearer if it was all i the same chapter. Now about the melody generator : So far i see no difference if i add for exemple "solo voice flute" or nothing before the groove style.
I seem to get the same result. Changing the groove works well though. I'm looking for a way to create melodic lines to use as sight-reading exercises, with an accompaniment to make it more fun. Ideally with the possibility of adjusting parametres like note length, range, etc... to customise the exercice's level. Do you think this can be done with your plugin ? If you are curious about this i explain it further here : https://musescore.org/en/node/275483

Status active fixed

@Guillaume Hue I'll close the bug report then, since MMA does function for you too ;)
About generating melodies please have a look at the ARIA track documention of MMA:
https://www.mellowood.ca/mma/online-docs/html/ref/node12.html#chap-aria
I have no experience with this whatsoever.

@hadleyclarinet I didn't take much look at a more accurate quantization of chords, but will do in a next version of the plugin, maybe in 2 weeks. Feel free to ping me back mi october if you see nothing by then.

I have experienced a different issue. MuseScore longtimers suggest to put in chord names in lower case. MuseScore accepts that, but the plugin seems to need them in bold case.

Error: Illegal/Unknown chord name: 'eb'

If I change that to Eb the error disappears. I only see the error when manually executing the command

python.exe mma.py -f F:/temp/Just_a_Little_While_to_Stay_Here.msitb_MMA.mid F:/temp/Just_a_Little_While_to_Stay_Here.msitb_MMA.mma

from command line. Luckily the plugin debugger tells what he is doing. But the error output is not displayed there.

I still don't get it automatically by invoking the plugin. But I'm able to recreate the steps necessary to get the midi file generated. But I only just begun looking into this.

In reply to by SlyDr

When entering chords I always use lowercase symbols as this types faster. They are correctly dispayed in MuseScore so I never bothered. To get your plugin working I need to convert all my chords so they begin with a capital letter.

Frequency Once Many
Type Functional Plugins
Reported version 3.2 3.6

Hello
My configuration : Ubuntu 22.04, Musescore 3.6.2 (snap), BandInMuseScore 3.0, MMA 21.09
I get :
MMA accompaniment is ready for you, but we could not generate the MIDI file from it.
Please fix the following error:
undefined

The generated MMA file is nevertheless available at "/tmp/Grooves_MMA.mma"

What is undefined in my file ?
Thanks for your reply ?

Attachment Size
Grooves.mscz 11.41 KB