tag:blogger.com,1999:blog-6100511197805579796.post1183211263897950920..comments2024-02-14T18:43:36.096+01:00Comments on Davide Gironi blog: Measure audio level using Root Mean Square on Spark CoreDavide Gironihttp://www.blogger.com/profile/16366076989473118278noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6100511197805579796.post-11772548749779166052015-12-01T20:47:55.414+01:002015-12-01T20:47:55.414+01:00That could be due to pre board noise. You could tr...That could be due to pre board noise. You could try disable the dynamicbias and set the biaszeroraw value according to your adc reading with no noise. To make it more reactive you have to set the smooth filter. You also could set an rms correction (offset) value. But the very first thing to do, is check you pre board noise with a scope or a frequency analyzer.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-13016169583105181412015-11-30T21:10:54.423+01:002015-11-30T21:10:54.423+01:00here it is stuck at 72 all the time, what can I do...here it is stuck at 72 all the time, what can I do to make it more reactive ? <br /><br />also do you think the fft radix would work on a spark as is ? Emmanuelhttps://www.blogger.com/profile/12116420436662089237noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-44677867866559857982015-11-23T22:20:00.951+01:002015-11-23T22:20:00.951+01:00Yes you can, but an FFT library like the one used ...Yes you can, but an FFT library like the one used here it will be better: http://davidegironi.blogspot.it/2014/02/a-simple-sound-pressure-level-meter-spl.htmlDavide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-39108782028955160162015-11-22T21:28:05.872+01:002015-11-22T21:28:05.872+01:00Seems I saw that ;-) can I use it as a SPL meter t...Seems I saw that ;-) can I use it as a SPL meter this way ? <br /><br />I guess I can do this:<br /> soundDbl = (double)audioGet.getSpl(voltageRms, AUDIO_VOLTREF, AUDIO_DBREF);<br /> Spark.publish("librato_bc2_dbl", String((int)soundDbl));Emmanuelhttps://www.blogger.com/profile/12116420436662089237noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-64650145468398357302015-09-09T20:43:22.499+02:002015-09-09T20:43:22.499+02:00You have to use the processing.org display tool pr...You have to use the processing.org display tool provided. Value are printed out not as ascii, so a uart terminal will not work as expected.Davide Gironihttps://www.blogger.com/profile/16366076989473118278noreply@blogger.comtag:blogger.com,1999:blog-6100511197805579796.post-46090624413437662702015-09-08T22:28:53.876+02:002015-09-08T22:28:53.876+02:00hmmm... what do you get on console on your side, h...hmmm... what do you get on console on your side, here it seems quite scrambled...Emmanuelhttps://www.blogger.com/profile/12116420436662089237noreply@blogger.com