Thank you verry much!
It's verry easy too follow ![]()
I've allready read about a couple of solutions for the clock speed, it was in a reference link from a synth code from the arduino website (i can't find it right now), but they where talking about 2 ways of getting the clock speed on a surten (9.2Mhz) speed, One was to write bits double.
The other one was to only skip a bit (or 16-bit's for the paralel way) when the "new clockspeed" was reached. Soo then i have to check: 16/9,2 = 1,74... Then i know that if i would devide the 16 Mhz trough the 1,74 i would get the 9,2 Mhz and by that know i have too skip 26 of the 16 Mhz cycles too get too 9,2Mhz?(i made a jump in the math: 1,74 is 74% of 16 Mhz, soo to get to 100% i would need to add 26%)
Is this indead a solution for getting 16Mhz too 9.2Mhz? But it's simpeler if it would run also at 10 Mhz etc.
with the wavetable synth you mean this: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1227287786 solution, althoug he has it in HEX?
I would really like a library for I2S also, and i would like too try too write this, BUT i'm a beginner in microprocessors, i do know some programming, but it streches not as far as microprocessors. ![]()