You are currently viewing a new version of our website. To view the old version click .
Sensors
  • Article
  • Open Access

28 December 2021

Towards the Interpretation of Sound Measurements from Smartphones Collected with Mobile Crowdsensing in the Healthcare Domain: An Experiment with Android Devices

,
and
1
Institute of Databases and Information Systems, Ulm University, 89081 Ulm, Germany
2
Department of Clinical Psychology and Psychotherapy, Ulm University, 89081 Ulm, Germany
3
Institute of Clinical Epidemiology and Biometry, University of Würzburg, 97078 Würzburg, Germany
*
Author to whom correspondence should be addressed.
This article belongs to the Section Sensing and Imaging

Abstract

The ubiquity of mobile devices fosters the combined use of ecological momentary assessments (EMA) and mobile crowdsensing (MCS) in the field of healthcare. This combination not only allows researchers to collect ecologically valid data, but also to use smartphone sensors to capture the context in which these data are collected. The TrackYourTinnitus (TYT) platform uses EMA to track users’ individual subjective tinnitus perception and MCS to capture an objective environmental sound level while the EMA questionnaire is filled in. However, the sound level data cannot be used directly among the different smartphones used by TYT users, since uncalibrated raw values are stored. This work describes an approach towards making these values comparable. In the described setting, the evaluation of sensor measurements from different smartphone users becomes increasingly prevalent. Therefore, the shown approach can be also considered as a more general solution as it not only shows how it helped to interpret TYT sound level data, but may also stimulate other researchers, especially those who need to interpret sensor data in a similar setting. Altogether, the approach will show that measuring sound levels with mobile devices is possible in healthcare scenarios, but there are many challenges to ensuring that the measured values are interpretable.

1. Introduction

Smart mobile devices (e.g., smartphones) are becoming increasingly ubiquitous. Their capabilities allow the combined use of ecological momentary assessments (EMA) and mobile crowdsensing (MCS) in the healthcare domain to not only collect qualitative longitudinal and ecologically valid data, but also to use sensors of smartphones as well as connected external sensors (e.g., wearables) to capture the context in which these data are collected [1]. For example, environmental data (e.g., noise [2,3]) can be measured when a questionnaire is answered to correlate the questionnaire data with the environmental data to gain new insights about patients. However, sensor measurements must be accurate, comparable, and interpretable to provide meaningful information. Especially for non-standardized smartphone sensors like the microphone (i.e., different manufacturers, different mobile operating systems, different scales), it can be challenging to achieve these properties.
The TrackYourTinnitus (TYT) mobile platform uses EMA and MCS to track a user’s individual tinnitus. Tinnitus is the perception of an internal sound in the ears in the absence of a corresponding external sound. As symptoms are subjective and vary over time, TYT was created to monitor and evaluate the variability of these symptoms in the daily life of tinnitus affected patients or interested users [4]. The platform has been in operation since 2014 and is composed of a registration and information website (https://www.trackyourtinnitus.org/, accessed on 1 October 2021), a central backend for data storage, and a mobile application available for both Android and iOS. The mobile apps assess users’ individual tinnitus perceptions (e.g., tinnitus loudness and distress) by asking them to complete tinnitus EMA questionnaires at different times of the day [5]. In addition, the environmental sound level is captured in parallel with the completion of the daily questionnaire [5]. The detailed process of the TYT app is described in [1], whereas the underlying data set (i.e., structure and insights to the collected data) is described in [6]. The overall objective of this work is to investigate the correlations between environmental sound level and reported tinnitus symptoms. More specifically, it should be examined whether the environmental sound level has an effect on tinnitus. If the sound levels can be correlated to questionnaire-collected data, new insights might be unveiled as the sound level data can be considered more objective than data from completed questionnaires alone (e.g., to allow predictions on tinnitus loudness based on the sound data). In this context, further note that, for tinnitus and many other diseases and disorders, longitudinal studies that are able to collect ecologically valid data for such a long time are still very rare. In addition, the collection of objective data succh as the sound level is even more scarce. Since TYT has been running for more than half a decade, and not all circumstances of the collection procedure were clear to the developers beforehand, it is now of great interest to make the collected amount of sound levels interpretable from a medical perspective. Therefore, the experiment at hand is important for TYT, but the results and lessons learned may be of much greater value for the healthcare domain in general.
However, the data available in the TYT database [6] do not contain calibrated sound pressure level (SPL) or weighted decibel (e.g., dB(A)) values, but rather relative amplitude (Android) or uncalibrated decibel (iOS) values as retrieved from the mobile system APIs. This fact prevents a direct comparison of these values and therefore a meaningful interpretation regarding the correlation with tinnitus symptoms. A preceding calibration of the mobile devices and storing respective dBSPL, dB(A) or dB(C) values would circumvent this issue. To encounter that sound sensor values measured by a smartphone require further considerations in healthcare scenarios is also recognized by other works than TYT [7]. From a general viewpoint, sensor measurements collected by a modern smartphone for healthcare purposes require many considerations before collected sensor data can be actually evaluated. In [8], for example, challenges are discussed in the context of fall detection. One of the challenges discussed by the authors of [8] also has implications for the data collected by TYT, namely the usability when collecting sensor data. If a user has his or her smartphone in the pocket, collected sensor values may not be usable. Consequently, works can be found that try to mitigate such challenges on a more generic level [9]. However, the data in the TYT database were collected for more than six years with more than 100,000 entries, and the respective mobile apps used to collect these values cannot be changed retroactively to counteract the described issues. Since no other works could be found that helped to analyze these pre-existing collected sound pressure levels, the following requirements were established for the experiment shown in the work at hand:
  • Identification of an experimental setting that can be used to learn more about the interpretation possibilities of the collected TYT sound level values.
  • In addition to the latter point, in the best case, the experiment should be appropriate to enable us to compare all sound level values across the different smartphone devices from different manufacturers and different mobile operating systems.
  • Conduction of the experiment without the use of an expensive sound laboratory, with the goal to foster and facilitate the overall reproducibility.
Based on these requirements, different scenarios have been discussed. In the end, the following approach (i.e., list of decisions for the experiment) was conceived to make the described values usable and comparable:
  • The TYT database was analyzed to identify the mobile device models that contributed the most environmental sound measurement data.
  • The analysis of the database showed that more detailed device information is available for Android devices. For this reason, it was decided to use Android devices for the experiment.
  • A sample of the identified device models was selected and acquired (i.e., we purchased these devices for the experiment).
  • A new mobile application was developed that mimics the behavior of the TYT app with respect to the sound measurement. More specifically, the app was implemented with the specific focus on the sound measurement but using the same software functions as TYT (i.e., by copying the relevant source code fragments from the original app).
  • The selected device models were equipped with this mobile application.
  • For the evaluation of the smartphone devices equipped with the app, a sound signal was generated, for which the volume was adjusted to different sound levels using a professional calibrated sound level meter (SLM). Based on this setting, the values captured by the mobile app on the different mobile devices were recorded.
  • Finally, the results were used to derive equations for the different device models that, in turn, can be used to transform the measurement data in the database into (partially) comparable dB(C) values.
How these steps were carried out in practice and what results were achieved are discussed in the following sections. In Section 2, a detailed discussion of related works will be presented. Section 3 presents the experiment in detail, while Section 4 presents its results. A discussion of the results with respect to limitations and practical relevance will be provided in Section 5. Section 6 closes our work with a summary and an outlook for future work.

3. Materials and Methods

First, the materials and methods used to perform the experiments in the scope of the work at hand are described. In this context, the data set used for the initial analysis is outlined. Furthermore, the selection of hardware and software components used for the experiments is described. Finally, the experimental setup and procedure are delineated.

3.1. Data Set for the Analysis

The data set for the analysis has been extracted from the TYT database on 26 January 2020 and contains a total of 76,542 entries. The structure of the TYT data set has been described in [6]. In this data set, 45,712 (59.72%) entries belong to an Android device, 30,607 belong to an iOS device (39.99%), and 223 of the entries contain no user agent information (0.29%), as shown in Table 1. As described in [6], for every answer sheet that is collected with the TYT mobile applications for Android and iOS, the user agent is extracted and stored together with the answer data. For the Android version of the app, this user agent contains, among other information, the constant Build.MODEL from the android.os.Build API (https://developer.android.com/reference/android/os/Build#MODEL, accessed on 1 October 2021), which can be used to uniquely identify the respective device model (see Table 2). Note that for the iOS version of TYT, only the device type (iPhone/iPad) and the OS version is stored in this variable. For this reason, it was decided to use Android devices for the experiments in the scope of this work.
Table 1. Data set from the TYT database used for the analysis.
Table 2. The 30 most commonly used mobile device models, ordered descending by the number of measurements for each device model in the TYT database. The devices that were selected to perform the experiments are highlighted in gray. The devices in light gray were initially selected but could not be used because we were not able to acquire them.
Furthermore, a sound level measurement capturing the environmental noise level for the first 15 s of the user completing the EMA questionnaire is performed and stored together with the EMA answer data. For the Android version of the app, this value represents an amplitude value retrieved by the Android MediaRecorder API [42] and averaged over the measurement period. The Android source code that was used in the application to retrieve this value is later analyzed and discussed in Section 4.2. In contrast, the iOS version stores a relative dB value, which is not further analyzed in the scope of this work.

3.2. Hardware and Software Selection

The selection of the hardware as well as software used for the experiments is described in the following. This includes the selection process used to decide on the mobile devices to be investigated. In addition, other relevant hardware and software used to perform the experiments themselves, namely the sound level meter, calibrator, speaker, tone generator, and the mobile application for the sound measurement, are described.

3.2.1. Mobile Devices

In order to perform the experiments for an optimal subset of devices that allows assumptions to be made about as many entries in the data set as possible, the data set described in the previous section was analyzed from two different perspectives.
For the first analysis, the data set was analyzed on a per-device basis. To this end, the following procedure was used:
  • For each entry, the device IDs of the device models (see Section 3.1) are extracted.
  • For each extracted device ID, the number of unique users and entries containing a sound measurement are counted.
  • For each device ID, the device names are looked up and device IDs with the same device name are summarized in a new row.
The 30 most used device models resulting from this process are shown in Table 2.
For the second analysis, the data set was analyzed on a per-user basis with regard to the intended interpretation of the data. Thereby, users (and their respective device models used) were selected based on the following conditions:
  • There are more than 500 entries containing sound measurements for the user.
  • The reported tinnitus loudness (see [6]) is fluctuating and appears plausible (e.g., not only zero values and not always the same value).
  • The sound measurement is fluctuating and appears plausible (e.g., not only zero values and not always the same value).
Finally, the identified devices from both analyses were combined, resulting in eight devices, as highlighted in Table 2. Since the selected device models had to be purchased and not all devices were available at the time of starting the experiments, only four of the eight identified devices could be used (highlighted in dark gray in Table 2). On top of these four devices, a Google Pixel 2 was used simply because it was available to the experimenters. This resulted in the five devices shown in Table 3. The Android version installed on each device can be found in the table. These are the maximum versions that were officially supported by the acquired devices at the time of the experiments.
Table 3. Final selection of device models and respective installed Android versions used for the experiments.

3.2.2. Reference Sound Level Meter and Calibrator

As a reference sound level meter (SLM) for the performed sound measurements the testo 815 by Testo SE & Co. KGaA is used. It allows measurements in the range of 32 to 130 dB and a frequency range of 31.5 to 8000 Hz. The SLM supports frequency weightings A and C. Its accuracy is ±0.5 dB under reference conditions at 94 dB and 1000 Hz in accordance with Class 2 of IEC 60,942 [43], with a resolution of 0.1 dB. In order to avoid distortions due to differences in temperature and air pressure, the sound level calibrator PeakTech 8010 by PeakTech Prüf- und Messtechnik GmbH was used to calibrate the SLM. The accuracy of the calibrator is ±0.5 dB under reference conditions at 23 C, 1013 mbar air pressure and 65% humidity.

3.2.3. Speaker and Tone Generator

As a sound source for the experiments, the speaker of the GigaWorks T20 Series II by Creative connected to a notebook was used. The Online Tone Generator by Tomasz P. Szynalski [44] was used on the notebook to generate a sine wave (pure tone) on different frequencies.

3.2.4. Mobile Application for Sound Measurement

In order to mimic the behavior of the TYT app for the experiments, the corresponding code for the sound measurement was extracted and integrated into a new sound measurement mobile application. In addition, this allows to implement a more convenient way of extracting the results, as well as more insights into various parameters of the sound measurement. Equivalent to the TYT app, the sound measurement application utilizes the previously described MediaRecorder.getMaxAmplitude() method to capture the “maximum absolute amplitude that was sampled since the last call to this method” [42] every 500 ms for a total of 30 values (15 s). These values, in turn, are then averaged into a single value. This averaging step was found to be erroneous in the original application, as will be discussed in Section 4.2, and has been corrected for the application used in the experiments. Furthermore, the first two values of the sound measurement have shown to be erroneous for several smartphone models (see Section 4.2) and are therefore discarded for the measurements. A screenshot of the sound measurement application is shown in Figure 1. The user interface of the application allows to start the measurement and displays the measured single amplitude values as well as the resulting average value after the measurement is done. As shown in the screenshot, the first two values that are discarded and excluded from the average are highlighted by displaying them as crossed out in red. In addition to the features used for the experiments in the scope of this work, the application allows further configurations for experimental purposes (e.g., the option to change the audio encoding as well as to remove any audio compression) and offers the possibility to perform a continuous measurement of the sound level.
Figure 1. Screenshot of the sound measurement mobile application used for the experiments. The values displayed represent the individual amplitude values for each of the 500 ms periods as well as the average amplitude over the entire 15 s measurement period (the large number in the center of the screen).

3.3. Experimental Setup and Procedure

Before conducting the actual experiments, various measurements were taken with different frequencies (125–2000 Hz), frequency weightings (A & C), distances to the sound source, and different smartphones to find the optimal settings for the experiments. The measurements indicate that—using the correct settings—the smartphones measure sound frequency-independently in the study’s frequency range of 125–2000 Hz, allowing a single frequency to be used for the experiments. The final settings are shown in Table 4. A pure tone with a frequency of 1000 Hz was chosen for the sound source to obtain an unweighted result with the given SLM, since it supports only A- and C-weightings and these frequency weightings do not apply offsets at 1000 Hz [45]. Note that, for this reason, dBSPL, dB(A) and dB(C) at 1000 Hz are all equal and may therefore be used interchangeably for measurements at this frequency. For purposes of clarity, dB(C) is used for the remainder of this paper. To promote and facilitate the overall reproducibility, it was decided against a professional sound laboratory in favor of a simpler test environment for the experiments. Thus, for the measurement range, a lower limit of 50 dB(C) was chosen because the background noise in the test environment was measured at approximately 46 dB(C). 80 dB(C) was chosen as upper limit to avoid hearing damage for the experimenter (without additional protective measures). A distance of 30 cm between sound source and SLM/smartphone was chosen due to spatial restrictions to avoid reflections in the test room.
Table 4. Settings for the experiments.
The experimental setup is shown in Figure 2. The experiment is performed in a room of 15 square meters. The speaker is positioned at the edge of a 76 cm high table to avoid reflections by the table surface. Furthermore, it is fixated in a way that accounts for its slightly upward design and results in a vertical positioning of the speaker cone. The SLM and each of the smartphones are screwed onto tripods and positioned as close as possible to each other and 30 cm from the speaker, with their microphones pointed at the speaker. The SLM is thereby rotated 90 degrees so that its display can be read from a distance by the experimenter. The speaker and the smartphone are controlled remotely with a notebook that is positioned 2 m away from the table to avoid reflections by the equipment and the experimenter.
Figure 2. Setup for the experiments.
Before conducting the experiments, the SLM is calibrated with the calibrator to account for the room conditions such as temperature and air pressure. Thereby, the calibrator is attached to the SLM and turned on, producing a sound at 94 dB and 1000 Hz. The SLM is then configured to measuring range 50–100 dB, time weighting “Fast” (the measured samples are averaged every 125 ms) and frequency weighting A. The SLM is then potentially fine-tuned until the display also shows 94 dB.
The experimental procedure is structured as follows and was repeated for each of the five smartphones.
  • The tone generator software is used to create a 1000 Hz sinus signal (pure tone) with the speaker.
  • The volume is then adjusted until the SLM shows the desired sound pressure level.
  • Subsequently, the measurement is started on the smartphone. As described in Section 3.2.4, the mobile application captures 30 measurement values (while discarding the first two values) for about 15 seconds, averages these values and stores them in a table.
  • The steps 1.–3. are repeated for 5 dB increments between 50 and 80 dB(C) (an explanation for the measuring range can be found in the first paragraph of this subsection), resulting in seven values per smartphone.

4. Results

The final experiments resulted in a total of 35 values. The results are shown in Figure 3. The y-axis shows the reference dB(C) value produced with the tone generator and the speaker. On the x-axis, the output of the different smartphone models is displayed on a logarithmic scale. It can be seen that the measured amplitudes of all smartphone models show an almost linear slope on the logarithmic scaled axis, indicating a nearly logarithmic slope of the values. Furthermore, it can be observed that the curves of the smartphones are almost parallel, indicating that the slopes are nearly identical. The only noticeable deviation is shown by the Pixel 2, where the curve seems to bend at 70 dB(C). Overall, the curves appear to differ only by an offset on the x-axis.
Figure 3. Measured amplitude values for C-weighted sound pressure levels between 50–80 dB(C) for the different mobile devices used in the experiments. The x-axis is logarithmically scaled.
The results of the experiments are then analyzed in terms of their interpretation. In this context, first, the experimental results are used for a logarithmic regression to derive respective equations for the different device models. Second, the legacy application code of the TYT app is analyzed for relevant implementation errors and poor design decisions that should be improved. Finally, the derived equations are used to transform the existing data in the TYT database into (partially) comparable dB(C) values.

4.1. Deriving Equations from the Experimental Results

As can be seen in Figure 3, the curves for each device model have approximately the same slope. A logarithmic regression analysis was performed to fit a logarithmic function to the relationship between amplitude values of each device model and the respective sound level in dB(C) measured with the SLM. The resulting equations are listed in Table 5 and plotted on top of the measured data in Figure 4. As can be seen in the table and the figure, the regression curves have similar slopes ( s = 1.33 ), but differ in their intercept. Only the Samsung Galaxy S7 and A3 models seem to have an almost identical curve, which suggests that the manufacturer used the same or similar hardware and software components for the devices. For the other device models, the results indicate that the Android devices process sound levels equally except for an offset of 0–15 dB. Furthermore, the slopes of the equations appear to be similar to that of the definition of sound pressure level (SPL), shown in Equation (1), where p is the root mean square sound pressure and p 0 = 20 μ Pa = 2 · 10 5 Pa is the reference sound pressure [46]. For sound measurements by the device models used in the experiments, the equations from Table 5 can be used to transform an amplitude value of the respective device model into a corresponding dB(C) value. As the slopes of the equations are similar, a simple calibration of any additional device model in order to determine the respective offset might already be sufficient in order to obtain approximately comparable measurements.
L p = 10 · log 10 p 2 p 0 2 d B = 20 · log 10 p p 0 d B
Table 5. Equations for the different device models as results from the logarithmic regression. R2 is the coefficient of determination.
Figure 4. Fitted regression curves for the measured sound levels of the different device models. The x-axis is logarithmically scaled, resulting in linear curves.

4.2. Analysis of the Legacy Application Code

As mentioned in Section 3.2.4, the code of the TYT mobile application that is used to measure the sound level values that are later stored in the database was analyzed and tested in an isolated environment before the beginning of the experiments. Thereby, several errors were found in the process used to obtain these values, which are briefly described in the following:
  • Erroneous calculation 1: The 30 amplitude values sampled by the app as retrieved by the Android MediaRecorder API are averaged arithmetically and stored as a single value, which is supposed to represent the average sound level. This is erroneous, as sound levels are logarithmic values, which must be transformed to their energetic source values before they can be used for calculations [45].
  • Erroneous calculation 2: The first two measured values of the app often contained errors in the initial experiments. For multiple of the investigated devices, the first measured value was consistently 0, while the second value was often too low. Further experiments showed that these errors occur very frequently for measurements within the first 1000 ms after the start of the recording. These findings indicate that these first two values should be excluded from the calculations.
  • Unsuitable audio codec: The audio encoder AMR_NB [47] is used for the measurements, which is a narrowband audio codec optimized for a frequency range between 200 and 3400 Hz [48]. Lower and higher values may therefore be recorded in a distorted manner.
  • Lack of user transparency: The app does not indicate that the sound measurement is ongoing. The user could therefore interact with the mobile device in an unfavorable way, which might interfere with the measurement (e.g., microphone is covered, smartphone collides with object). For example, interacting with the touchscreen of the mobile device during the measurement resulted in an increase of the measured sound level by about 10 to 20 dB(C). Placing the device on a table led to values above 100 dB(C).
To estimate the magnitude of the error due to the erroneous calculation, a worst case was simulated, for which 29 of the 30 measured amplitude values are used as input for the calculation that are rather small and one value that is rather high. We chose the amplitude values measured for 50 dB(C) and 80 dB(C) respectively, as these were the lowest and highest sound level values used in the experiments. The resulting dB value that would be calculated by the TYT app as well as the correct dB value are shown in Table 6. These values can be interpreted to mean that the sound level values stored in the TYT database are up to 9.4–9.8 dB lower than the actual measured loudness. Note that a difference of 10 dB is perceived as approximately double loudness [45]. Therefore, the measured values in the TYT database cannot be considered as representative environmental noise measurement in dBSPL (or dB(C), respectively), and thus cannot be used for corresponding conclusions. However, the values could still be used to compare them relatively (e.g., lower and higher sound levels) and to investigate correlations with other data (e.g., the perceived tinnitus loudness of a single user).
Table 6. Worst case errors due to the erroneous calculation of the TYT app for the dB(C) values used in the experiments.

4.3. Interpretation of the Existing Data

The equations from Section 4.1 can be used to transform the soundlevel data from the TrackYourTinnitus database (see Section 3.1) for the respective device models into (partially) comparable sound level dB(C) values (although these values are erroneous, as shown in Section 4.2). Table 7 shows the minimum (min), maximum (max) and average (avg) dB(C) values for the amplitude values stored for the device models. Note that noise exposure of 85 dB(A) over a period of 8 hours is considered hazardous [49].
Table 7. Minimum, maximum, and average recorded environmental noise levels in the TYT database for the different device models used in the experiments.

5. Discussion

In the following, the results are discussed. On the one hand, considerations towards comparability of sound measurements with smartphones are discussed. On the other hand, limitations of the experiments in the scope of this work are considered.

5.1. Towards Comparability of Sound Measurements with Smartphones

The results have shown that measuring sound levels with mobile devices (e.g., smartphones) is possible if the devices are calibrated correctly beforehand. However, there are several aspects that should be considered. The mobile application used to measure the sound level should be carefully revised regarding the following aspects:
  • If system-APIs are used, it should be verified whether these APIs provide the correct values and whether these values are in the desired format. If the recording requires a setup time, the measurement should only be started after this setup is completed.
  • Audio codecs that distort the measurements should not be used.
  • Consideration should be given to whether average or peak values are of interest.
  • If sound level averages are calculated, the logarithmic nature of the amplitude values must be taken into account and the correct formula must be used.
  • The mobile application should transparently indicate via the user interface that the sound measurement is in progress to avoid the user unintentionally interacting with the mobile device in a way that interferes with the measurement. The user should be instructed to act appropriately to minimize the interference.

5.2. Limitations

The experiments performed in the scope of this work are subject to several limitations. First, the measurements were not performed in a laboratory to foster and facilitate the overall reproducibility. Therefore, measurement errors, especially due to sound reflections or background noises (e.g., traffic noise), might have distorted the results. Second, the measuring distance of 30 cm from the sound source was chosen for spatial reasons. It was not verified whether a greater distance would lead to more accurate measurement results. Third, the measurements were limited to levels between 50 and 80 dB(C). Values below or above these limits cannot be verified. Fourth, the measurements were performed with a single sinus signal (pure tone) sound source at 1000 Hz. Generalizations for other sound signals and different frequencies might not be accurate. In addition, pure tones might lead to room modes and standing waves that could have distorted the results, which was not considered in the experiments. Fifth, in this context, dB(C) values as measured by the SLM are treated as dBSPL in the experiments, which cannot be generalized for frequencies other than 1000 Hz. Furthermore, for environmental noise measurements usually the A-weighting filter is used to better reflect the hearing of the human ear. Sixth, the output of the mobile application is a peak value and not an effective value as measured by the SLM. These values should not be compared directly, but were nevertheless used to simulate the behavior of the TYT app. Seventh, it is assumed that the Android API used to retrieve the amplitude values behaves the same on each Android version, since the experiments were performed with the maximum version that was officially supported by the acquired devices (see Table 3). This assumption is supported by the fact that the API has been present since Android API level 1 (Android 1.0) [42], but could not be verified.

6. Summary and Outlook

In this work, an experiment was described with the objective to make a large data set of environmental sound measurements captured with smartphones and stored in the TrackYourTinnitus (TYT) database usable and comparable to enable meaningful interpretations in the context of tinnitus research. To this end, the existing data were analyzed to find the device models that contributed the most data entries. Four of these device models were then acquired for the experiments and equipped with a mobile app that mimics the environmental sound measurement of the TYT Android app. For the actual experiments, a sound signal was generated, the volume was adjusted to different sound levels using a professional calibrated sound level meter (SLM), and the values captured by the source code of the app on the Android devices were recorded. The results indicate that the amplitude values retrieved by the devices behave similarly except for a constant offset. Furthermore, equations derived from the results with a logarithmic regression analysis can be used to transform the values in the TYT database to (partially) comparable dB values. However, there are several limitations to the experiments due to the code of the TYT app and the experimental setup.
Since the experiments within the scope of this work were only conducted for a number of selected Android device models, in future work, more device models should be considered. This includes both Android as well as iOS device models. For the latter, there are far fewer different models, which are all produced by a single manufacturer, which simplifies the process. Once the values retrieved by the system APIs of the different device models and operation system versions are known, respective equations can be derived and used for any future measurements of the same models. Alternatively, along with the recommendations in Section 5.1, a calibration feature could be integrated in a future version of the TYT app that could lead to even more accurate results.
In conclusion, it has been shown that measuring sound levels with mobile devices is possible and feasible for healthcare purposes, but there are many challenges to ensuring that the measured values are accurate, comparable, and interpretable and thus more future work towards the interpretation of mobile crowdsensing data should be conducted.

Author Contributions

Conceptualization, R.K. and R.P.; methodology, R.K. and R.P.; software, R.K.; validation, R.K. and R.P.; formal analysis, R.K.; investigation, R.K.; resources, M.R.; data curation, R.K.; writing—original draft preparation, R.K.; writing—review and editing, R.K. and R.P.; visualization, R.K.; supervision, R.P.; project administration, M.R. and R.P.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy reasons.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kraft, R.; Schlee, W.; Stach, M.; Reichert, M.; Langguth, B.; Baumeister, H.; Probst, T.; Hannemann, R.; Pryss, R. Combining mobile crowdsensing and ecological momentary assessments in the healthcare domain. Front. Neurosci. 2020, 14, 164. [Google Scholar] [CrossRef]
  2. Kraft, R.; Birk, F.; Reichert, M.; Deshpande, A.; Schlee, W.; Langguth, B.; Baumeister, H.; Probst, T.; Spiliopoulou, M.; Pryss, R. Efficient processing of geospatial mhealth data using a scalable crowdsensing platform. Sensors 2020, 20, 3456. [Google Scholar] [CrossRef]
  3. Kraft, R.; Birk, F.; Reichert, M.; Deshpande, A.; Schlee, W.; Langguth, B.; Baumeister, H.; Probst, T.; Spiliopoulou, M.; Pryss, R. Design and implementation of a scalable crowdsensing platform for geospatial data of tinnitus patients. In Proceedings of the 2019 IEEE 32nd International Symposium on Computer-Based Medical Systems (CBMS), Cordoba, Spain, 5–7 June 2019; pp. 294–299. [Google Scholar]
  4. Schlee, W.; Pryss, R.C.; Probst, T.; Schobel, J.; Bachmeier, A.; Reichert, M.; Langguth, B. Measuring the moment-to-moment variability of tinnitus: The TrackYourTinnitus smart phone app. Front. Aging Neurosci. 2016, 8, 294. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Pryss, R.; Reichert, M.; Herrmann, J.; Langguth, B.; Schlee, W. Mobile crowd sensing in clinical and psychological trials—A case study. In Proceedings of the 2015 IEEE 28th International Symposium on Computer-Based Medical Systems, Sao Carlos, Brazil, 22–25 June 2015; pp. 23–24. [Google Scholar]
  6. Kraft, R.; Stach, M.; Reichert, M.; Schlee, W.; Probst, T.; Langguth, B.; Schickler, M.; Baumeister, H.; Pryss, R. Comprehensive insights into the TrackYourTinnitus database. Procedia Comput. Sci. 2020, 175, 28–35. [Google Scholar] [CrossRef]
  7. Masalski, M.; Grysiński, T.; Kręcicki, T. Hearing tests based on biologically calibrated mobile devices: Comparison with pure-tone audiometry. JMIR mHealth uHealth 2018, 6, e10. [Google Scholar] [CrossRef]
  8. Habib, M.A.; Mohktar, M.S.; Kamaruzzaman, S.B.; Lim, K.S.; Pin, T.M.; Ibrahim, F. Smartphone-based solutions for fall detection and prevention: Challenges and open issues. Sensors 2014, 14, 7181–7208. [Google Scholar] [CrossRef] [Green Version]
  9. Pires, I.M.; Garcia, N.M.; Pombo, N.; Flórez-Revuelta, F.; Rodríguez, N.D. Validation techniques for sensor data in mobile health applications. J. Sens. 2016, 2016, 2839372. [Google Scholar] [CrossRef] [Green Version]
  10. Schweizer, I.; Darmstadt, T.; Probst, F.; Bärtl, R.; Darmstadt, T.; Mühlhäuser, M.; Darmstadt, T.; Schulz, A.; Darmstadt, T. Noisemap-real-time participatory noise maps. In Proceedings of the Second International Workshop on Sensing Applications on Mobile Phones, Microsoft Research, Seattle, WA, USA, 1–4 November 2011; pp. 1–5. [Google Scholar]
  11. Williams, W.; Zhou, D.; Stewart, G.; Knott, P. The practicality of using a smart phone ‘App’as an SLM and personal noise exposure meter (SoundLog). In Proceedings of the ACOUSTICS, Brisbane, Australia, 9–11 November 2016; pp. 1–7. [Google Scholar]
  12. Lefevre, B.; Issarny, V. Matching technological & societal innovations: The social design of a mobile collaborative app for urban noise monitoring. In Proceedings of the 2018 IEEE International Conference on Smart Computing (SMARTCOMP), Taormina, Italy, 18–20 June 2018; pp. 33–40. [Google Scholar]
  13. Ventura, R.; Mallet, V.; Issarny, V.; Raverdy, P.G.; Rebhi, F. Evaluation and calibration of mobile phones for noise monitoring application. J. Acoust. Soc. Am. 2017, 142, 3084–3093. [Google Scholar] [CrossRef]
  14. Zappatore, M.; Longo, A.; Bochicchio, M.A. Crowd-sensing our Smart Cities: A Platform for Noise Monitoring and Acoustic Urban Planning. J. Commun. Softw. Syst. 2017, 13, 53. [Google Scholar] [CrossRef] [Green Version]
  15. Abc Apps. Sound Meter; Google Play Store; Google LLC: Mountain View, CA, USA, 2021. [Google Scholar]
  16. Tools Dev. Sound Meter-Decibel & Noise Meter; Google Play Store; Google LLC: Mountain View, CA, USA, 2021. [Google Scholar]
  17. Splend Apps. Sound Meter; Google Play Store; Google LLC: Mountain View, CA, USA, 2021. [Google Scholar]
  18. SkyPaw Co. Ltd. Decibel X: dB Sound Level Meter; Apple App Store; Apple Inc.: Cupertino, CA, USA, 2021. [Google Scholar]
  19. EA LAB. NIOSH Sound Level Meter; Apple App Store; Apple Inc.: Cupertino, CA, USA, 2021. [Google Scholar]
  20. Polyanskiy, V. Decibel: dB Sound Level Meter; Apple App Store; Apple Inc.: Cupertino, CA, USA, 2021. [Google Scholar]
  21. Stach, M.; Kraft, R.; Probst, T.; Messner, E.M.; Terhorst, Y.; Baumeister, H.; Schickler, M.; Reichert, M.; Sander, L.B.; Pryss, R. Mobile health app database-a repository for quality ratings of mHealth apps. In Proceedings of the 2020 IEEE 33rd International Symposium on Computer-Based Medical Systems (CBMS), Rochester, MN, USA, 28–30 July 2020; pp. 427–432. [Google Scholar]
  22. Nast, D.R.; Speer, W.S.; Le Prell, C.G. Sound level measurements using smartphone “apps”: Useful or inaccurate? Noise Health 2014, 16, 251. [Google Scholar]
  23. Kardous, C.A.; Shaw, P.B. Evaluation of smartphone sound measurement applications. J. Acoust. Soc. Am. 2014, 135, EL186–EL192. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  24. Roberts, B.; Kardous, C.; Neitzel, R. Improving the accuracy of smart devices to measure noise exposure. J. Occup. Environ. Hyg. 2016, 13, 840–846. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Murphy, E.; King, E.A. Testing the accuracy of smartphones and sound level meter applications for measuring environmental noise. Appl. Acoust. 2016, 106, 16–22. [Google Scholar] [CrossRef] [Green Version]
  26. Ibekwe, T.S.; Folorunsho, D.O.; Dahilo, E.A.; Gbujie, I.O.; Nwegbu, M.M.; Nwaorgu, O.G. Evaluation of mobile smartphones app as a screening tool for environmental noise monitoring. J. Occup. Environ. Hyg. 2016, 13, D31–D36. [Google Scholar] [CrossRef]
  27. Serpanos, Y.C.; Renne, B.; Schoepflin, J.R.; Davis, D. The accuracy of smartphone sound level meter applications with and without calibration. Am. J. Speech-Lang. Pathol. 2018, 27, 1319–1328. [Google Scholar] [CrossRef] [PubMed]
  28. Blair, B.D.; Brindley, S.; Hughes, J.; Dinkeloo, E.; McKenzie, L.M.; Adgate, J.L. Measuring environmental noise from airports, oil and gas operations, and traffic with smartphone applications: Laboratory and field trials. J. Expos. Sci. Environ. Epidemiol. 2018, 28, 548–558. [Google Scholar] [CrossRef] [PubMed]
  29. McLennon, T.; Patel, S.; Behar, A.; Abdoli-Eramaki, M. Evaluation of smartphone sound level meter applications as a reliable tool for noise monitoring. J. Occup. Environ. Hyg. 2019, 16, 620–627. [Google Scholar] [CrossRef]
  30. Kardous, C.A.; Shaw, P.B. Evaluation of smartphone sound measurement applications (apps) using external microphones—A follow-up study. J. Acoust. Soc. Am. 2016, 140, EL327–EL333. [Google Scholar] [CrossRef] [Green Version]
  31. Aumond, P.; Lavandier, C.; Ribeiro, C.; Boix, E.G.; Kambona, K.; D’Hondt, E.; Delaitre, P. A study of the accuracy of mobile technology for measuring urban noise pollution in large scale participatory sensing campaigns. Appl. Acoust. 2017, 117, 219–226. [Google Scholar] [CrossRef]
  32. Zamora, W.; Calafate, C.T.; Cano, J.C.; Manzoni, P. Accurate ambient noise assessment using smartphones. Sensors 2017, 17, 917. [Google Scholar] [CrossRef] [Green Version]
  33. Celestina, M.; Hrovat, J.; Kardous, C.A. Smartphone-based sound level measurement apps: Evaluation of compliance with international sound level meter standards. Appl. Acoust. 2018, 139, 119–128. [Google Scholar] [CrossRef]
  34. Celestina, M.; Kardous, C.A.; Trost, A. Smartphone-based sound level measurement apps: Evaluation of directional response. Appl. Acoust. 2021, 171, 107673. [Google Scholar] [CrossRef]
  35. Dumoulin, R.; Voix, J. Calibration of smartphone-based devices for noise exposure monitoring: Method, implementation, and uncertainties of measurement. J. Acoust. Soc. Am. 2013, 133, 3317. [Google Scholar] [CrossRef]
  36. Zhu, Y.; Li, J.; Liu, L.; Tham, C.K. iCal: Intervention-free calibration for measuring noise with smartphones. In Proceedings of the 2015 IEEE 21st International Conference on Parallel and Distributed Systems (ICPADS), Melbourne, VIC, Australia, 14–17 December 2015; pp. 85–91. [Google Scholar]
  37. Can, A.; Guillaume, G.; Picaut, J. Cross-calibration of participatory sensor networks for environmental noise mapping. Appl. Acoust. 2016, 110, 99–109. [Google Scholar] [CrossRef]
  38. Garg, S.; Lim, K.M.; Lee, H.P. An averaging method for accurately calibrating smartphone microphones for environmental noise measurement. Appl. Acoust. 2019, 143, 222–228. [Google Scholar] [CrossRef]
  39. Aumond, P.; Can, A.; Gozalo, G.R.; Fortin, N.; Suarez, E. Method for in situ acoustic calibration of smartphone-based sound measurement applications. Appl. Acoust. 2020, 166, 107337. [Google Scholar] [CrossRef]
  40. Aumond, P.; Can, A.; Mallet, V.; De Coensel, B.; Ribeiro, C.; Botteldooren, D.; Lavandier, C. Kriging-based spatial interpolation from measurements for sound level mapping in urban areas. J. Acoust. Soc. Am. 2018, 143, 2847–2857. [Google Scholar] [CrossRef] [Green Version]
  41. Ventura, R.; Mallet, V.; Issarny, V. Assimilation of mobile phone measurements for noise mapping of a neighborhood. J. Acoust. Soc. Am. 2018, 144, 1279–1292. [Google Scholar] [CrossRef]
  42. Google Developers. MediaRecorder. Available online: https://developer.android.com/reference/android/media/MediaRecorder#getMaxAmplitude (accessed on 11 March 2021).
  43. IEC 60942; Electroacoustics-Sound Calibrators; Standard, International Electrotechnical Commission (IEC): Geneva, Switzerland, 2017.
  44. Szynalski, T.P. Online Tone Generator. Available online: https://www.szynalski.com/tone-generator/ (accessed on 13 May 2020).
  45. Hansen, C.H. Fundamentals of acoustics. Occupational Exposure to Noise: Evaluation, Prevention and Control; World Health Organization: Geneva, Switzerland, 2001; pp. 23–52. [Google Scholar]
  46. IEC 60027-3; Letter Symbols to be Used in Electrical Technology-Part 3: Logarithmic and Related Quantities, and Their Units; Standard, International Electrotechnical Commission (IEC): Geneva, Switzerland, 2002.
  47. Google Developers. MediaRecorder.AudioEncoder. Available online: https://developer.android.com/reference/android/media/MediaRecorder.AudioEncoder (accessed on 14 July 2021).
  48. VoiceAge Corporation. VoiceAge-AMR (Adaptive Multi-Rate) Standard. Available online: http://www.voiceage.com/AMR-NB.AMR.html (accessed on 27 July 2021).
  49. National Institute for Occupational Safety and Health. Occupational Noise Exposure-Revised Criteria 1998. In Criteria for a Recommended Standard; National Institute for Occupational Safety and Health: Cincinnati, OH, USA, 1998. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.