Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« previous next »
  • Print
Pages: [1]

Author Topic: Can Rockbox make the iriver ihp-140 to work as a SPL meter?  (Read 2710 times)

Offline Edil

  • Member
  • *
  • Posts: 42
Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« on: March 06, 2007, 06:11:02 PM »
I was wondering if it could be possible to create a Sound pressure level meter plugin with Rockbox. I think that the internal microphone of the iHP-140 is not good enough to do that but possibly with an external microphone. That way I can use my DAP as an SPL with my home theater.

In other words use Rockbox to make the to behave like a

Probably I'm dreaming to much!  ;D
Logged

Offline Datman

  • Member
  • *
  • Posts: 105
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #1 on: January 16, 2011, 06:53:14 AM »
It should be very simple to do that, but precision is the problem... It depends on the frequency response and the sensitivity of the intenal microphone. You think to use an external microphone, but if you want to buy a good measure microphone you can certainly buy a good spl meter.
Also consider that only a few DAPs have a microphone input. I have a H120, but my Sansa Fuze has only internal mic.

A cheap microphone like the Behringer ECM8000 is not good: years ago I bought two of them as cheap stereo pair (I have Shure and Sennheiser Microphones, but it was an experiment). Frequency response was very different at low and high frequencies; also sensitivity was different...

If you need a spl meter you can buy for only 60$ something like that:
http://www.tnt-audio.com/clinica/spl-meter_e.html

A computer based spl meter may have a calibration file, but you should know the response of that unique microphone or calibrating the instrument.

If we want a simple gadget and it is simple to program it could be interesting. It could have A and C weighting, optional calibration file (for he who can use it) and a frequency meter for single test tones.

Also a spectrum analyzer should be simple to do, using mp3 algorithms. A calibration file could be done by some people of us (like me) who has or can use for a few minutes a studio monitor/home stereo set/anechoic room :-) and play a pink noise mp3 file, then sharing the calibration file in the forum, telling the set he used.
« Last Edit: January 17, 2011, 03:43:59 AM by Datman »
Logged

Offline LADave

  • Member
  • *
  • Posts: 9
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #2 on: March 17, 2015, 05:10:07 PM »
Electret mic elements usually have wide and flat frequency responses, but level calibration remains an issue.  Still there are some very good sound level meter apps available for Apple's iPhones and other iOS devices.  Probably aided by Apple using mic elements with consistent performance. 

The calibration problem doesn't seem like sufficient reason not to enable this in RockBox.  Some folks will have access to calibrated equipment and sound booths so side-by-side calibration can be done.  For the rest of us, necessity-driven invention is in order.  The basic principles are simple; perhaps a practical DIY way can be found to implement.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #3 on: March 17, 2015, 05:38:58 PM »
Isn't that exactly what the peak meter on the recording screen does?
Logged

Offline LADave

  • Member
  • *
  • Posts: 9
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #4 on: March 18, 2015, 06:20:08 AM »
Lots of detail differences.  SLMs are mono.  They usually have numeric readouts to 0.1 dB besides simulating an analog reading.  They have fast and slow integration and at a minimum A and C weightings. The  iOS app SPLnFFT https://itunes.apple.com/us/app/splnfft-noise-meter/id355396114?mt=8 ups the game by adding flat, B and ITU-R 468 weighting,  and 1/3 octave spectrum analysis.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #5 on: March 18, 2015, 09:39:23 AM »
Have you looked at what is already included?  spectrogram, mono, integration are already available...
Logged

Offline LADave

  • Member
  • *
  • Posts: 9
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #6 on: March 18, 2015, 03:25:34 PM »
Searching "spectrogram" doesn't turn up anything.  "fft" is slightly productive.  There seems to be a plug-in but I couldn't find anything about it in the half-dozen manuals I looked at.  There doesn't seem to be a mechanism for (globally) searching manuals comparable to searching forums.

VU meters are different from SPL meters.  For one thing, VUs are tied to gain vs. clipping levels whereas SPLMs are calibrated to absolute sound pressure; 0 dB = 20 micropascals.

It's difficult to say how RockBox's VU integration settings correspond to "fast" and "slow" integration on SPLMs.  Perhaps someone who has worked on this would know, but given my previous quibble that may be moot.
Logged

Offline LADave

  • Member
  • *
  • Posts: 9
Re: Can Rockbox make the iriver ihp-140 to work as a SPL meter?
« Reply #7 on: April 05, 2015, 01:44:20 PM »
iPhones 4 and later have MEMS microphones (I'm not sure whether the electret-to-MEMS switch actually came earlier).  Compared to electrets, MEMS microphones are fabricated as chiips to ultra-exact tolerances.  They tend to have flatter, smoother frequency response, plus better consistency in sensitivity (millivolts per pascal) from sample to sample and batch to batch, and change less with age and environmental variability.  This predictability lets iPhone SLM apps like SPLnFFT be pretty accurate without calibration to individual iPhones. 

If Rockboxes have electret mics they will need calibration for accurate results and calibration is a tough nut to crack.  Most (all?) Rockboxes lack the cylindrical microphone snouts that conventional meter calibrators attach to, and the average user is unlikely to have ready access to a calibrator anyhow.  The alternative method appears to be side-by-side calibration versus a known accurate SLM, preferably in a special room setup where sound levels don't vary over a few inches of separation.  Not many users have access to these either.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Can Rockbox make the iriver ihp-140 to work as a SPL meter?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 15 queries.