File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -605,9 +605,9 @@ class TonalBuzzer(SourceMixin, CompositeDevice):
605
605
If :data:`None` (the default), the buzzer will be off initially. Values
606
606
between -1 and 1 can be specified as an initial value for the buzzer.
607
607
608
- :type mid_note : int or str
609
- :param mid_note :
610
- The note which is represented the device's middle value (0). The
608
+ :type mid_tone : int or str
609
+ :param mid_tone :
610
+ The tone which is represented the device's middle value (0). The
611
611
default is "A4" (MIDI note 69).
612
612
613
613
:param int octaves:
@@ -723,7 +723,7 @@ def tone(self, value):
723
723
def value (self ):
724
724
"""
725
725
Represents the state of the buzzer as a value between -1 (representing
726
- the minimum note ) and 1 (representing the maximum note ). This can also
726
+ the minimum tone ) and 1 (representing the maximum tone ). This can also
727
727
be the special value :data:`None` indicating that the buzzer is
728
728
currently silent.
729
729
"""
@@ -760,7 +760,7 @@ def is_active(self):
760
760
@property
761
761
def octaves (self ):
762
762
"""
763
- The number of octaves available (above and below mid_note ).
763
+ The number of octaves available (above and below mid_tone ).
764
764
"""
765
765
return self ._octaves
766
766
You can’t perform that action at this time.
0 commit comments