Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Background hissing form analog output module
#2
Hi Veronica,

The amplitude of the sounds you play is determined in code. Units of the sound data sent to the loadSound() method of the AudioPlayer class are volts (not normalized) so the vector [.1 .5 -1 2] will play four samples at the current sampling rate, of 100mV, 500mV, -1V and 2V respectively. Standard line-level audio signals range between -1.4 and 1.4V. Depending on your audio amplifier, you may be able to safely scale your sound data to +/-2V without saturation.

I hope this helps,

-Josh
Reply


Messages In This Thread
RE: Background hissing form analog output module - by Josh - 01-24-2019, 05:36 PM

Forum Jump: