NoteOn/NoteOff messages reversed when using AutoLoad Conf

Discussions related to MegaDrum Hardware

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby timekeeper » Sat Jul 16, 2011 12:05 pm

dmitri wrote:Can you make a video showing the problem with the latest firmware version?


Here is the video: http://www.youtube.com/watch?v=4MggUr6bXlc
Forgive the quality... As I say in the description, I restarted my PC, connected Megadrum with default setting (Right button pressed) and fired up MDManager. My first hit on a pad, gave a Note On but not a Note Off. With the next hit, Note Off -> Note On.
Going on means going far. Going far means returning...
timekeeper
 
Posts: 136
Joined: Sun Sep 26, 2010 6:11 pm
Location: Greece

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby dmitri » Sat Jul 16, 2011 12:51 pm

Try this firmware:
megadrum644_56_20110716_test.zip
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby timekeeper » Sat Jul 16, 2011 1:17 pm

dmitri wrote:Try this firmware:
megadrum644_56_20110716_test.zip


I tried it. It works out of the box! Even with autoload set to Yes. I managed to make the problem appear again by unplugging Megadrum while I had MDManager, Reaper and Addictive Drums running. I plugged it again, closed and restarted MDManager, selected Clear Midi Devices on reaper and Megadrum was working fine again! It seems like you solved it Dmitri! What changes did you make?
Going on means going far. Going far means returning...
timekeeper
 
Posts: 136
Joined: Sun Sep 26, 2010 6:11 pm
Location: Greece

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby dmitri » Sat Jul 16, 2011 1:34 pm

timekeeper wrote:What changes did you make?

I'm still trying to figure out why the original fix didn't work for you. Try this firmware:
megadrum644_56_20110716_1s_d.zip
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby timekeeper » Sat Jul 16, 2011 5:23 pm

dmitri wrote:
timekeeper wrote:What changes did you make?

I'm still trying to figure out why the original fix didn't work for you. Try this firmware:
megadrum644_56_20110716_1s_d.zip


Dmitri, this one appears steadier since I wasn't able to reproduce the problem although I "abused" it equally!!! So, have you reached a conclusion of what caused the problem?
Going on means going far. Going far means returning...
timekeeper
 
Posts: 136
Joined: Sun Sep 26, 2010 6:11 pm
Location: Greece

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby dmitri » Sat Jul 16, 2011 6:02 pm

It seems like a start up timing issue. Can you try this one?
megadrum644_56_20110716_timekeepr.zip
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby timekeeper » Sat Jul 16, 2011 7:21 pm

dmitri wrote:It seems like a start up timing issue. Can you try this one?
megadrum644_56_20110716_timekeepr.zip


It was very easy to reproduce the problem with this version. All I had to do was unplug Megadrum while MDManager and Reaper - Addictive Drums were running. After that, the same pattern emerged: First hit gave only Note On, next hits gave Note Off -> Note On.

I must add, that this whole situation appeared when I replaced PIC18F2450 with PIC18F2550. Before that, no such issue appeared, at least I didn't notice it... Dmitri, would you like me to replace the PIC again and try the above firmwares?
Is it OK if I stick to megadrum644_56_20110716_1s_d that worked fine?
Going on means going far. Going far means returning...
timekeeper
 
Posts: 136
Joined: Sun Sep 26, 2010 6:11 pm
Location: Greece

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby dmitri » Sat Jul 16, 2011 7:54 pm

timekeeper wrote:Is it OK if I stick to megadrum644_56_20110716_1s_d that worked fine?

Of course you can. It's just seems your setup is affected the worst and it is easiest for you to reproduce the problem (in all the versions I posted in this topic I couldn't reproduce the problem myself).
If you are willing to do more tests here is another version:
megadrum644_56_20110716_timekeeper2.zip
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby timekeeper » Sat Jul 16, 2011 8:13 pm

dmitri wrote:If you are willing to do more tests here is another version:
megadrum644_56_20110716_timekeeper2.zip


Of course I'll try it. I am sure the soldering quality of my build could easily be described as CRAP! Did you have to make any changes to the worse for the test firmwares?
Going on means going far. Going far means returning...
timekeeper
 
Posts: 136
Joined: Sun Sep 26, 2010 6:11 pm
Location: Greece

Re: NoteOn/NoteOff messages reversed when using AutoLoad Con

Postby dmitri » Sat Jul 16, 2011 8:23 pm

timekeeper wrote:
dmitri wrote:If you are willing to do more tests here is another version:
megadrum644_56_20110716_timekeeper2.zip


Of course I'll try it. I am sure the soldering quality of my build could easily be described as CRAP! Did you have to make any changes to the worse for the test firmwares?

I managed semi-regularly reproduce the problem on 20110706 version using a passive USB hub. I couldn't re-produce the problem with any test version posted here or 20110716 version.
I'm using your help to find the best solution to the problem. Please try this one as well:
megadrum644_56_20110716_timekeeper3.zip
You do not have the required permissions to view the files attached to this post.
dmitri
Site Admin
 
Posts: 8654
Joined: Fri Aug 03, 2007 8:05 pm

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot] and 159 guests

cron