Conversions
Module-level functions that turn Live content from one form into another — audio clips into MIDI, audio clips into a Drum Rack, drum pads into a new MIDI track, and audio clips into Simpler-backed MIDI tracks.
AudioToMidiType
Section titled “AudioToMidiType”Members
Section titled “Members”harmony_to_midi | 0 |
melody_to_midi | 1 |
drums_to_midi | 2 |
Functions
Section titled “Functions”audio_to_midi_clip()
Section titled “audio_to_midi_clip()”- song: Song
- audio_clip: Clip
- audio_to_midi_type: AudioToMidiType | intProbed as
inthigh confidence- schema applied per the enum-arg convention (see schema header).
- sister method
AudioToMidiTypeenum lives in the same module; the arg nameaudio_to_midi_typeis the direct snake-case of the enum class name.
Creates a MIDI clip in a new MIDI track with the notes extracted from the given audio_clip. The audio_to_midi_type decides which algorithm is used in the process. Raises error when called with an inconvertible clip or invalid audio_to_midi_type.
From Live’s runtime docstring.
create_drum_rack_from_audio_clip()
Section titled “create_drum_rack_from_audio_clip()”Creates a new track with a drum rack with a simpler on the first pad with the specified audio clip. From Live’s runtime docstring.
create_midi_track_from_drum_pad()
Section titled “create_midi_track_from_drum_pad()”Creates a new Midi track containing the specified Drum Pad’s device chain. From Live’s runtime docstring.
create_midi_track_with_simpler()
Section titled “create_midi_track_with_simpler()”Creates a new Midi track with a simpler including the specified audio clip. From Live’s runtime docstring.
is_convertible_to_midi()
Section titled “is_convertible_to_midi()”Returns whether audio_clip can be converted to MIDI. Raises error when called with a MIDI clip
From Live’s runtime docstring.
move_devices_on_track_to_new_drum_rack_pad()
Section titled “move_devices_on_track_to_new_drum_rack_pad()”- song: Song
- track_index: int
LomObjecthigh confidence- M4L docs list the return as
DrumPad / None. The function moves devices INTO a drum rack pad and returns that pad; theNonehalf of the union covers the no-op path that the M4L doc names.
Moves the entire device chain of the track according to the track index onto the C1 (note 36) drum pad of a new drum rack in a new track.If the track associated with the track index does not contain any devices nothing changes (i.e. a new track and new drum rack are not created). From Live’s runtime docstring.
sliced_simpler_to_drum_rack()
Section titled “sliced_simpler_to_drum_rack()”- song: Song
- simpler: SimplerDevice
Converts the Simpler into a Drum Rack, assigning each slice to a drum pad. Calling it on a non-sliced simpler raises an error. From Live’s runtime docstring.
This is an independent reference site. Not affiliated with, endorsed by, or sponsored by Ableton AG. “Ableton”, “Live”, “Push”, and related marks are trademarks of Ableton AG.