Arduino audio control

I've been looking around but haven't found anything that does close enough to what I want to do.

I want to make something that has an auxiliary input, and using a variable determined by a sensor, output the same audio with as little delay as possible, but reducing the volume based on that value.

Is this possible, and would doing it make sense with an Arduino? I want Arduino so I can use Bluetooth or other forms of wireless for sensors/data.

If anyone could point me in the right direction that would be great. I have some experience working with Arduino, but mostly with RGB LEDs, the most I've done with audio is play midi files on a speaker, no manipulation.

Thanks in advance! :slight_smile:

Digital potentiometer?

Digital potentiometer?

Is that all I would need for very basic volume control? How would I make the Arduino act like a digital potentiometer for using an input other than the "knob", but say, an IR remote or a serial message from a usb?

That all sounds easy. That is exactly what an Arduino is good for.

Search for tutorials on digital pots.