[sdiy] Top Octave Generator (was Chinese MG-1s??!?)

Manuel Odendahl manuel at bl0rg.net
Wed Apr 30 19:35:39 CEST 2008


On Apr 30, 2008, at 7:22 PM, Veronica Merryfield wrote:
>> C low	÷478
>> C#		÷451
>> D		÷426
>> D#		÷402
>> E		÷379
>> F		÷358
>> F#		÷338
>> G		÷319
>> G#		÷301
>> A		÷284
>> A#		÷268
>> B		÷253
>> C high	÷239

Untested idea, but as the ratios are fixed, you could write some long  
main loop being basically a sequence of nop loops interspersed with  
various bit banging calls to set the output frequencies at the right  
times, and then just run the input of the TOG as the oscillator of the  
microcontroller.

It would be like

239 nops
set C high
13 nops
set B
14 nops
set A#
etc...

(I skipped the clearing, but you get the idea).

Btw, hello everybody, I'm new to the list :)

Regards, Manuel
>>




More information about the Synth-diy mailing list