My megadrum doesn't work properly

Discussions related to MegaDrum Hardware

Re: My megadrum doesn't work properly

Postby dmitri » Thu May 28, 2009 8:35 pm

milkhouse wrote:
dmitri wrote:Use MIDI-OX to actually see that you get MIDI messages when you hit on snare piezos/pads.

Capture:

TIMESTAMP IN PORT STATUS DATA1 DATA2 CHAN NOTE EVENT
000009B5 2 3 93 6D 13 4 C# 8 Note On
00000A11 2 3 93 6D 13 4 C# 8 Note On

00000DBF 2 3 D3 6D -- 4 --- Channel Aft
0000129C 2 3 D3 6D -- 4 --- Channel Aft

000014B3 2 3 93 6D 13 4 C# 8 Note On
00001E44 2 3 93 6D 13 4 C# 8 Note On
000191A0 2 3 93 6D 13 4 C# 8 Note On
0001A15E 2 3 93 6D 13 4 C# 8 Note On
0001A22B 2 3 93 6D 13 4 C# 8 Note On
0001A2EF 2 3 93 6D 13 4 C# 8 Note On
0001A565 2 3 93 6D 13 4 C# 8 Note On
0001ABDB 2 3 93 6D 13 4 C# 8 Note On

0001BCA7 2 3 E8 6D 08 9 --- Pitch Bend
0001C26C 2 3 88 6D 08 9 C# 8 Note Off
0001D8C2 2 3 C8 6D -- 9 --- PC: Bagpipe
0001DDCB 2 3 A8 6D 08 9 C# 8 Key Aftertouch
0001E143 2 3 A8 6D 08 9 C# 8 Key Aftertouch
0001E513 2 3 A8 6D 08 9 C# 8 Key Aftertouch
00023ED1 2 3 A8 6D 08 9 C# 8 Key Aftertouch
00023F0F 2 3 A8 6D 08 9 C# 8 Key Aftertouch

00026A49 2 3 85 6D 05 6 C# 8 Note Off
00026C61 2 3 85 6D 05 6 C# 8 Note Off
00026F52 2 3 85 6D 05 6 C# 8 Note Off

00026F9C 2 3 C5 6D -- 6 --- PC: Bagpipe
00026FC9 2 3 85 6D 05 6 C# 8 Note Off
0002709C 2 3 85 6D 05 6 C# 8 Note Off
000270FF 2 3 85 6D 05 6 C# 8 Note Off
000271A7 2 3 85 6D 05 6 C# 8 Note Off
00027783 2 3 85 6D 05 6 C# 8 Note Off
00027892 2 3 85 6D 05 6 C# 8 Note Off
00027AAC 2 3 85 6D 05 6 C# 8 Note Off
000280B9 2 3 85 6D 05 6 C# 8 Note Off
000283C7 2 3 85 6D 05 6 C# 8 Note Off
00028431 2 3 85 6D 05 6 C# 8 Note Off

00028466 2 3 C5 6D -- 6 --- PC: Bagpipe
000284AD 2 3 85 6D 05 6 C# 8 Note Off
00028531 2 3 85 6D 05 6 C# 8 Note Off
000285F8 2 3 85 6D 05 6 C# 8 Note Off

that's me plugging in diferent ports ( ride, snare and one random... dunno which)
where it says "Key Aftertouch" or "Channel Aftertouch" is when i was plugging/unplugging piezo. I used just one to test that :D

First of all, it looks like a total mess. 'Note On' messages are sent on channel 4 and 'Note Off' messages are sent on channel 6 when default is channel 10. The note is the same all the time - 109 (6D). Did you set any Note or BNote to 109?
And, please, do clean tests. Choose an input, e.g. SnareH, connect your pad/piezo to this input. Do the test with MIDI-OX and show all your settings for this input here.
dmitri
Site Admin
 
Posts: 8710
Joined: Fri Aug 03, 2007 8:05 pm

Re: My megadrum doesn't work properly

Postby milkhouse » Fri May 29, 2009 12:49 am

dmitri wrote:First of all, it looks like a total mess. 'Note On' messages are sent on channel 4 and 'Note Off' messages are sent on channel 6 when default is channel 10. The note is the same all the time - 109 (6D). Did you set any Note or BNote to 109?
And, please, do clean tests. Choose an input, e.g. SnareH, connect your pad/piezo to this input. Do the test with MIDI-OX and show all your settings for this input here.

Sorry dmitri, you are right, is a total mess... i will do it clearly:
i connected port 7 of the "ide" input from Synthex (7 - HiHat Bow). after hitting the piezo i get this result:
sometimes i get this line:
00011C57 2 3 93 6D 13 4 C# 8 Note On
and sometimes i get this one:
0001226E 2 3 D3 6D -- 4 --- Channel Aft
then i connected port 10 (10 - Snare Rim) and i got different results... those are the followings:
00063C71 2 3 88 6D 08 9 C# 8 Note Off
000B66AD 2 3 C8 6D -- 9 --- PC: Bagpipe
000B8EB7 2 3 A8 6D 08 9 C# 8 Key Aftertouch
000B91C6 2 3 88 6D 08 9 C# 8 Note Off
000BA733 2 3 E8 6D 08 9 --- Pitch Bend
(after hitting many times)

Besides, i got this drum map from that soft:
Image
in the first case, 4th indicator turned on when hitting (both input and output)
and in the second case, 9th indicator turned on when hitting

i dont understand any of this. thanks for helping
milkhouse
 
Posts: 9
Joined: Thu Sep 11, 2008 2:25 am

Re: My megadrum doesn't work properly

Postby dmitri » Fri May 29, 2009 8:52 am

milkhouse wrote:
dmitri wrote:First of all, it looks like a total mess. 'Note On' messages are sent on channel 4 and 'Note Off' messages are sent on channel 6 when default is channel 10. The note is the same all the time - 109 (6D). Did you set any Note or BNote to 109?
And, please, do clean tests. Choose an input, e.g. SnareH, connect your pad/piezo to this input. Do the test with MIDI-OX and show all your settings for this input here.

Sorry dmitri, you are right, is a total mess... i will do it clearly:
i connected port 7 of the "ide" input from Synthex (7 - HiHat Bow). after hitting the piezo i get this result:
sometimes i get this line:
00011C57 2 3 93 6D 13 4 C# 8 Note On
and sometimes i get this one:
0001226E 2 3 D3 6D -- 4 --- Channel Aft
then i connected port 10 (10 - Snare Rim) and i got different results... those are the followings:
00063C71 2 3 88 6D 08 9 C# 8 Note Off
000B66AD 2 3 C8 6D -- 9 --- PC: Bagpipe
000B8EB7 2 3 A8 6D 08 9 C# 8 Key Aftertouch
000B91C6 2 3 88 6D 08 9 C# 8 Note Off
000BA733 2 3 E8 6D 08 9 --- Pitch Bend
(after hitting many times)

Besides, i got this drum map from that soft:
Image
in the first case, 4th indicator turned on when hitting (both input and output)
and in the second case, 9th indicator turned on when hitting

i dont understand any of this. thanks for helping

I'm 99% sure you either set MIDI speed to 38400 or you have a mismatch between the Atmega crystal frequency and firmware frequency.
dmitri
Site Admin
 
Posts: 8710
Joined: Fri Aug 03, 2007 8:05 pm

Re: My megadrum doesn't work properly

Postby milkhouse » Fri May 29, 2009 4:47 pm

dmitri wrote:I'm 99% sure you either set MIDI speed to 38400 or you have a mismatch between the Atmega crystal frequency and firmware frequency.

so you mean i have to record 20Mhz firmware in the atmega? remember i am using Synthex's kit... it already came with a firmware, dunno wich

EDIT: lol!!!
Image
milkhouse
 
Posts: 9
Joined: Thu Sep 11, 2008 2:25 am

Re: My megadrum doesn't work properly

Postby userfriendly » Fri May 29, 2009 6:15 pm

milkhouse wrote:
dmitri wrote:I'm 99% sure you either set MIDI speed to 38400 or you have a mismatch between the Atmega crystal frequency and firmware frequency.

so you mean i have to record 20Mhz firmware in the atmega? remember i am using Synthex's kit... it already came with a firmware, dunno wich

Well, which crystal did you solder onto the PCB, the 16 MHz one or the 20 MHz one?

If I'm not mistaken, the Atmega32 chips in synthex's kits come with firmware for 16 MHz pre-installed, since that's the frequency they're specified to run at. Using the 20 Mhz crystal would work (though it would mean overclocking the Atmega), but you'll have to install the proper firmware to go with it.

milkhouse wrote:EDIT: lol!!!
Image

Yeah, my MCT seemed to think that 20090326 was the latest firmware there is as well.

For updating the firmware I used MIDI-OX. Works like a charm.
userfriendly
 
Posts: 71
Joined: Sat Apr 25, 2009 9:31 pm

Re: My megadrum doesn't work properly

Postby milkhouse » Sat May 30, 2009 7:13 pm

userfriendly wrote:For updating the firmware I used MIDI-OX. Works like a charm.

well, i did it, i updated firmware, and everything seems to work ok! i have no time to make exhaustive tests, but, aparently everything is going ok. thanks a lot for helping, to all of you. i really apreciate, when i have everything working, i will post pictures, vids and all =D thanks again!
milkhouse
 
Posts: 9
Joined: Thu Sep 11, 2008 2:25 am

Re: My megadrum doesn't work properly

Postby dmitri » Sat May 30, 2009 7:16 pm

milkhouse wrote:
userfriendly wrote:For updating the firmware I used MIDI-OX. Works like a charm.

well, i did it, i updated firmware, and everything seems to work ok! i have no time to make exhaustive tests, but, aparently everything is going ok. thanks a lot for helping, to all of you. i really apreciate, when i have everything working, i will post pictures, vids and all =D thanks again!

Be aware, if it is Atmega32 running at 20MHz (overclocked) all sorts of things can happen. If you encounter any problems with an overclocked Atmega I won't be able to help.
dmitri
Site Admin
 
Posts: 8710
Joined: Fri Aug 03, 2007 8:05 pm

Re: My megadrum doesn't work properly

Postby milkhouse » Sun May 31, 2009 3:42 pm

dmitri wrote:
milkhouse wrote:
userfriendly wrote:For updating the firmware I used MIDI-OX. Works like a charm.

well, i did it, i updated firmware, and everything seems to work ok! i have no time to make exhaustive tests, but, aparently everything is going ok. thanks a lot for helping, to all of you. i really apreciate, when i have everything working, i will post pictures, vids and all =D thanks again!

Be aware, if it is Atmega32 running at 20MHz (overclocked) all sorts of things can happen. If you encounter any problems with an overclocked Atmega I won't be able to help.

hmmm... i used this version of the firmware: megadrum32_20_32_20090528
i did lot of tests now, with only one pad connected at a time (cuz i only have one :P) and worked very good. speed in response, no missing hits, works excellent.... but if i didnt missunderstand you, u say i could have some sort of problems using 20 Mhz? if so... should i try to find a 16Mhz crystal? (wich is impossible in my town, and nearly impossible at next city - 200 km away :P)
milkhouse
 
Posts: 9
Joined: Thu Sep 11, 2008 2:25 am

Re: My megadrum doesn't work properly

Postby dmitri » Sun May 31, 2009 4:33 pm

milkhouse wrote:i did lot of tests now, with only one pad connected at a time (cuz i only have one :P) and worked very good. speed in response, no missing hits, works excellent.... but if i didnt missunderstand you, u say i could have some sort of problems using 20 Mhz? if so... should i try to find a 16Mhz crystal? (wich is impossible in my town, and nearly impossible at next city - 200 km away :P)

It may work fine for a while and then start producing all sorts of problems, e.g. not being able to update the firmware, saving configs with errors and so on. But it can turn out to work fine for ever, who knows.
dmitri
Site Admin
 
Posts: 8710
Joined: Fri Aug 03, 2007 8:05 pm

Previous

Return to MegaDrum Hardware

Who is online

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