Page 1 of 2

Megadrum Crashing

PostPosted: Sun Nov 25, 2018 5:51 pm
by sbonasuk
After an indeterminate time Megadrum (20181031 with MegaDrum Manager FX version 20181028) crashes, it just plays random notes. Closing/opening the MIDI, reloading the config, all fails to recover, the MD then needs to be switched on/off and the config reloaded.

Re: Megadrum Crashing

PostPosted: Sun Nov 25, 2018 10:24 pm
by dmitri
1. What time does it take to crash?
2. If not playing it, does it crash?
3. What MCU version?
4. Post your your full config (zipped .mds file).

Re: Megadrum Crashing

PostPosted: Sun Nov 25, 2018 11:33 pm
by sbonasuk
No specific time period but estimate after about 10 -15 mins
No
STM32F205RCT6
Config emailed to you

Re: Megadrum Crashing

PostPosted: Mon Nov 26, 2018 9:06 pm
by dmitri
So, here what I did.

1. I loaded your config
2. Lowered Threshold on a dozen of inputs to the point where they started triggering on their own to create constant activity.
3. Left it running in this way for an hour.

After an hour it was still fine, no crashes in either MegaDrum or MDMFX. Raised Thresholds back to where they were and all triggering stopped.
So, at this point I cannot reproduce the problem but I noticed a few weird settings in your config. This is a screenshot of with a representative settings:
Screen Shot 2018-11-26 at 20.41.03.png

1. You've enabled SendTriggeredIn. This is a debugging/config help setting. In normal use it must not be enabled as it degrades performance and can interfere with your VST.
2. In the Pedal settings you've enabled 'Reverse Levels'. None of the HiHat controllers I know produce reverse levels. The only situation where it will be needed is if you made a DIY controller and decided to make it to output low level when fully open and high level when closed. Did you really make such a controller?
3. On many inputs you set Note to 0. Is it to disable those inputs? Starting from version 20170622 this is not the right way to do this. You must actually use 'Disable' setting for this.
4. On many inputs you set PressRollNote to 0. This is not the right way (and it never was) to disable PressRolls. You have to set PressRollNote equal to Note to disable PressRolls. Same applies to AltNote.
5. In Pedal Settings you set all Notes to 0. If you use CC 04 for pedal positions and don't want to use all those Notes then you must set them equal to Notes of the HiHat cymbal, not to 0.

So, what I can suggest:
1. Disable SendTriggeredIn
2. Set Disable on inputs which you want to disable.
3. Set all PressRollNotes equal to Note.
4. Set all Pedal Notes equal to Hihat cymbal Notes.

After that:

1. Reproduce the problem.
2. Post your full config again.

Re: Megadrum Crashing

PostPosted: Mon Nov 26, 2018 11:10 pm
by sbonasuk
Thanks Dmitri for taking the time

1. Off
2. All Disabled
3. All PRN = to note
4. All Pedal Notes equal to Hihat cymbal Notes (mine is 39). except for chick splash edge and bell closed

I use a linear pot for the Hihat pedal its upside down hence the reverse levels

Re: Megadrum Crashing

PostPosted: Mon Nov 26, 2018 11:28 pm
by dmitri
1. Are you still having crashes after changes?
2. Can you make a video showing how the "crash" looks like on the LCD and in MDMFX?
3. Can you reproduce the "crash" the way I tried, i.e. instead of playing pads reduce Thresholds on multiple inputs to the level where the inputs start to auto-trigger?

Re: Megadrum Crashing

PostPosted: Wed Nov 28, 2018 10:50 pm
by sbonasuk
That seems to have done the trick any ideas why it may have occurred

Re: Megadrum Crashing

PostPosted: Wed Nov 28, 2018 11:39 pm
by dmitri
What exactly did the trick?

Re: Megadrum Crashing

PostPosted: Thu Nov 29, 2018 9:22 am
by sbonasuk
just following your instructions i have resent the updated config

Re: Megadrum Crashing

PostPosted: Thu Nov 29, 2018 11:20 am
by dmitri
As I could not reproduce the problem with your original setting I don't know what exactly could cause it. All my suggestions were only a result of noticing abnormal settings.