Monday, November 14, 2016

mini project update 2

I changed the code I'm using by making some modifications from a code someone on the internet made to control the digital volume of the wave shield. Their code was a modification of the SoftVolumeHC from the WaveHC library I mentioned in the previous update.

I got the volume to decrease over the duration of the clip playback. It's kinda funky because it pops each time the level drops, as its a digital decrease. The time it takes to decrease volume is dependent on the strength with which one blows on the sensor.

This Arduino command reference sheet has been useful for making the code.

No comments:

Post a Comment