jdxi_editor.midi.utils.helpers

Functions

on_usb_recording_finished(output_file)

on_recording_finished

on_usb_recording_error(message)

on_recording_error

start_recording(→ None)

start_recording

Module Contents

jdxi_editor.midi.utils.helpers.on_usb_recording_finished(output_file: str)[source]

on_recording_finished

Parameters:

output_file – str

Returns:

None

jdxi_editor.midi.utils.helpers.on_usb_recording_error(message: str)[source]

on_recording_error

Parameters:

message – str

Returns:

None

jdxi_editor.midi.utils.helpers.start_recording(usb_recorder: jdxi_editor.midi.utils.usb_recorder.USBRecorder, file_duration_seconds: float, usb_file_output_name: str, recording_rate: int, selected_index: int) None[source]

start_recording

Parameters:
  • usb_file_output_name – str

  • file_duration_seconds – float

  • usb_recorder – USBRecorder

  • recording_rate – int

  • selected_index – int

Returns:

None

Start the recording thread with the selected device index and recording rate.