synthSettingsRing module

class synthSettingsRing.SynthSetting(*args, **kwargs)

Bases: AutoPropertyObject

a numeric synth setting. Has functions to set, get, increase and decrease its value

first() str

Sets the value of the current synth setting to the first value.

last() str

Sets the value of the current synth setting to the last value.

increase()
increaseLarge() str

Increases the value of the current synth setting by a larger step.

decrease()
decreaseLarge() str

Decreases the value of the current synth setting by a larger step.

_get_value()
_set_value(value)
_getReportValue(val)
_get_reportValue()
_abc_impl = <_abc._abc_data object>
reportValue
property value
_propertyCache: Set[Callable[[AutoPropertyObject], Any]]
class synthSettingsRing.StringSynthSetting(*args, **kwargs)

Bases: SynthSetting

_get__values()
_get_max()
_set_max(value)
_get_value()
_set_value(value)

Overridden to use code that supports updating speech dicts when changing voice

_getReportValue(val)
_abc_impl = <_abc._abc_data object>
_values
property max
property value
_propertyCache: Set[Callable[[AutoPropertyObject], Any]]
class synthSettingsRing.BooleanSynthSetting(*args, **kwargs)

Bases: SynthSetting

_get_value()
_set_value(val)
_getReportValue(val)
_abc_impl = <_abc._abc_data object>
property value
_propertyCache: Set[Callable[[AutoPropertyObject], Any]]
class synthSettingsRing.SynthSettingsRing(*args, **kwargs)

Bases: AutoPropertyObject

A synth settings ring which enables the user to change to the next and previous settings, as well as adjust the selected one.

settings: list[SynthSetting] | None
_get_currentSettingName()

returns the current setting’s name

_get_currentSettingValue()
_set_currentSettingValue(value: Any)
next()

changes to the next setting and returns its name

previous()
first() str | None

set the current setting to the first value

last() str | None

set the current setting to the last value

increase()

increases the currentSetting and returns its new value

increaseLarge() str | None

increases the currentSetting in a larger step, (20 items, 20%) and returns its new value

decrease()

decreases the currentSetting and returns its new value

decreaseLarge() str | None

Decreases the currentSetting in a larger step, (20 items, 20%) and returns its new value

updateSupportedSettings(synth)
_abc_impl = <_abc._abc_data object>
currentSettingName
property currentSettingValue