Robotics Review of sound and music
Use the notes about the
sound sensor
and
making sounds
to answer these questions.
True
False
Sound.playTone(100,500);
will play a tone with a
frequency
of 500 for a
duration
of 100 milliseconds.
Sound.playTone(500,500);
Thread.sleep(1000);
will allow a half second pause after playing the tone
If you create a soundsensor object using the
true
setting
SoundSensor sound = new SoundSensor(SensorPort.S3,
true
);
instead of the standard setting
SoundSensor sound = new SoundSensor(SensorPort.S3);
it will pick up the frequency of sound instead of the volume.
Type in your name
and