scamp.settings

Module containing the main settings classes: PlaybackSettings, QuantizationSettings, and EngravingSettings, as well as TempoSettings and GlissandiSettings, which are part of EngravingSettings. A module-level instance for each (playback_settings, quantization_settings, and engraving_settings) is loaded from JSON configuration files within within the settings directory of the scamp package. These instances are part of the global scamp namespace, and contain scamp’s default configuration.

Classes

EngravingSettings(settings_dict)

Namespace containing the settings relevant to the engraving of scores.

GlissandiSettings(settings_dict)

Namespace containing the settings relevant to the engraving of glissandi.

PlaybackSettings(settings_dict)

Namespace containing the settings relevant to playback implementation and adjustments.

QuantizationSettings(settings_dict)

Namespace containing the settings relevant to the quantization of Performances in preparation for Score creation.

TempoSettings(settings_dict)

Namespace containing the settings relevant to the engraving of tempo changes.

Functions

restore_all_factory_defaults([persist])

Restores all settings back to their “factory defaults” (the defaults when SCAMP was installed).

Attributes

engraving_settings

Instance of EngravingSettings containing the actual engraving defaults to be consulted

playback_settings

Instance of PlaybackSettings containing the actual playback defaults to be consulted

quantization_settings

Instance of QuantizationSettings containing the actual quantization defaults to be consulted