Sound-Trigger Usage Guide

Summary :

Detects sounds in the environment and allows you to respond with a chosen response.

Suggestions for potential usage

(note: these are only suggestions, not a description of the application's intent)

Vibrational alert for the hard-of-hearing

Explosions, barking dogs, yelling people, or other loud sounds in the environemnt would normally alert an individual, however, someone who is hard-of-hearing may not hear these sounds. This application could be used to alert a hard-of-hearing individual of activity in the environment by using the Vibration response setting.

Snoring

This application could be used to detect loud-snoring and respond with a sound that may disturb them enough to stop snoring. Set the device next to your bedside or partners bedside and adjust the sensitivity.

Barking dogs

The application could be used to respond to repetitive barking sounds. Adjust the tolerance settings to allow the dog to bark within reason.

Basic Usage :

The application will respond to sounds above a certain volume. You can adjust the threshold using the "Sensitivity" setting. There are additional settings in the Settings menu.

Checking the box in the upper right hand corner of a setting, will add or remove the setting from the main screen.

Background Service :

The background service will start automatically if you are recording...
  • ... and you navigate away from the app.
  • ... and the phone goes to sleep.
  • ... and you close the app while recording.

  • On all devices the background service will start automatically, but only some devices will automatically start listening. On Android 10 and lower, listening will start automatically. On Android 11 and higher, you will have to un-pause the service by using the notification in your notifications menu. This is due to microphone restrictions on Android 11.

    Note: The application service will NOT start if you are not recording.

    In order to use the app while unattended follow these steps:
    1. Start recording
    2. Close the app or navigate away from the app.
    3. Observe that the notification starts up.
    4. Tap on the notification to start listening,
    or, expand the notification to see the play buttons, and then press play.

    Sending Intents :

    Select the response action "Send intent to other apps". This response action allows you to trigger actions in other applications on your phone, such as "Macro Droid". The Intent that is sent goes by the name: "SoundTrigger.SoundDetected" and includes the following extra's:

  • - "MaxVol": The peak amplitude of the sound detected.
  • - "Class": One of the ten classes that the Sound Recognition Algorithm will attempt to resolve too.
  • - "Confidence": The confidence of the Sound Recognition Algorithm.