❌ ❌ ❌ ❌ ❌ ❌ ✅

NXT Sound Sensor

../_images/nxtdevice-sound.png
S1sound sensoron
class SoundSensor(port)

LEGO® MINDSTORMS® NXT Sound Sensor.

Parameters:

port (Port) – Port to which the sensor is connected.

sound sensorvolume
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.