[sdiy] AUDIO effects in the code domain/?

dan snazelle subjectivity at hotmail.com
Mon Mar 21 19:01:07 CET 2011


i am trying to find any ways to mangle audio within the code domain. (right now its in the arduino/c format but this is a general question that could apply to any sound program)

in other words, lets say that right now I have a number that is the result of calculations in my program.  it is between one and 255. this gets sent out to the DAC and creates the sound.


i am looking for ways to mess with or manipulate that number within the program.


one way i have used is to set up a loop with an IF statement that adds ten to the number on each pass. if it gets to be above a certain number it resets the number.


that is one easy way to change its course.  


can anyone think of others? to waveshape or filter or distort etc?




another one i am trying is multiplying the number (we can call the variable SOUND OUT) by arduinos RANDOM function.


i know some of you have been programming for AGES and must  know tons of ways of changing a value over time.

thanks!





More information about the Synth-diy mailing list