One more MegaDrum firmware to test

Discussions related to MegaDrum Hardware

Re: One more MegaDrum firmware to test

Postby rockdude » Fri Apr 30, 2010 9:19 am

zaklinacz wrote:
dmitri wrote:...and requires a precision rectifier (1 or 2 opamps per channel depending on power source) since the first half wave they produce is negative

The first half will be positive if we change polarization? I guess yes... The only tihing is to change wires from piezo sensor.
BR
Michal

So it could be used with a current MegaDrum build?
rockdude
 
Posts: 276
Joined: Wed Sep 02, 2009 7:18 am

Re: One more MegaDrum firmware to test

Postby zaklinacz » Fri Apr 30, 2010 10:04 am

This is the question to Dmitri, as I'm not sure if my thinking is good.
BR
Michal
zaklinacz
 
Posts: 58
Joined: Fri Jan 01, 2010 7:22 pm

Re: One more MegaDrum firmware to test

Postby rockdude » Fri Apr 30, 2010 10:20 am

zaklinacz wrote:This is the question to Dmitri, as I'm not sure if my thinking is good.
BR
Michal

ok, and it probably has to be tested with Atmega too.
rockdude
 
Posts: 276
Joined: Wed Sep 02, 2009 7:18 am

Re: One more MegaDrum firmware to test

Postby Ken Forgettable » Sat May 01, 2010 8:33 pm

Isn't sampling a full wave it's going to take a lot of time?

If you are doing this to calculate the head frequency why not (quarter_ wave << 2) - effective for high sample rates.

It might be that a tangent vector on the above can be used to isolate the impulse from the resonant frequencies. That's were I am right now :?

If anyone would can start a new thread for their signal conditioning hardware maybe that could get really informative...
Ken Forgettable
 
Posts: 402
Joined: Tue Jan 06, 2009 5:04 pm

Re: One more MegaDrum firmware to test

Postby dmitri » Sat May 01, 2010 9:20 pm

Ken, don't make it look harder than it is. As I said it already works fine on ST32M with Roland and Drumtec pads with a full wave precision rectifier. The rectifier is only needed because the first half wave on these pads is negative. The same algorithm may work on Atmega but I have not tested it yet. If it doesn't, the positional sensing can be limited to 1 or 2 pads to let Atmega cope. No need for a new thread.
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm

Re: One more MegaDrum firmware to test

Postby rockdude » Sat May 01, 2010 9:57 pm

dmitri wrote:Ken, don't make it look harder than it is. As I said it already works fine on ST32M with Roland and Drumtec pads with a full wave precision rectifier. The rectifier is only needed because the first half wave on these pads is negative. The same algorithm may work on Atmega but I have not tested it yet. If it doesn't, the positional sensing can be limited to 1 or 2 pads to let Atmega cope. No need for a new thread.


Ok, keep up the good work Dmitri and please keep us updated whenever there's something new to speak of. I'll help testing this if you need any test results from different pads.
rockdude
 
Posts: 276
Joined: Wed Sep 02, 2009 7:18 am

Re: One more MegaDrum firmware to test

Postby mackanov » Mon May 03, 2010 1:49 am

Let me see if I understood. With pads that generate a positive first half-wave there would be no need to add any component for it to work using ATMEGA? Couldn't you invert the wave on a per-pad basis by using an adapter, such as inverting the wires on the jack? Or, if not, couldn't you use the precision rectifier as a separate device (perhaps drawing power from an external source) between the pad and MegaDrum? It might be easier and cheaper to add components to the pad instead of adding it to MegaDrum, if it can be done, right? Or am I going too far?
mackanov
 
Posts: 46
Joined: Mon Mar 08, 2010 2:05 pm
Location: Brazil

Re: One more MegaDrum firmware to test

Postby dmitri » Mon May 03, 2010 11:47 am

You are right. But many drummers out there were scared of adding a simple external voltage divider, let alone something with opamps.
dmitri
Site Admin
 
Posts: 8718
Joined: Fri Aug 03, 2007 8:05 pm

Re: One more MegaDrum firmware to test

Postby rockdude » Mon May 03, 2010 4:59 pm

dmitri wrote:You are right. But many drummers out there were scared of adding a simple external voltage divider, let alone something with opamps.


Well, since most people (and sample libraries so far) only use/allow positional sensing on the snare it would only be necessary to add it for one pad. I'm really stoked about this. It would be übercool if MegaDrum did support a positional sensing feature!
rockdude
 
Posts: 276
Joined: Wed Sep 02, 2009 7:18 am

Re: One more MegaDrum firmware to test

Postby Ken Forgettable » Thu May 06, 2010 11:52 pm

dmitri wrote:Ken, don't make it look harder than it is.
Well backward compatibility has always been a watch word in software development, but I am still of the opinion that DEC, IBM and M$ ate themselves largely due to the bias towards this as a marketing idea; and I still wonder why anyone would pay £1000s to play a weedy two position sensing snare :o

(Get this: http://en.wikipedia.org/wiki/The_Soul_of_a_New_Machine).

I asked before if the STM32 Megadrum will still be open hardware...
dmitri wrote:I got the same precision except for very light hits <snip> so I'm working on version which would require only 2 opamps <snip> No need for a new thread.
... because there are loads of designs already out there (and thousands of op amps) that look fine on paper but when constructed, the reality is somewhat different...


'Yet if cattle or horses or lions had hands and could draw,
And could sculpt like men, then the horses would draw their gods
Like horses, and cattle like cattle; and each they would shape
Bodies of gods in the likeness, each kind, of their own.
'
Xenophanes of Colophon.
Ken Forgettable
 
Posts: 402
Joined: Tue Jan 06, 2009 5:04 pm

Previous

Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 529 guests