SettingKeys

public class SettingKeys

Container to place SettingKey definitions (as class members)

  • The number of days to wait after the first launch of the app before asking for a review

    Declaration

    Swift

    public static let daysAfterFirstLaunchBeforeRequest: SettingKey<Int>
  • The number of months to wait between review requests

    Declaration

    Swift

    public static let monthsAfterLastReviewBeforeRequest: SettingKey<Int>
  • The date of the first launch (not saved across reinstalls)

    Declaration

    Swift

    public static let firstLaunchDate: SettingKey<Date>
  • The date of the last review request

    Declaration

    Swift

    public static let lastReviewRequestDate: SettingKey<Date>
  • The version of the app for the last review request

    Declaration

    Swift

    public static let lastReviewRequestVersion: SettingKey<String>
  • Current keyboard key labeling

    Declaration

    Swift

    public static let keyLabelOption: SettingKey<Int>
  • Current keyboard key width

    Declaration

    Swift

    public static let keyWidth: SettingKey<Float>
  • The last active preset/patch

    Declaration

    Swift

    public static let lastActivePatch: SettingKey<Data>
  • The lowest note on the keyboard that is currently visible

    Declaration

    Swift

    public static let lowestKeyNote: SettingKey<Int>
  • When true, play a sound when changing the active preset

    Declaration

    Swift

    public static let playSample: SettingKey<Bool>
  • When true, the upper view is showing the favorites. Used to restore the app to the last view.

    Declaration

    Swift

    public static let showingFavorites: SettingKey<Bool>
  • When true, show a solfege label when a note is played

    Declaration

    Swift

    public static let showSolfegeLabel: SettingKey<Bool>
  • When true, copy an SF2 file into the application’s folder when the file is added to the app.

    Declaration

    Swift

    public static let copyFilesWhenAdding: SettingKey<Bool>
  • When true, allow finger movements on the keyboard to slide the keyboard to a new position

    Declaration

    Swift

    public static let slideKeyboard: SettingKey<Bool>
  • The current MIDI channel to use for incoming MIDI events. OMNI mode is a value of -1 (default).

    Declaration

    Swift

    public static let midiChannel: SettingKey<Int>
  • The MIDI virtual destination ID (not usser settable)

    Declaration

    Swift

    public static let midiVirtualDestinationId: SettingKey<Int32>
  • If true, the reverb AU is currently active

    Declaration

    Swift

    public static let reverbEnabled: SettingKey<Bool>
  • If true, the reverb AU is globally active

    Declaration

    Swift

    public static let reverbGlobal: SettingKey<Bool>
  • The current reverb preset being used

    Declaration

    Swift

    public static let reverbPreset: SettingKey<Int>
  • The current reverb mix setting

    Declaration

    Swift

    public static let reverbWetDryMix: SettingKey<Float>
  • If true, the delay AU is currently active

    Declaration

    Swift

    public static let delayEnabled: SettingKey<Bool>
  • If true, the delay AU is globally active

    Declaration

    Swift

    public static let delayGlobal: SettingKey<Bool>
  • The current delay amount in seconds

    Declaration

    Swift

    public static let delayTime: SettingKey<Float>
  • The current feedback setting between -100% and 100%

    Declaration

    Swift

    public static let delayFeedback: SettingKey<Float>
  • The current low-pass cutoff value for the delay effect

    Declaration

    Swift

    public static let delayCutoff: SettingKey<Float>
  • The current delay mix setting

    Declaration

    Swift

    public static let delayWetDryMix: SettingKey<Float>
  • When true, the effects panel is visible. Used to restore UI state when relaunching the app.

    Declaration

    Swift

    public static let showEffects: SettingKey<Bool>
  • The currently active font tag

    Declaration

    Swift

    public static let activeTagKey: SettingKey<LegacyTag.Key>
  • The global tuning setting that is in effect

    Declaration

    Swift

    public static let globalTuning: SettingKey<Float>
  • When true, global tuning is active

    Declaration

    Swift

    public static let globalTuningEnabled: SettingKey<Bool>
  • When true, the user has viewed the tutorial pages

    Declaration

    Swift

    public static let showedTutorial: SettingKey<Bool>
  • When true, the user has viewed the changes page

    Declaration

    Swift

    public static let showedChanges: SettingKey<String>
  • The current scale factor that controls how much of the presets view to show in comparison to the fonts view

    Declaration

    Swift

    public static let presetsWidthMultiplier: SettingKey<Double>
  • The number of semitones a max pitch bend will cause in a playing note

    Declaration

    Swift

    public static let pitchBendRange: SettingKey<Int>
  • When true, the user has seen the prompt on how to restore hidden presets

    Declaration

    Swift

    public static let showedHidePresetPrompt: SettingKey<Bool>