jdxi_editor.globals

Global configuration and settings for JD-Xi Editor.

Attributes

settings

LOGGING

SILENCE_MIDI_NOTE_LOGGING_KEY

MIDI_SELECTION_VALIDATION_KEY

LILYPOND_ENABLED_KEY

LILYPOND_ENABLED_DEFAULT

PROFILING

logger

LOG_PADDING_WIDTH

BASE_DIR

Functions

_settings_bool(key, default) → bool

silence_midi_note_logging() → bool

True if the user has chosen to silence logging of MIDI note on/off messages. Default True (silence).

lilypond_enabled() → bool

True if LilyPond PDF export is enabled in Preferences → Advanced. Default True.

Module Contents

jdxi_editor.globals.settings[source]
jdxi_editor.globals.LOGGING = False[source]
jdxi_editor.globals.SILENCE_MIDI_NOTE_LOGGING_KEY = 'silence_midi_note_logging'[source]
jdxi_editor.globals.MIDI_SELECTION_VALIDATION_KEY = 'midi_selection_validation_enabled'[source]
jdxi_editor.globals.LILYPOND_ENABLED_KEY = 'advanced/lilypond_enabled'[source]
jdxi_editor.globals.LILYPOND_ENABLED_DEFAULT = False[source]
jdxi_editor.globals._settings_bool(key: str, default: bool) → bool[source]
jdxi_editor.globals.silence_midi_note_logging() → bool[source]

True if the user has chosen to silence logging of MIDI note on/off messages. Default True (silence).

jdxi_editor.globals.lilypond_enabled() → bool[source]

True if LilyPond PDF export is enabled in Preferences → Advanced. Default True.

jdxi_editor.globals.PROFILING = True[source]
jdxi_editor.globals.logger[source]
jdxi_editor.globals.LOG_PADDING_WIDTH = 55[source]
jdxi_editor.globals.BASE_DIR[source]