Kara-Moon Forum
November 27, 2021, 11:30:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [20.12] 'Tweaks DefaultDrum' not working  (Read 724 times)
alexis
Jr. Member
*
Posts: 62


« on: January 04, 2021, 05:11:00 PM »

Hello all and happy new year!

I have upgraded MMA to version 20.12.
And since then, no way to set a particular drumkit.

The command:
Code:
Tweaks DefaultDrum=25

...issues:
Code:
Found MMA directory in 'C:\Program Files\mma'. Unable to execute MMA.main.py.

I checked the doc, and apparently this command is still valid.
Is this behavior intentional, and thus the command deprecated?
Or is this a bug?

Cheers,

Alexis
Logged
bvdp
Kara-Moon Master
****
Posts: 1364


WWW
« Reply #1 on: January 04, 2021, 05:24:06 PM »

It's a bug Smiley Let me look at this later today and I'll post a fix. Sorry.
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1364


WWW
« Reply #2 on: January 04, 2021, 05:31:45 PM »

I wish all fixes were this easy!

In the python file tweaks.py please change line 36 from:

   from miditables import drumKits

to

   from MMA.miditables import drumKits
   
I forgot to include the "MMA."

Logged

My online life: http://www.mellowood.ca
alexis
Jr. Member
*
Posts: 62


« Reply #3 on: January 05, 2021, 02:32:20 PM »

Problem solved!
Thanks a lot, Bob.

Maybe you can include this 'Tweaks DefaultDrum' line in the batch you launch to check there are no regresssions?
Logged
bvdp
Kara-Moon Master
****
Posts: 1364


WWW
« Reply #4 on: January 05, 2021, 03:30:51 PM »

Checking for regressions is a good point. Hard to do ... there always seems to be something Smiley
Logged

My online life: http://www.mellowood.ca
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.064 seconds with 19 queries.