Convert a Gate (pulse wave) to a Trigger (voltage spike)
I am trying to drive an Alesis D4 drum box through its external hardware trigger inputs to fire the drums. To do this I need an approximately 5 volt, 1 ms spike. All in software, ie Max. I output these through an Expert Sleepers ES8 audio interface to the D4. It would be nice to be able to adjust the voltage and the length. Basically the spike would occur at the leading edge of the pulse wave. Having the option to get a spike at the following edge of the pulse would be nice too. More options... Goal is to make a generative or random drummer. Any pointers and or suggestions on how to begin? Is this a Gen thing?
I don't have that drum box, but have you experimented with sending it any signals yet? You can drive the timing of a korg SQ1 sequencer by sending it square waves or click~ without even needing a decoupled soundcard - just send it through your normal garden-variety headphone out. I imagine with your soundcard it wouldn't be hard. Gen~ could help you do this and keep the timing pretty perfect, but normal MSP objects should work too.
Yes, I can trigger the D4 with 5ms trigger impulses just fine. These are coming from my modular hardware system. I want to be able to do the same thing from my computer, but these types of signals seem to missing in a lot of software implementations. Just pulse wave gates. So, I want to convert these gates into triggers before I send them out. Being able to tweak both the time of the impulse, say 1, 2, 5, and 10 ms and the amplitude, 0 to 10 volts, would be nice.