Skip to content

APC64.render_to_clip

Module constants

  • MIN_CLIP_LENGTH = 0.25
  • WRAPPED_NOTE_OFFSET = 0.01
  • PPQN_FACTOR = 96
  • START_MSG_LENGTH = 4
  • CLIP_LENGTH_SLICE
  • PAYLOAD_START_INDEX = 2
  • NOTE_DATA_LENGTH = 4
  • POSITION_AND_TYPE_SLICE
  • PITCH_INDEX = 2
  • VELOCITY_INDEX = 3
  • EVENT_TYPE_BIT = 13

Classes

class FirmwareNoteSpecification(NamedTuple)

Bases: NamedTuple

class RenderToClipComponent(Component, Renderable)

Bases: Component, Renderable

__init__(self, target_track, *a, **k)

start_control(self, values, _)

data_control(self, values, _)

end_control(self, *_)

_get_slot_for_clip(self)

Functions

sum_bytes(data_bytes)

to_absolute_beat_time(ppqn_value)

get_clip_length(data_bytes)

get_notes_to_render(note_ons, note_offs, clip_length)

wrap_note(note_on, note_off, clip_length)

get_firmware_note_data(data_bytes)

get_firmware_note_specification(data_bytes)