Quick dumb question:
I'm building an audio-metric hearing test into my project using Teensy and the audio shield. I've pretty much figured out the program structure, but I need to control the amplitude in decibels. How might I rewrite the following to do that?
waveform1.frequency(440);
waveform1.amplitude(0.9);
wait(250);
waveform1.amplitude(0);
wait(1750);
Thanks so much!
I'm building an audio-metric hearing test into my project using Teensy and the audio shield. I've pretty much figured out the program structure, but I need to control the amplitude in decibels. How might I rewrite the following to do that?
waveform1.frequency(440);
waveform1.amplitude(0.9);
wait(250);
waveform1.amplitude(0);
wait(1750);
Thanks so much!