NXT Sound Sensor
-
class SoundSensor(port)
LEGO® MINDSTORMS® NXT Sound Sensor.
- Parameters:
port (Port) – Port to which the sensor is connected.
-
intensity(audible_only=True) → int: %
Measures the ambient sound intensity (loudness).
- Parameters:
audible_only (bool) – Detect only audible sounds. This tries to
filter out frequencies that cannot be heard by the
human ear.
- Returns:
Sound intensity.