Tuesday, November 4, 2008

audio input and pwm led output

using our mic-in program along with a couple decibel converters, we wrote a program using audio as input through the laptop microphone to control the pulse width modulation of an led (dimming). the led's intensity varies according to the amplitude of the sound input. we also have the audio signal writing to an array/wave.




Labels: , , , , , ,


Sunday, November 2, 2008

mic-in/arduino-out with pure data

now that we've figured out how to use the arduino as an output and sound as an input respectively, we're trying to figure out how to merge the two. 

we wrote this simple mic-in program, multiplied with a simple toggle object for on/off (instead of the crazy sawtooth generator). we're hoping to be able to use this as input for the arduino-out rather than the digital toggles we have been using. (so far, we haven't been able to figure out how to do this)


Labels: , , , ,


audio input with laptop microphone and pure data


we altered a ringmod program to convert analog audio input to digital from the laptop's microphone, and then multiplied the signal with a sawtooth generator (phaser~) to enable an audio output (with a slider to change frequency). we also added an output to write the audio to an array/graph. 



we used the standard mac volume control sound as the input. the audio output from the laptop speakers begins to act as an input through the laptop microphone, which creates an interesting feedback loop. (sorry about the horrible video resolution)


Labels: , , , , ,


This page is powered by Blogger. Isn't yours?