Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: bvdp on November 16, 2020, 09:42:34 PM



Title: MMA 20.02f posted
Post by: bvdp on November 16, 2020, 09:42:34 PM
A new developer version is up. Let me know of any issues ... I'd like to get a 20.12 version out in December!


Title: Re: MMA 20.02f posted
Post by: sciurius on November 17, 2020, 09:17:33 AM
Thanks.

Fedora RPMs in the usual place: https://www.squirrel.nl/pub/MMA/

MMA_PLUGPATH seems to work as expected.

mma -I still cannot find local plugins.
Move in main.py the call MMA.options.opts() to after processing the MMA_LIBPATH and MMA_PLUGPATH environment variables?

MMA_LIBPATH seems to work as expected.

mma-gb seems to be designed for a single libPath only, so adding processing of MMA_LIBPATH is not trivial.

mma-gb crashes on [Re-read Grooves] when mma produces unexpected output. For example, a PRINT statement in .mmarc.


Title: Re: MMA 20.02f posted
Post by: bvdp on November 19, 2020, 04:35:20 PM
I think I see a fix for the path issue. I'll code it later and post a patch file. Quite simple, really, once you see it :)

Still, the RC file will not be processed before the options are parsed. So, if you want a different location for you libs you'll need to do it with env variables, which probably makes sense.

Standby for more code :)


Title: Re: MMA 20.02f posted
Post by: bvdp on November 20, 2020, 03:03:44 AM
The attached patch file should correct the issues with MMA_LIBPATH and MMA_PLUGPATH not being applied at the right time. Now, the -I, as well as -V, should work for directories set via the env option. As well, I've added a MMA_INCPATH variable.

Sorry, can't support setting for CLI via an RC file. RC files are just regular mma files (and, can contain chord data, etc) and we need to finish init before reading them.

Please let me know if this works.


Title: Re: MMA 20.02f posted
Post by: sciurius on November 20, 2020, 07:42:46 AM
AFAICS works as expected. Thanks!


Title: Re: MMA 20.02f posted
Post by: bvdp on November 20, 2020, 04:16:49 PM
Great. I'll do the docs later today then.