Class SoundSensor
In: lib/sensors/sound_sensor.rb
Parent: Sensor

Methods

Public Class methods

Public Instance methods

Get the current sound level as a float from 0 to 1.0. 1.0 is maximum, 0 is minimum.

Sound level measurement is adjusted to match the psychoacoustic properties of human hearing. This is on by default.

Sound level measurement is NOT adjusted to match the psychoacoustic properties of human hearing. Sounds that may not be loud to the human ear may show up as loud and vice versa.

[Validate]