SPL Graph

Screen Shot 2016-02-17 at 11.58.50 AM

SPL Graph is a powerful sound level chart recorder and noise logging system for the iPhone, iPad, and iPod Touch. It works by averaging the SPL for a period of time range from 0.1s to 15 minutes (Leq), applying an optional weighting filter or performing octave or 1/3 octave analysis, and plotting the sound level. You can optionally record the audio or video for the graph, send notifications based on preset limits, and even automatically email graph results at the end of a test.

We also plot the A, C, and unweighted (Z) SPL values along with the octave or 1/3 octave data. Note that if you are getting overload indications see our page explaining SPL Overload Indication.

SPL Graph can be configured for continuous data logging, remote file saving or emailing of data, Ln statistical measurements, event notification, and more. Couple this with our iTestMic, iPrecisionMic, or iAudioInterface2 to have a Type 1 or 2 sound level meter at the fraction of the cost of dedicated hardware solutions.

SPL Graph is now compatible with Apple Watch (see below).

Check out our new video demo of SPL Graph.


Also, see our demo video for the SPL Graph Video Capture Option.


Screen Shot 2016-02-17 at 12.06.31 PM

SPL Graph can record up to 24 hours of 1-second resolution sound level data per file, and can be configured to auto-save and restart for continuous operation. The graph starts displaying a one-minute window, and as each minute is recorded, the graph re-scales automatically and adds another more time to show the data collected so far. 

You can upload the data and recorded audio files to your PC or Mac. The file format is .WAV, .CAF, which is a compressed Apple format, or M4A, which is a 10X compressed file format. You can convert a .CAF it to a Windows-compatible file using a tool like AVS Audio Converter.

Also see our app note on Setting up an iPhone for Remote Noise Logging.

Octave and 1/3 Octave SPL Logging

Screen Shot 2016-02-17 at 12.03.46 PM

Starting with iPhone 4S, SPL Graph has an option for adding an SPL Octave and 1/3 Octave Logging module. This allows recording the frequency spectrum at every point on the graph (typically every second, although it can be longer), as well as recording the average spectrum for the entire measurement. We also plot the A, C, and unweighted (Z) SPL values along with the octave or 1/3 octave data. 

Use the cursor to select any single data point on the screen and inspect the spectrum for that point.

NOTE: iPhone 4 and iPod touch 4 do not have enough processing power for this module, and so the module is not available on those devices.

See our Octave Logging Demo Video.

The Octave Band Logging option also allows you to pick any single octave or 1/3 octave band, or overall, A, or C weighting, for the main red curve. And, the filter option for this curve can be selected and viewed even after the measurement has been completed.

Screen Shot 2016-02-17 at 12.38.14 PM

To set up Octave Logging, go to the Setup page in SPL Graph, and purchase the Octave Band Logging option, by tapping the Info button that appears over the Octave Logging selector.

Then, just select with Octave or 1/3 Octave Logging. The test will now run in that mode.

Octave logging also enables the 3D plot of data vs frequency vs time. Tap the 3D to switch to 3D display, where you can rotate the plot, and when the test is complete, use a timeline control to show the plot as it looked at different times in the test.

Graphics

Screen Shot 2016-02-17 at 12.10.13 PM

The graph starts with a one-minute window, and as a minute is recorded, the graph re-scales automatically and adds another minute to show the data collected so far. Tap the “speaker" play button to play back the recorded audio, and use the cursor to scrub the audio location on the graph. Use this feature to listen to events that you can see on the graph.

You can scroll and scale the graph vertically, in dB, by using standard swipe and pinch gestures. You can also scroll and expand and contract the time axis using gestures. Zoom out to a full 24 hours, or zoom in to a single minute, showing second resolution. Double-tap the screen to zoom out to show the entire graph on the screen. 

The time scale grid changes dynamically, highlighting minutes, ten-minute, and hour lines as as it runs. As the graph runs, the overall LEQ (average SPL) for the entire time period is computed and displayed on the screen. 

Swiping across the graph brings up a cursor that displays the exact dB level and time for any point on the graph.

Ln Statistical Data Logging

Ln statistics may be enabled on the setup page. When on, these values will be computed, on the overall data:

  • LMax
  • LMin
  • L95
  • L90
  • L50
  • L10
  • L01

If “Full Data Save” is turned on, these values are also stored for each data point (1.0s to 15m) that is recorded. In octave band mode, you can selected any single value, such as Z, A, or C weighting, or one of the octave or 1/3 octave bands for Ln calculations.

Ln is calculated at 0.1s resolution, which matches many traditional logging sound level meters. You can choose to insert a traditional Fast or Slow detector before the Ln calculations, to match the operation of legacy analog SLMs.

Settings

SPL Graph has many options and features that allow you to customize it for any application, including setting it up as a continuous noise logging system.

Screen Shot 2016-02-17 at 12.10.51 PM

Audio/Video Recording Settings

SPL Graph can record up to 24 hours of audio or video, or it can be setup to only record events that exceed a preset threshold. When the threshold is reached, 10 seconds of audio before the event is recorded, and recording will continue for 10 seconds after event. Video will start at the event time and will extend 10 seconds past the end of the event.

For audio, you can select uncompressed WAV files, compressed CAF files (4x smaller), or M4A mpeg files, which are 10x smaller than wave files.

For video, you can choose between several sizes.

These files will be named the same as the stored file, with numeric suffixes following the file name. 

Turn on Audio Monitor if you wish to listen to sounds being recorded. Note that this may cause feedback if you are using the internal mic.

Since the audio is recorded with the full dynamic range of the input, it may be difficult to hear the sounds that were recorded. Turn up the Playback Volume boost to increase playback level without changing the dB measurements.

Time Limits and Resolution 

Resolution controls the amount of time that is averaged in each data point. This can be selected to match your situation or to match a noise standard. You can select from 0.1s (if octave logging is off) to 60m resolution.

Using the Time Limits control you can allow SPL Graph to start immediately when you tap the microphone icon, or you can delay it by some time, lock it to even clock hours, or, with Time Sync, you can lock it to even multiples of the selected Resolution time. This allows you to run multiple copies of SPL Graph on different devices, and keep the data locked in time.

Ln Statistical Data

Select  flat (Z), A, or C weighting for the Ln values (if you are running octave logging - otherwise the selected weighting is used), choose to place a Fast or Slow detector before the Ln calculations are made, and also you can choose to also store 50ms (20 times per second) data to another file. This will be named the same as the main data file, but will use the RTF extension. It contains ASCII tab-delimited data.

Note that more Ln values are stored to the file than are shown on the screen, for clarity of the display.

Minimal Display

Screen Shot 2016-05-10 at 11.35.30 AM

This feature allows SPL Graph to function with all of the data logging options and features running, while presenting a simple interface to the end user. This will be a simple screen, with only a dB reading, clock and nothing more. The background color of the screen will change depending on the limits set.

You can select Fast, Slow, or an Leq time, as well as the dB levels for the red, yellow, and green colors. Also, if you turn on the Main Screen switch, the dB level will appear on top of the graph.

Auto Save Settings

Screen Shot 2016-02-17 at 12.22.31 PM

To setup SPL Graph for data logging, first set a Run Limit on the main Setup page, so that the test will stop at a set time. This can be any convenient interval, up to 24 hours (1440 minutes). 

Then, tap the Autosave Setup button, and set the options that you would like. Turn on Autosave to enable saving of data at the end of the run (when the Run Limit time is reached). 

Then, if you want the results emailed, turn this option on and enter an email address. If a valid email address is set, the results will be emailed to that address at the end of the run. Note that if you are using iCloud or Dropbox you probably don't need to also email the results.

To continuously save results, also turn on the Restart After Save switch. SPL Graph can save data automatically at the end of a timed run, restart another run for continuous operation, and even email the results back to at the end of the run. You can also have a screen shot saved at this time and emailed along with the test data XLS file.

iCloud and Dropbox support mean that the data files can also automatically appear in your iCloud folder or Dropbox. Just enable iCloud or Dropbox on the General-Settings page, and every time that a file is auto-saved the data will appear on the cloud, if the device has internet connectivity. If it is offline, the data will be stored locally and migrate to the cloud automatically the next time that you open the app with internet available.

Auto Save can turn your iOS device into a powerful Type 1 approved sound level monitor, when used with an appropriate microphone, such as iPrecisionMic.

Notification Settings

Screen Shot 2016-02-17 at 12.26.40 PM

SPL Graph can also automatically send out email notifications of SPL overage events. You can define up to 2 email addresses to receive the notification, and you can limit the number of emails sent to prevent being bombarded with emails.

Notifications make it easy to monitor remote SPL events.

You can also to choose to turn on iOS notifications. This will cause a notification to be shown locally on your iOS device, even the if the app is running the background. This will also cause the notification to be sent to Apple Watch.

Multiple notifications are now supported, and checked after each data point on the graph. So, if your resolution is set to 5 seconds, the notifications will be tested every 5 seconds.

There is a main notifications settings page, and a page for each individual notification.

Main Notifications Settings Page

These settings apply to all notifications.

Email Address and Subject Line Fields

Enter one or two valid email addresses to receive notifications, and a subject line.

Enable Email Switch

Turn this on to enable sending emails. This will require that you setup your gmail credentials.

iOS Notifications Switch

Turn this on to receive iOS and Apple Watch notifications of SPL events.

Lockout Time

After an email is sent, notifications will be locked out and another email will not be sent for this amount of time.

Email Limit

Entering a number here will cause the app to stop sending notifications after this many have been sent. This will reset with each new test run that you start.

Gmail Credentials

Enter your gmail address and password here.

NOTE: If you are not getting emails, check your gmail to see if they are being rejected, due to the gmail "less secure app" issue. If so, allow emails from this app in your gmail account settings.

Notification List

The table on the right side of the screen shows the list of currently defined notification items. Each notification can be set up differently. Tap a notification to bring up its page.

Add Button

Use the Add button to create a notification.

Notification Page

This page is used to set up or edit a single notification.

Name

Enter the name you wish to assign to this notification.

Type Selector

Select the trigger type, either Leq, or Ln.

Level

Enter the level in dB to test. Note that Ln levels are actually internally tracked as integers, so the value will be rounded to the nearest interger value.

Time

Enter the time in mm:ss that the level must stay at to trigger a notification. For Ln types, as each notification is tested, the test will look back this much time, recompute the Ln over that time interval, and trigger if the Ln value exceeds it.

Time Limits

If desired, enter two 24-hour format times here. Notifications will only be tested between these time limits. Leave these blank to allow testing at any time of day.

Day Of Week Selector

Select the days of the week that you would like to apply to this notification. Days in green will be checked, if the day is red it will be skipped.

SPL Weighting

If you are operating in Octave or 1/3 Octave logging mode, you can choose A/C/Z or any of the octave or 1/3 octave bands to use as the notification trigger.

If you are running on a single filter, that filter is used for computing the notification triggers.

Audio and Video Recording

The audio is recorded 16-bit, 48k, mono, as an uncompressed WAV file, or as a compressed CAF file using Apple’s 4-to-1 IMA4 compression algorithm, or as an mpeg file using 10-to-1 compression. The storage requirements are shown here for 1 hour of audio:

  • WAV file, uncompressed, 345mb/hr, 8.2gb/day
  • CAF file, Apple compression, 86mb/hr, 2.1gb/dat
  • M4A file, mpeg compression, 34mb/hr, 0.8gb/day

 To free up space, you can always delete the graph and audio or video files from the Save / Recall page.

File Saving

If you exit the app, or are interrupted with a phone call, the graph data will not be lost. SPL Graph will automatically save the graph, and reload it when you next open the program. You can also save a graph and the XLS data on the iOS device, so that you can recall the graph later.

We also support Dropbox, so that data can be sent automatically to your Dropbox when the file is saved.

SPL Graph supports saving an unlimited number graphs directly on your iOS device. You can recall these graphs and bring them up on the screen, and listen to the sounds that were made while the graph was recorded. You can also store an image of the screen to your photo roll.  

You can control the amount of data that you want stored by using the “Full Data Save” option on the main settings page. If this is turned off, you will only get a summary of the data. If you turn it on, you will get all the details for each data point.

Apple Watch Support

IMG 1834

Starting with SPL Graph version 4.9, SPL Graph support Apple Watch. If you turn on “iOS Notifications” on the settings page, notifications will appear on your Apple Watch, if the iPhone screen is turned off.

Also, you can open the Apple Watch SPL Graph app, and see a summary of data, including Leq, Lmax, Lmin, and L50. 

The Glance for SPL Graph will also show the current color of the minimal screen display.

Filters

The filters are all ANSI type 1 or better, and include A-weighting, C-weighting, and all octaves band filters from 32 to 16kHz. Like all Studio Six Digital audio apps, SPL Graph supports calibration. The app ships calibrated for all iOS devices. If you have access to a calibrated SPL meter you can calibrate your iPhone.

NOTE: This app was originally named "LEQ Graph”.