|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecticommand.platform.nxt.Sound
public class Sound
Constructor Summary | |
---|---|
Sound(Sensor sensor)
Used to detect the loudness of sounds in the environment. |
Method Summary | |
---|---|
int |
getdB()
Returns the decibels measured by the sound sensor. e.g. |
int |
getdBA()
Returns sound within the human hearing frequency range, normalized by A-weighting. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sound(Sensor sensor)
sensor
- e.g. Sensor.S1Method Detail |
---|
public int getdB()
public int getdBA()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |