LECTRONICS >:F
Dec. 14th, 2007 06:37 amAttention engineering people
I am (in my head anyway this is a theoretical design) using a serial-in, parallel-out shift register (SHIFT REGISTERS :D) as a sequencer to trigger drums. 16 bits. Four clocks of the shift register equals one beat in musical time, so it's being clocked fairly slow.
The problem, then, is: how do I initially write in my one bit which loops through the shift register to set off one output at a time? One way I can think of is to use a Schmitt trigger to pulse the in on the shift register just long enough for the first clock, but the thing about that is that I want the tempo to be adjustable from one potentiometer, and how would I make that first pulse shorten to match the clock rate? I could obviously run them off of the same (ganged) pot, but the thing is I'm not sure if they have the same Curve and aug
how would you do it
no subject
Date: 2007-12-14 02:15 pm (UTC)So I'd either use a 555 timer, a non-retriggerable monostable multivibrator or (most likely) both, depending on what exactly I wanted to do.
*But I'm an embedded guy, so I imagine you were expecting me to say that.
no subject
Date: 2007-12-14 02:34 pm (UTC)555 timer seems like overkill (and would still bring us back to the same question). Multivibrator one-shot is, in fact, basically the same thing as the Schmitt trigger array I'm presently using, so the same question still remains.
I'm thinking I can probably limit my tempo adjust to a "reasonable" range for which I can find a value for the width of the Schmitt trigger's pulse which works fine for all tempos. I guess I'm going to try that.
no subject
Date: 2007-12-14 02:53 pm (UTC)Admittedly, my tendency to do so has something to do with the fact that I can just go to the hardware room in my TAFE and ask for damn near any sort of IC or basic component (within reason) provided I can give a convincing enough explanation.
To say nothing of how many components my kleptomaniac classmate accumulates.
no subject
Date: 2007-12-14 03:17 pm (UTC)Or did I completely misunderstand what you were saying?
P.S. Flip flops again? People are going to start thinking that's the only part of electronics I know about.
no subject
Date: 2007-12-14 03:23 pm (UTC)The problem is getting that one bit written into the shift register in the first place. I basically have to deliver a single controlled pulse to serial in for as long as it takes the first clock of the shift register to rise, and no longer.
no subject
Date: 2007-12-14 06:45 pm (UTC)no subject
Date: 2007-12-14 11:56 pm (UTC)no subject
Date: 2007-12-14 11:57 pm (UTC)no subject
Date: 2007-12-15 12:41 am (UTC)no subject
Date: 2007-12-15 12:44 am (UTC)no subject
Date: 2007-12-15 01:13 am (UTC)(But then, I don't even want to think about how difficult it would be to get a 16-input XNOR)
no subject
Date: 2007-12-16 04:20 pm (UTC)that actually kind of makes sense. hmm
no subject
Date: 2007-12-17 07:26 pm (UTC)