Bird
0
0

Why does the TonalBuzzer class require specifying note durations in its play method?

hard📝 Conceptual Q10 of 15
Raspberry Pi - gpiozero Library
Why does the TonalBuzzer class require specifying note durations in its play method?
ATo control how long each musical note sounds.
BTo set the volume of each note.
CTo select the GPIO pin automatically.
DTo adjust the buzzer's brightness.
Step-by-Step Solution
Solution:
  1. Step 1: Understand note duration concept

    Duration controls how long a note is played, affecting melody timing.
  2. Step 2: Eliminate unrelated options

    Volume, GPIO pin, and brightness are unrelated to note duration.
  3. Final Answer:

    To control how long each musical note sounds. -> Option A
  4. Quick Check:

    Note duration = sound length control [OK]
Quick Trick: Duration sets note length, not volume or pin [OK]
Common Mistakes:
  • Confusing duration with volume
  • Thinking duration sets pin
  • Assuming brightness control

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes