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

Veronica Merryfield veronica.merryfield at shaw.ca
Thu May 1 02:03:14 CEST 2008


A different thought, this would need 12 9bit counters and 12 9bit  
compare logic blocks - that ought to fit in a small CPLD that cost a  
few bucks and the programming tools are free.

On 30-Apr-08, at 10:35 AM, Manuel Odendahl wrote:
> 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
>>>
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy





More information about the Synth-diy mailing list