Hi there,
I'm working on a project and I would like to use arduino in order to generate 8 sinusoidal wave at different frequency, each with its own envelope to control is amplitude and another two pink noise as well with their own envelope to control the amplitude.
What are my option for making the above with arduino?
Can I generate sinusoidal wave using an arduino? If so, how many independent waves I can generate from one Arduino Uno?
Do I need to connect an audio amplifier between the Arduino to each of the sound exciters? If so, a simple LM386 will do the job for that?
The regular Arduino doesn't have a true-analog output. analogWrite() is PWM which can simulate/approximate analog in some applications.
There is a library called TMRpcm for audio but it's limited and there can be issues since it's not true-analog. And it doesn't support 8 or 10 channels.
There are audio shields (add-on boards) that do have DACs and they can play audio files (WAV or MP3, etc.). Of course most of these are 2-channel stereo but you can probably control multiple audio boards with one Arduino.
Yes, but you'll have to try it to see if you get the quality & loudness you need. For testing you can generate tones & noise with Audacity and connect the LM386 to your computer.