Need to control four audio stages digitally, namely gain, volume, tone & level

Does Arduino have a device that controls four OP amp audio stages digitally, namely gain, volume, tone & level? Must use up and down buttons in a simple menu and small display. Perhaps there may be a simpler way to accomplish this. All advice is appreciated.

How it the gain set now? And don't say with knobs or buttons, say electronically, so it might be duplicated electronically.

Is this a tutorial?

Topic moved to a more suitable location on the forum.

Define "tone". Also aren't "gain, volume and level" all the same thing?

You really need to post a schematic.

No it doesn't.

You might be able to add a chip that will do some of those functions. These chips are normally used in car radios. But where is the audio coming from in the first place so that the Arduino has it?

Also what is the difference between gain, volume and level? They all sound like the same thing to me.

Chips you might like to look at - I2C three band tone control and 4 input channel stereo mixer - TDA7439
OR PGA2311 Stereo audio volume control

Yes, there might indeed be a simpler way to do this. Only problem is, we don't know what "this" is. A vague-ish attempt at an answer based only on what you have posted, would probably be wrong or incomplete. We need to know what hardware you have.

What do you want to do? Do you have a laptop? Just a guess but sounds like you're trying to make a custom audio sampler thingy and Processing may get you closer to your goal. You can use an Arduino for buttons and such with a custom GUI on the laptop screen or just do everything in a void keyPressed() function in Processing using the laptop keys. Take a look.

https://processing.org/reference/libraries/sound/index.html

Hi,

Thanks for the replies..

I've been looking at the "Digital Potentiometer Control | Arduino Documentation" as a starting point.

This is to upgrade an existing design used for radio two way communications with 4 basic stages using op amps and gain controlled by linear potentiometers. Will be expand in the future to include audio processing functions such as compressor, limiter & EQ in the chain of stages.

It needs to cover the four basic functions.

The first stage is audio gain, simple and straight forward OP amp stage.
Second stage, the OP amp stage gain is varied to control audio negative and positive peaks levels.
Third stage gain to control both first and second stages mixed with other components.
Last stage gain controls the result of all previous stages and adds a DC voltage or bias to it.

A display with an 328 Arduino nano or so and rotary encoder with push switch for menu selection as a starting point I' guessing.

But how are you going to set the values for that?
With knobs to control the digital pots?

You might as well have those pots in your mystery circuit as just knobs on the boxes you put it all into.

What existing design?

1 Like

you can get audio via I2S and output via another I2S while performing audio adjustments digitally in the process. ESP32 can do this.

whatever that means

Your best bet is to show us the source information and describe the desired result, and leave it to us to advise on solutions. Instead of doing that, you are just repeating your wish list.

You could be looking at chips like this:
tda7440

1 Like

Do you know if there is 2.1 version 2 ch + bass

Found this chip TDA7419, what really sold it for me is it has 7 band spectrum analyser very similar to how MSGEQ7 works

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.