J
jex
Guest
Hello,
As an electronics designer, I'm a beginner. I've had a good idea for
constructing a mechanized drum machine and am going to try to
implement it. I would greatly appreciate any help/advice in design
that can be offered.
Here's what I want to do: Build a system to connect to my homemade
electronic drum set that can 'finish' a simple, constant beat once the
first couple beats have been hit.
I needs to do this:
FastTimeCounter = 0
Counter = 0
MemoryRegister = 0
The first time you hit the drum: DRUM_HIT signal = 1 (actually, theres
various levels that are generated from the piezzo transducers, but
anything > 0 signals the drum has been hit):
- Turn FastTimeCounter ON, so it begins counting in milliseconds.
Every time you hit the drum thereafter:
- Stop FastTimeCounter
- Increment Counter by 1
- Add FastTimeCounter to MemoryRegister
- Resume FastTimeCounter
Here's the fun part:
- Obtain average time interval: MemoryRegister / Counter.
- Continuously send a HIT signal every interval (MemoryReg/Counter)
to the drum processor to "simulate" the drum being hit.
The reason this would be cool is because it allows for you to start a
beat by just hitting the drum a few times, and allows it to take the
average time between when you hit the drum to obtain a (more precise)
average -- and then continue with the beat you started without you
having to hit the drum.
----
The question is: How should I go about implementing this (Which
components should i look into) given that I already have a working
drum censor and drum module.
[drum sensor]---------[ ? ? ? ]--------------[drum module]
I appreciate all help.
Thank you,
Dustin Smith
As an electronics designer, I'm a beginner. I've had a good idea for
constructing a mechanized drum machine and am going to try to
implement it. I would greatly appreciate any help/advice in design
that can be offered.
Here's what I want to do: Build a system to connect to my homemade
electronic drum set that can 'finish' a simple, constant beat once the
first couple beats have been hit.
I needs to do this:
FastTimeCounter = 0
Counter = 0
MemoryRegister = 0
The first time you hit the drum: DRUM_HIT signal = 1 (actually, theres
various levels that are generated from the piezzo transducers, but
anything > 0 signals the drum has been hit):
- Turn FastTimeCounter ON, so it begins counting in milliseconds.
Every time you hit the drum thereafter:
- Stop FastTimeCounter
- Increment Counter by 1
- Add FastTimeCounter to MemoryRegister
- Resume FastTimeCounter
Here's the fun part:
- Obtain average time interval: MemoryRegister / Counter.
- Continuously send a HIT signal every interval (MemoryReg/Counter)
to the drum processor to "simulate" the drum being hit.
The reason this would be cool is because it allows for you to start a
beat by just hitting the drum a few times, and allows it to take the
average time between when you hit the drum to obtain a (more precise)
average -- and then continue with the beat you started without you
having to hit the drum.
----
The question is: How should I go about implementing this (Which
components should i look into) given that I already have a working
drum censor and drum module.
[drum sensor]---------[ ? ? ? ]--------------[drum module]
I appreciate all help.
Thank you,
Dustin Smith