[sdiy] "lunetta"/CMOS sound-making equivalents in C Programming???
dan snazelle
subjectivity at hotmail.com
Thu Mar 22 17:06:24 CET 2012
Often I use counters, Logic, clocks, R2R's , shift registers and flip-flops to make sequencers, CV generators, cheap crazy sounds,etc.
I was wondering what is possible using a micro-controller and C to replicate or expand on some of those techniques to end up with a vocabulary of fun and quick
noisemakers.
for example, a common use for CMOS in sound making is taking a clock, putting it through a 4040 counter (12 bit) or similar, taking the taps, ANDING them with other clocks,
XORing the result, etc.
So...
1. How can you replicate something like a 4024/4040 in a program ( a counter with multiple outputs/taps ?
i think a for loop is a counter, would i just set up a bunch of if statements ?
for (i=0; i<12; i++)
if (i=2)
dacTap1=HIGH;
2. how can i make a simple divide by 2 in code?
3. what about replicating shift registers?
thanks for ANY IDEAS!!
More information about the Synth-diy
mailing list