Using Arduino as audio interface for SPL reading?


hello!

i have built db-meter arduino uno , works fine!
as i'am interested in spl value of incoming signal of microphone rectifier voltage before a/d converting , therefore sample rate can low 100 hz.

my first question is:
how set sample rate 100 hz?

me second question is:
is possible use arduino audio interface computer? thinking of using room eq wizard software log values , able see different curves. need see arduino input device in preference menu in room eq wizard. possible achieve this? have read several threads mention hard configure arduino audio interface. in case when dont have sample @ speed of 44.1 khz still face same problem?

/erik

quote
i rectifier voltage before a/d converting...
i hope using precision rectifier or peak detector (op-amp circuits), otherwise ~ 0.6v drop across diode cause problems @ low readings.

quote
how set sample rate 100 hz?
use delay() or timing method shown in blink without delay example.    since reading dc (i assume have capacitor-filter @ output of rectifier) sample rate not critical , might read fast loop run.

quote
is possible use arduino audio interface computer?

....but in case when dont have sample @ speed of 44.1 khz still face same problem?
i have no idea how that, if want arduino "look like" soundcard software & drivers, you'll have use 1 of "standard" sample rates.

but, since don't have audio can lie driver , tell sample rate 44.1khz.  (again, have no idea how that.)  if sample rate "wrong" speed off...   the temp & pitch off playing record @ wrong speed (if you've ever used record player).    since not recording or playing audio, that's of no concern you.

p.s.
if going use computer anyway, why not use microphone plugged computer , forget arduino?


Arduino Forum > Using Arduino > Audio > Using Arduino as audio interface for SPL reading?


arduino

Comments