[sdiy] audio effects in C??

dan snazelle subjectivity at hotmail.com
Fri Feb 17 21:59:14 CET 2012


Ok lets say I have a  program (on an Avr or pic) that has a few different variables.

maybe one of them is a triangle. one of them is a pot value. one of them is just a random number.


the normal thing to do would be to do something like:

analogWrite (3, outputValue)

or 

dacOutput(outputValue)


I am wondering what i can DO to the signal in C before it gets sent out.

I believe I can XOR it by doing this

XORvalue=outputValue^SineValue;
dacOutput(XORvalue);


I know I can also multiply 2 values together.


but there must be some more interesting "FX" based on algorithms or tricks.

anyone have any ideas? they dont't have to be pretty or entirely practical ;)



thanks so much










More information about the Synth-diy mailing list