of course it's audible ! it's simple if i put this i can hear clic for each c4ms condition :
while(1) {
if (c4ms > 10) { // timer / wait for 40ms
c4ms=0;
//dfreq=analogRead(0); // read Poti on analog pin 0 to adjust output frequency from 0..1023 Hz
dfreq=2440+(analogRead(0));
cbi (TIMSK2,TOIE2); // disble Timer2 Interrupt
tword = pow(2,32)*dfreq/refclk;
sbi (TIMSK2,TOIE2); // enable Timer2 Interrupt
/* Serial.print(dfreq);
Serial.print(" ");
Serial.println(tword_m);*/
}
// calulate DDS new tuning word
sbi(PORTD,6); // Test / set PORTD,7 high to observe timing with a scope
cbi(PORTD,6); // Test /reset PORTD,7 high to observe timing with a scope
}
now if i change the place of tword in the loop like this, there is no clicks and pops but i have some
strange noise in the background (freq>1000hz), like a quiet feedback of notes :
while(1) {
if (c4ms > 10) { // timer / wait for 40ms
c4ms=0;
//dfreq=analogRead(0); // read Poti on analog pin 0 to adjust output frequency from 0..1023 Hz
dfreq=2440+(analogRead(0));
cbi (TIMSK2,TOIE2); // disble Timer2 Interrupt
sbi (TIMSK2,TOIE2); // enable Timer2 Interrupt
/* Serial.print(dfreq);
Serial.print(" ");
Serial.println(tword_m);*/
}
// calulate DDS new tuning word
tword = pow(2,32)*dfreq/refclk;
sbi(PORTD,6); // Test / set PORTD,7 high to observe timing with a scope
cbi(PORTD,6); // Test /reset PORTD,7 high to observe timing with a scope
}
so i've got to choosee between clicking sounds or strange feedback

i forgot to precise my output, i use a rc filter with a resistor 330 ohm and a capacitor of 0.01uf. normally i should use a 300ohm resistor (for 50khz corner frequency) but i make this rc filter with what i have

maybe this strange feedback comes from there ? from the 30ohms difference ?
then after the low pass i use a LM386 ship...
on the website where i take the code they use a chebyshef low pass circuit, i should use the same but i don't have all the components.