jdxi_editor.core.synth.factory

Synth Factory

Functions

create_synth_data(synth_type[, partial_number]) → Union[jdxi_editor.core.synth.analog.AnalogSynthData, jdxi_editor.core.synth.drum.DrumSynthData, jdxi_editor.core.synth.digital.DigitalSynthData, None]

Factory function to create synth data based on the synth type and partial number.

Module Contents

jdxi_editor.core.synth.factory.create_synth_data(synth_type: str, partial_number: int = 0) → jdxi_editor.core.synth.analog.AnalogSynthData | jdxi_editor.core.synth.drum.DrumSynthData | jdxi_editor.core.synth.digital.DigitalSynthData | None[source]

Factory function to create synth data based on the synth type and partial number.

Parameters:
  • synth_type – str

  • partial_number – int

Returns:

JDXISynthData