jdxi_editor.midi.wave.form

This module defines the Waveform enum, which represents the different waveform types available on the JD-Xi.

Constants:
  • OSC_WAVE_SAW: Sawtooth waveform

  • OSC_WAVE_SQUARE: Square waveform

  • OSC_WAVE_TRIANGLE: Triangle waveform

  • OSC_WAVE_SINE: Sine waveform

  • OSC_WAVE_NOISE: Noise waveform

  • OSC_WAVE_SUPER_SAW: Super saw waveform

  • OSC_WAVE_PCM: PCM waveform

Usage Example:
>>> waveform = Waveform.SAW
>>> waveform.midi_value
0x00
>>> Waveform.from_midi_value(0x00)
Waveform.SAW

Attributes

OSC_WAVE_SAW

OSC_WAVE_SQUARE

OSC_WAVE_TRIANGLE

OSC_WAVE_SINE

OSC_WAVE_NOISE

OSC_WAVE_SUPER_SAW

OSC_WAVE_PCM

Classes

Waveform

Waveform types available on the JD-Xi

Module Contents

jdxi_editor.midi.wave.form.OSC_WAVE_SAW = 0[source]
jdxi_editor.midi.wave.form.OSC_WAVE_SQUARE = 1[source]
jdxi_editor.midi.wave.form.OSC_WAVE_TRIANGLE = 2[source]
jdxi_editor.midi.wave.form.OSC_WAVE_SINE = 3[source]
jdxi_editor.midi.wave.form.OSC_WAVE_NOISE = 4[source]
jdxi_editor.midi.wave.form.OSC_WAVE_SUPER_SAW = 5[source]
jdxi_editor.midi.wave.form.OSC_WAVE_PCM = 6[source]
class jdxi_editor.midi.wave.form.Waveform[source]

Bases: enum.Enum

Waveform types available on the JD-Xi

SAW = 1[source]
SQUARE = 2[source]
TRIANGLE = 3[source]
SINE = 4[source]
NOISE = 5[source]
SUPER_SAW = 6[source]
PCM = 7[source]
property display_name: str[source]

Get display name for waveform

property midi_value: int[source]

Get MIDI value for waveform

classmethod from_midi_value(value: int) Waveform[source]

Create Waveform from MIDI value