Module synthDriverHandler :: Class NumericSynthSetting
[hide private]
[frames] | no frames]

Class NumericSynthSetting

source code

  object --+    
           |    
SynthSetting --+
               |
              NumericSynthSetting

Represents a numeric synthesizer setting such as rate, volume or pitch.

Instance Methods [hide private]
 
__init__(self, name, i18nName, availableInSynthSettingsRing=True, minStep=1, normalStep=5, largeStep=10)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  configSpec = "integer(default=50,min=0,max=100)"
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, i18nName, availableInSynthSettingsRing=True, minStep=1, normalStep=5, largeStep=10)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • minStep (int) - Specifies the minimum step between valid values for each numeric setting. For example, if minStep is set to 10, setting values can only be multiples of 10; 10, 20, 30, etc.
  • normalStep (int) - Specifies the step between values that a user will normally prefer. This is used in the settings ring.
  • largeStep (int) - Specifies the step between values if a large adjustment is desired. This is used for pageUp/pageDown on sliders in the Voice Settings dialog.
Overrides: object.__init__

Note: If necessary, the step values will be normalised so that minStep <= normalStep <= largeStep.