Connect with us

Suggestions for Implementing Drum Machine Idea

Discussion in 'Electronic Basics' started by jex, Jun 10, 2004.

Scroll to continue with content
  1. jex

    jex Guest


    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
  2. Rich Grise

    Rich Grise Guest

    There are as many ways to do this as there are people you can ask.
    No, more than that! ;-)

    Do you have any books on electronics or computers or programming
    or microprocessors?

    You could do it with a few filters and delay lines, or with
    a computer's sound board in BASIC, or a DSP, or a PIC or AVI
    or STAMP or 68HC705, or ...

    Maybe google around for some resources and see which sub-field
    suits your fancy, and start reading up on it.

    Good Luck!
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day