def __init__(self, z48): self.sampler = z48 self.query_cmd = Command('_', '\x00\x00', 'sysextools', 'query', (), None) self.enable_msg_notification_cmd = Command( '_', '\x00\x01', 'sysextools', 'enable_msg_notification', (aksy.devices.akai.sysex_types.BOOL, ), None) self.enable_item_sync_cmd = Command( '_', '\x00\x03', 'sysextools', 'enable_item_sync', (aksy.devices.akai.sysex_types.BOOL, ), None) self.enable_checksum_verification_cmd = Command( '_', '\x00\x04', 'sysextools', 'enable_checksum_verification', (aksy.devices.akai.sysex_types.BOOL, ), None) self.enable_screen_updates_cmd = Command( '_', '\x00\x05', 'sysextools', 'enable_screen_updates', (aksy.devices.akai.sysex_types.BOOL, ), None) self.echo_cmd = Command('_', '\x00\x06', 'sysextools', 'echo', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.enable_heartbeat_cmd = Command('_', '\x00\x07', 'sysextools', 'enable_heartbeat', (), None) self.enable_playback_sync_cmd = Command( '_', '\x00\x08', 'sysextools', 'enable_playback_sync', (aksy.devices.akai.sysex_types.BOOL, ), None) self.get_sysex_buffersize_cmd = Command('_', '\x00\x10', 'sysextools', 'get_sysex_buffersize', (), None)
def __init__(self, s56k): self.sampler = s56k self.rename_cmd = Command('^', '\x0c\x30', 'multitools', 'rename', (aksy.devices.akai.sysex_types.STRING, ), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_no_items_cmd = Command( '^', '\x0c\x40', 'multitools', 'get_no_items', (), (aksy.devices.akai.sysex_types.CWORD, ), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_curr_handle_cmd = Command( '^', '\x0c\x42', 'multitools', 'get_curr_handle', (), (aksy.devices.akai.sysex_types.CWORD, ), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_curr_name_cmd = Command( '^', '\x0c\x43', 'multitools', 'get_curr_name', (), (aksy.devices.akai.sysex_types.STRINGARRAY, ), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_names_cmd = Command( '^', '\x0c\x51', 'multitools', 'get_names', (), (aksy.devices.akai.sysex_types.STRINGARRAY, ), aksy.devices.akai.sysex_types.S56K_USERREF) self.set_curr_by_handle_cmd = Command( '^', '\x0c\x06', 'multitools', 'set_curr_by_handle', (aksy.devices.akai.sysex_types.CWORD, ), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.set_curr_by_name_cmd = Command( '^', '\x0c\x05', 'multitools', 'set_curr_by_name', (aksy.devices.akai.sysex_types.STRING, ), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.delete_all_cmd = Command( '^', '\x0c\x07', 'multitools', 'delete_all', (), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.delete_curr_cmd = Command( '^', '\x0c\x08', 'multitools', 'delete_curr', (), (), aksy.devices.akai.sysex_types.S56K_USERREF)
def __init__(self, connector): self.connector = connector self.mouseclick_at_screen_cmd = Command( '_', '\x2C\x20', 'frontpaneltools', 'mouseclick_at_screen', (aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.WORD), None) self.mousedoubleclick_at_screen_cmd = Command( '_', '\x2C\x21', 'frontpaneltools', 'mousedoubleclick_at_screen', (aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.WORD), None) self.keypress_hold_cmd = Command( '_', '\x2C\x01', 'frontpaneltools', 'keypress_hold', (aksy.devices.akai.sysex_types.BYTE, ), None) self.keypress_release_cmd = Command( '_', '\x2C\x02', 'frontpaneltools', 'keypress_release', (aksy.devices.akai.sysex_types.BYTE, ), None) self.move_datawheel_cmd = Command( '_', '\x2C\x03', 'frontpaneltools', 'move_datawheel', (aksy.devices.akai.sysex_types.SBYTE, ), None) self.set_qlink_control_cmd = Command( '_', '\x2C\x04', 'frontpaneltools', 'set_qlink_control', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.ascii_keypress_hold_cmd = Command( '_', '\x2C\x10', 'frontpaneltools', 'ascii_keypress_hold', (aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.WORD), None) self.ascii_keypress_release_cmd = Command( '_', '\x2C\x11', 'frontpaneltools', 'ascii_keypress_release', (aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.WORD), None) self.get_panel_state_cmd = aksy.devices.akai.sysex.Command( '', '', 'frontpaneltools', 'get_panel_state', (), None)
def __init__(self, s56k): self.sampler = s56k self.set_curr_by_name_cmd = Command('^', '\x16\x05', 'songtools', 'set_curr_by_name', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.set_curr_by_handle_cmd = Command('^', '\x16\x06', 'songtools', 'set_curr_by_handle', (aksy.devices.akai.sysex_types.CWORD,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.delete_curr_cmd = Command('^', '\x16\x08', 'songtools', 'delete_curr', (), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.rename_cmd = Command('^', '\x16\x09', 'songtools', 'rename', (), (aksy.devices.akai.sysex_types.STRING,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_no_items_cmd = Command('^', '\x16\x10', 'songtools', 'get_no_items', (), (aksy.devices.akai.sysex_types.CWORD,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_name_by_handle_cmd = Command('^', '\x16\x11', 'songtools', 'get_name_by_handle', (aksy.devices.akai.sysex_types.CWORD,), (aksy.devices.akai.sysex_types.STRINGARRAY,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_curr_handle_cmd = Command('^', '\x16\x13', 'songtools', 'get_curr_handle', (), (aksy.devices.akai.sysex_types.CWORD,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_curr_name_cmd = Command('^', '\x16\x14', 'songtools', 'get_curr_name', (), (aksy.devices.akai.sysex_types.STRINGARRAY,), aksy.devices.akai.sysex_types.S56K_USERREF)
def __init__(self, z48): self.sampler = z48 self.get_no_items_cmd = Command('_', '\x1C\x01', 'sampletools', 'get_no_items', (), None) self.get_handles_cmd = Command('_', '\x1C\x02\x00', 'sampletools', 'get_handles', (), None) self.get_names_cmd = Command('_', '\x1C\x02\x01', 'sampletools', 'get_names', (), None) self.get_handles_names_cmd = Command('_', '\x1C\x02\x02', 'sampletools', 'get_handles_names', (), None) self.get_handles_modified_cmd = Command( '_', '\x1C\x02\x03', 'sampletools', 'get_handles_modified', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_curr_by_handle_cmd = Command( '_', '\x1C\x03', 'sampletools', 'set_curr_by_handle', (aksy.devices.akai.sysex_types.DWORD, ), None) self.set_curr_by_name_cmd = Command( '_', '\x1C\x04', 'sampletools', 'set_curr_by_name', (aksy.devices.akai.sysex_types.STRING, ), None) self.get_curr_handle_cmd = Command('_', '\x1C\x05', 'sampletools', 'get_curr_handle', (), None) self.get_curr_name_cmd = Command('_', '\x1C\x06', 'sampletools', 'get_curr_name', (), None) self.get_name_by_handle_cmd = Command( '_', '\x1C\x07', 'sampletools', 'get_name_by_handle', (aksy.devices.akai.sysex_types.DWORD, ), None) self.get_handle_by_name_cmd = Command( '_', '\x1C\x08', 'sampletools', 'get_handle_by_name', (aksy.devices.akai.sysex_types.STRING, ), None) self.delete_all_cmd = Command('_', '\x1C\x09', 'sampletools', 'delete_all', (), None) self.delete_curr_cmd = Command('_', '\x1C\x0A', 'sampletools', 'delete_curr', (), None) self.delete_by_handle_cmd = Command( '_', '\x1C\x0B', 'sampletools', 'delete_by_handle', (aksy.devices.akai.sysex_types.DWORD, ), None) self.rename_curr_cmd = Command( '_', '\x1C\x0C', 'sampletools', 'rename_curr', (aksy.devices.akai.sysex_types.STRING, ), None) self.rename_by_handle_cmd = Command( '_', '\x1C\x0D', 'sampletools', 'rename_by_handle', (aksy.devices.akai.sysex_types.DWORD, aksy.devices.akai.sysex_types.STRING), None) self.set_tag_bit_cmd = Command('_', '\x1C\x0E', 'sampletools', 'set_tag_bit', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_tag_bitmap_cmd = Command('_', '\x1C\x0F', 'sampletools', 'get_tag_bitmap', (), None) self.get_curr_modified_cmd = Command('_', '\x1C\x10', 'sampletools', 'get_curr_modified', (), None) self.get_modified_cmd = Command('_', '\x1C\x11', 'sampletools', 'get_modified', (), None) self.delete_tagged_cmd = Command( '_', '\x1C\x18', 'sampletools', 'delete_tagged', (aksy.devices.akai.sysex_types.BYTE, ), None) self.play_cmd = Command('_', '\x1C\x40', 'sampletools', 'play', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.stop_cmd = Command('_', '\x1C\x41', 'sampletools', 'stop', (), None) self.play_until_cmd = Command('_', '\x1C\x42', 'sampletools', 'play_until', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.play_from_cmd = Command('_', '\x1C\x43', 'sampletools', 'play_from', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.play_over_cmd = Command('_', '\x1C\x44', 'sampletools', 'play_over', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.play_loop_cmd = Command('_', '\x1C\x45', 'sampletools', 'play_loop', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.play_region_cmd = Command('_', '\x1C\x46', 'sampletools', 'play_region', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.create_loop_cmd = Command('_', '\x1C\x48', 'sampletools', 'create_loop', (), None) self.delete_loop_cmd = Command('_', '\x1C\x49', 'sampletools', 'delete_loop', (aksy.devices.akai.sysex_types.BYTE, ), None) self.create_region_cmd = Command('_', '\x1C\x4A', 'sampletools', 'create_region', (), None) self.delete_region_cmd = Command( '_', '\x1C\x4B', 'sampletools', 'delete_region', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_group_id_cmd = Command('_', '\x1F\x01', 'sampletools', 'get_group_id', (), None) self.get_trim_start_cmd = Command('_', '\x1F\x20', 'sampletools', 'get_trim_start', (), None) self.get_trim_end_cmd = Command('_', '\x1F\x21', 'sampletools', 'get_trim_end', (), None) self.get_trim_length_cmd = Command('_', '\x1F\x22', 'sampletools', 'get_trim_length', (), None) self.get_orig_pitch_cmd = Command('_', '\x1F\x24', 'sampletools', 'get_orig_pitch', (), None) self.get_cents_tune_cmd = Command('_', '\x1F\x25', 'sampletools', 'get_cents_tune', (), None) self.get_playback_mode_cmd = Command('_', '\x1F\x26', 'sampletools', 'get_playback_mode', (), None) self.get_loop_start_cmd = Command( '_', '\x1F\x30', 'sampletools', 'get_loop_start', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_loop_end_cmd = Command('_', '\x1F\x31', 'sampletools', 'get_loop_end', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_loop_length_cmd = Command( '_', '\x1F\x32', 'sampletools', 'get_loop_length', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_loop_lock_cmd = Command( '_', '\x1F\x33', 'sampletools', 'get_loop_lock', (aksy.devices.akai.sysex_types.BOOL, ), None) self.get_loop_tune_cmd = Command( '_', '\x1F\x34', 'sampletools', 'get_loop_tune', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_loop_dir_cmd = Command('_', '\x1F\x35', 'sampletools', 'get_loop_dir', (aksy.devices.akai.sysex_types.BOOL, ), None) self.get_loop_type_cmd = Command( '_', '\x1F\x36', 'sampletools', 'get_loop_type', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_no_loop_reps_cmd = Command( '_', '\x1F\x37', 'sampletools', 'get_no_loop_reps', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_no_loops_cmd = Command('_', '\x1F\x38', 'sampletools', 'get_no_loops', (), None) self.get_region_start_cmd = Command('_', '\x1F\x40', 'sampletools', 'get_region_start', (), None) self.get_region_end_cmd = Command( '_', '\x1F\x41', 'sampletools', 'get_region_end', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_region_length_cmd = Command('_', '\x1F\x42', 'sampletools', 'get_region_length', (), None) self.get_no_regions_cmd = Command('_', '\x1F\x44', 'sampletools', 'get_no_regions', (), None) self.get_sample_length_cmd = Command('_', '\x1F\x50', 'sampletools', 'get_sample_length', (), None) self.get_sample_rate_cmd = Command('_', '\x1F\x51', 'sampletools', 'get_sample_rate', (), None) self.get_bit_depth_cmd = Command('_', '\x1F\x52', 'sampletools', 'get_bit_depth', (), None) self.get_sample_type_cmd = Command('_', '\x1F\x54', 'sampletools', 'get_sample_type', (), None) self.get_no_channels_cmd = Command('_', '\x1F\x55', 'sampletools', 'get_no_channels', (), None) self.set_group_id_cmd = Command('_', '\x1E\x01', 'sampletools', 'set_group_id', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_trim_start_cmd = Command( '_', '\x1E\x20', 'sampletools', 'set_trim_start', (aksy.devices.akai.sysex_types.QWORD, ), None) self.set_trim_end_cmd = Command( '_', '\x1E\x21', 'sampletools', 'set_trim_end', (aksy.devices.akai.sysex_types.QWORD, ), None) self.set_trim_length_cmd = Command( '_', '\x1E\x22', 'sampletools', 'set_trim_length', (aksy.devices.akai.sysex_types.QWORD, ), None) self.set_orig_pitch_cmd = Command( '_', '\x1E\x24', 'sampletools', 'set_orig_pitch', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_tune_cmd = Command('_', '\x1E\x25', 'sampletools', 'set_tune', (aksy.devices.akai.sysex_types.SWORD, ), None) self.set_playback_mode_cmd = Command( '_', '\x1E\x26', 'sampletools', 'set_playback_mode', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_loop_start_cmd = Command( '_', '\x1E\x30', 'sampletools', 'set_loop_start', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.set_loop_end_cmd = Command('_', '\x1E\x31', 'sampletools', 'set_loop_end', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.set_loop_length_cmd = Command( '_', '\x1E\x32', 'sampletools', 'set_loop_length', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.set_loop_lock_cmd = Command('_', '\x1E\x33', 'sampletools', 'set_loop_lock', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_loop_tune_cmd = Command('_', '\x1E\x34', 'sampletools', 'set_loop_tune', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.set_loop_direction_cmd = Command( '_', '\x1E\x35', 'sampletools', 'set_loop_direction', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_loop_type_cmd = Command('_', '\x1E\x36', 'sampletools', 'set_loop_type', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_no_loop_reps_cmd = Command( '_', '\x1E\x37', 'sampletools', 'set_no_loop_reps', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_region_start_cmd = Command( '_', '\x1E\x40', 'sampletools', 'set_region_start', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.set_region_end_cmd = Command( '_', '\x1E\x41', 'sampletools', 'set_region_end', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None) self.set_region_length_cmd = Command( '_', '\x1E\x42', 'sampletools', 'set_region_length', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.QWORD), None)
def __init__(self, z48): self.sampler = z48 self.set_curr_keygroup_cmd = Command( '_', '\x10\x01', 'keygrouptools', 'set_curr_keygroup', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_curr_keygroup_cmd = Command('_', '\x10\x02', 'keygrouptools', 'get_curr_keygroup', (), None) self.get_group_id_cmd = Command('_', '\x13\x01', 'keygrouptools', 'get_group_id', (), None) self.get_edit_mode_cmd = Command('_', '\x13\x02', 'keygrouptools', 'get_edit_mode', (), None) self.get_low_note_cmd = Command('_', '\x13\x04', 'keygrouptools', 'get_low_note', (), None) self.get_high_note_cmd = Command('_', '\x13\x05', 'keygrouptools', 'get_high_note', (), None) self.get_mute_group_cmd = Command('_', '\x13\x06', 'keygrouptools', 'get_mute_group', (), None) self.get_fx_override_cmd = Command('_', '\x13\x07', 'keygrouptools', 'get_fx_override', (), None) self.get_fx_send_level_cmd = Command('_', '\x13\x08', 'keygrouptools', 'get_fx_send_level', (), None) self.get_zone_xfade_cmd = Command('_', '\x13\x09', 'keygrouptools', 'get_zone_xfade', (), None) self.get_zone_xfade_type_cmd = Command('_', '\x13\x0A', 'keygrouptools', 'get_zone_xfade_type', (), None) self.get_polyphony_cmd = Command('_', '\x13\x0E', 'keygrouptools', 'get_polyphony', (), None) self.get_zone_xfade_ctrl_no_cmd = Command('_', '\x13\x0F', 'keygrouptools', 'get_zone_xfade_ctrl_no', (), None) self.get_tune_cmd = Command('_', '\x13\x10', 'keygrouptools', 'get_tune', (), None) self.get_level_cmd = Command('_', '\x13\x11', 'keygrouptools', 'get_level', (), None) self.get_play_trigger_cmd = Command('_', '\x13\x18', 'keygrouptools', 'get_play_trigger', (), None) self.get_play_trigger_velocity_cmd = Command( '_', '\x13\x19', 'keygrouptools', 'get_play_trigger_velocity', (), None) self.get_play_toggle_note_cmd = Command('_', '\x13\x1A', 'keygrouptools', 'get_play_toggle_note', (), None) self.get_filter_cmd = Command('_', '\x13\x20', 'keygrouptools', 'get_filter', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_filter_cutoff_cmd = Command( '_', '\x13\x21', 'keygrouptools', 'get_filter_cutoff', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_filter_resonance_cmd = Command( '_', '\x13\x22', 'keygrouptools', 'get_filter_resonance', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_filter_attenuation_cmd = Command('_', '\x13\x23', 'keygrouptools', 'get_filter_attenuation', (), None) self.get_envelope_rate1_cmd = Command( '_', '\x13\x30', 'keygrouptools', 'get_envelope_rate1', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_level1_cmd = Command( '_', '\x13\x31', 'keygrouptools', 'get_envelope_level1', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_rate2_cmd = Command( '_', '\x13\x32', 'keygrouptools', 'get_envelope_rate2', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_level2_cmd = Command( '_', '\x13\x33', 'keygrouptools', 'get_envelope_level2', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_rate3_cmd = Command( '_', '\x13\x34', 'keygrouptools', 'get_envelope_rate3', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_level3_cmd = Command( '_', '\x13\x35', 'keygrouptools', 'get_envelope_level3', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_rate4_cmd = Command( '_', '\x13\x36', 'keygrouptools', 'get_envelope_rate4', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_level4_cmd = Command( '_', '\x13\x37', 'keygrouptools', 'get_envelope_level4', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_envelope_reference_cmd = Command( '_', '\x13\x42', 'keygrouptools', 'get_envelope_reference', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_attack_hold_cmd = Command('_', '\x13\x43', 'keygrouptools', 'get_attack_hold', (), None) self.get_lfo_rate_cmd = Command('_', '\x13\x50', 'keygrouptools', 'get_lfo_rate', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_delay_cmd = Command( '_', '\x13\x51', 'keygrouptools', 'get_lfo_delay', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_depth_cmd = Command('_', '\x13\x52', 'keygrouptools', 'get_lfo_depth', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_lfo_waveform_cmd = Command( '_', '\x13\x53', 'keygrouptools', 'get_lfo_waveform', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_phase_cmd = Command( '_', '\x13\x54', 'keygrouptools', 'get_lfo_phase', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_shift_cmd = Command( '_', '\x13\x55', 'keygrouptools', 'get_lfo_shift', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_midi_sync_cmd = Command( '_', '\x13\x56', 'keygrouptools', 'get_lfo_midi_sync', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_midi_clock_sync_div_cmd = Command( '_', '\x13\x57', 'keygrouptools', 'get_midi_clock_sync_div', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_retrigger_cmd = Command( '_', '\x13\x58', 'keygrouptools', 'get_lfo_retrigger', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_lfo_sync_cmd = Command('_', '\x13\x59', 'keygrouptools', 'get_lfo_sync', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_group_id_cmd = Command('_', '\x12\x01', 'keygrouptools', 'set_group_id', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_edit_mode_cmd = Command( '_', '\x12\x02', 'keygrouptools', 'set_edit_mode', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_low_note_cmd = Command('_', '\x12\x04', 'keygrouptools', 'set_low_note', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_high_note_cmd = Command( '_', '\x12\x05', 'keygrouptools', 'set_high_note', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_mute_group_cmd = Command( '_', '\x12\x06', 'keygrouptools', 'set_mute_group', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_fx_override_cmd = Command( '_', '\x12\x07', 'keygrouptools', 'set_fx_override', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_fx_send_level_cmd = Command( '_', '\x12\x08', 'keygrouptools', 'set_fx_send_level', (aksy.devices.akai.sysex_types.SWORD, ), None) self.set_zone_xfade_cmd = Command( '_', '\x12\x09', 'keygrouptools', 'set_zone_xfade', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_zone_xfade_type_cmd = Command( '_', '\x12\x0A', 'keygrouptools', 'set_zone_xfade_type', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_polyphony_cmd = Command( '_', '\x12\x0E', 'keygrouptools', 'set_polyphony', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_zone_xfade_ctrl_no_cmd = Command( '_', '\x12\x0F', 'keygrouptools', 'set_zone_xfade_ctrl_no', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_tune_cmd = Command('_', '\x12\x10', 'keygrouptools', 'set_tune', (aksy.devices.akai.sysex_types.SWORD, ), None) self.set_level_cmd = Command('_', '\x12\x11', 'keygrouptools', 'set_level', (aksy.devices.akai.sysex_types.SWORD, ), None) self.set_play_trigger_cmd = Command('_', '\x12\x18', 'keygrouptools', 'set_play_trigger', (), None) self.set_play_trigger_vel_cmd = Command( '_', '\x12\x19', 'keygrouptools', 'set_play_trigger_vel', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_play_toggle_note_cmd = Command( '_', '\x12\x1A', 'keygrouptools', 'set_play_toggle_note', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_filter_cmd = Command('_', '\x12\x20', 'keygrouptools', 'set_filter', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_filter_cutoff_cmd = Command( '_', '\x12\x21', 'keygrouptools', 'set_filter_cutoff', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_filter_resonance_cmd = Command( '_', '\x12\x22', 'keygrouptools', 'set_filter_resonance', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_filter_atten_cmd = Command( '_', '\x12\x23', 'keygrouptools', 'set_filter_atten', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_envelope_rate1_cmd = Command( '_', '\x12\x30', 'keygrouptools', 'set_envelope_rate1', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_level1_cmd = Command( '_', '\x12\x31', 'keygrouptools', 'set_envelope_level1', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_rate2_cmd = Command( '_', '\x12\x32', 'keygrouptools', 'set_envelope_rate2', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_level2_cmd = Command( '_', '\x12\x33', 'keygrouptools', 'set_envelope_level2', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_rate3_cmd = Command( '_', '\x12\x34', 'keygrouptools', 'set_envelope_rate3', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_level3_cmd = Command( '_', '\x12\x35', 'keygrouptools', 'set_envelope_level3', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_rate4_cmd = Command( '_', '\x12\x36', 'keygrouptools', 'set_envelope_rate4', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_level4_cmd = Command( '_', '\x12\x37', 'keygrouptools', 'set_envelope_level4', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_envelope_reference_cmd = Command( '_', '\x12\x42', 'keygrouptools', 'set_envelope_reference', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_attack_hold_cmd = Command( '_', '\x12\x43', 'keygrouptools', 'set_attack_hold', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_lfo_rate_cmd = Command('_', '\x12\x50', 'keygrouptools', 'set_lfo_rate', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_lfo_delay_cmd = Command('_', '\x12\x51', 'keygrouptools', 'set_lfo_delay', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_lfo_depth_cmd = Command('_', '\x12\x52', 'keygrouptools', 'set_lfo_depth', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_lfo_waveform_cmd = Command( '_', '\x12\x53', 'keygrouptools', 'set_lfo_waveform', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_lfo_phase_cmd = Command('_', '\x12\x54', 'keygrouptools', 'set_lfo_phase', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_lfo_shift_cmd = Command('_', '\x12\x55', 'keygrouptools', 'set_lfo_shift', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.set_lfo_midi_sync_cmd = Command( '_', '\x12\x56', 'keygrouptools', 'set_lfo_midi_sync', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_midi_clock_sync_div_cmd = Command( '_', '\x12\x57', 'keygrouptools', 'set_midi_clock_sync_div', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_lfo_retrigger_cmd = Command( '_', '\x12\x58', 'keygrouptools', 'set_lfo_retrigger', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_lfo_sync_cmd = Command('_', '\x12\x59', 'keygrouptools', 'set_lfo_sync', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None)
def __init__(self, z48): self.sampler = z48 self.get_no_items_cmd = Command('_', '\x28\x01', 'songtools', 'get_no_items', (), None) self.get_handles_cmd = Command('_', '\x28\x02\x00', 'songtools', 'get_handles', (), None) self.get_names_cmd = Command('_', '\x28\x02\x01', 'songtools', 'get_names', (), None) self.get_handles_names_cmd = Command('_', '\x28\x02\x02', 'songtools', 'get_handles_names', (), None) self.get_handles_modified_cmd = Command( '_', '\x28\x02\x03', 'songtools', 'get_handles_modified', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_curr_by_handle_cmd = Command( '_', '\x28\x03', 'songtools', 'set_curr_by_handle', (aksy.devices.akai.sysex_types.DWORD, ), None) self.set_curr_by_name_cmd = Command( '_', '\x28\x04', 'songtools', 'set_curr_by_name', (aksy.devices.akai.sysex_types.STRING, ), None) self.get_curr_handle_cmd = Command('_', '\x28\x05', 'songtools', 'get_curr_handle', (), None) self.get_curr_name_cmd = Command('_', '\x28\x06', 'songtools', 'get_curr_name', (), None) self.get_name_by_handle_cmd = Command( '_', '\x28\x07', 'songtools', 'get_name_by_handle', (aksy.devices.akai.sysex_types.DWORD, ), None) self.get_handle_by_name_cmd = Command( '_', '\x28\x08', 'songtools', 'get_handle_by_name', (aksy.devices.akai.sysex_types.STRING, ), None) self.delete_all_cmd = Command('_', '\x28\x09', 'songtools', 'delete_all', (), None) self.delete_curr_cmd = Command('_', '\x28\x0A', 'songtools', 'delete_curr', (), None) self.delete_by_handle_cmd = Command( '_', '\x28\x0B', 'songtools', 'delete_by_handle', (aksy.devices.akai.sysex_types.DWORD, ), None) self.rename_curr_cmd = Command( '_', '\x28\x0C', 'songtools', 'rename_curr', (aksy.devices.akai.sysex_types.STRING, ), None) self.rename_by_handle_cmd = Command( '_', '\x28\x0D', 'songtools', 'rename_by_handle', (aksy.devices.akai.sysex_types.DWORD, aksy.devices.akai.sysex_types.STRING), None) self.set_tag_bit_cmd = Command('_', '\x28\x0E', 'songtools', 'set_tag_bit', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_tag_bitmap_cmd = Command('_', '\x28\x0F', 'songtools', 'get_tag_bitmap', (), None) self.get_curr_modified_cmd = Command('_', '\x28\x10', 'songtools', 'get_curr_modified', (), None) self.get_modified_cmd = Command('_', '\x28\x11', 'songtools', 'get_modified', (), None) self.delete_tagged_cmd = Command( '_', '\x28\x18', 'songtools', 'delete_tagged', (aksy.devices.akai.sysex_types.BYTE, ), None) self.play_song_cmd = Command('_', '\x28\x40', 'songtools', 'play_song', (), None) self.pause_song_cmd = Command('_', '\x28\x41', 'songtools', 'pause_song', (), None) self.stop_song_cmd = Command('_', '\x28\x42', 'songtools', 'stop_song', (), None) self.set_group_id_cmd = Command('_', '\x28\x01', 'songtools', 'set_group_id', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_from_bar_cmd = Command('_', '\x28\x10', 'songtools', 'set_from_bar', (aksy.devices.akai.sysex_types.WORD, ), None) self.set_to_bar_cmd = Command('_', '\x28\x10', 'songtools', 'set_to_bar', (aksy.devices.akai.sysex_types.WORD, ), None) self.set_tempo_mode_cmd = Command( '_', '\x28\x12', 'songtools', 'set_tempo_mode', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_manual_tempo_cmd = Command( '_', '\x28\x13', 'songtools', 'set_manual_tempo', (aksy.devices.akai.sysex_types.WORD, ), None) self.set_midi_output_cmd = Command( '_', '\x28\x18', 'songtools', 'set_midi_output', (aksy.devices.akai.sysex_types.BOOL, ), None) self.get_group_id_cmd = Command('_', '\x28\x01', 'songtools', 'get_group_id', (), None) self.get_from_bar_cmd = Command('_', '\x28\x10', 'songtools', 'get_from_bar', (), None) self.get_to_bar_cmd = Command('_', '\x28\x11', 'songtools', 'get_to_bar', (), None) self.get_tempo_mode_cmd = Command('_', '\x28\x12', 'songtools', 'get_tempo_mode', (), None) self.get_manual_tempo_cmd = Command('_', '\x28\x13', 'songtools', 'get_manual_tempo', (), None) self.get_midi_output_port_cmd = Command('_', '\x28\x18', 'songtools', 'get_midi_output_port', (), None) self.get_time_signature_beat_cmd = Command('_', '\x28\x20', 'songtools', 'get_time_signature_beat', (), None) self.get_time_sig_beat_no_cmd = Command('_', '\x28\x21', 'songtools', 'get_time_sig_beat_no', (), None) self.get_curr_beat_cmd = Command('_', '\x28\x22', 'songtools', 'get_curr_beat', (), None) self.get_curr_bar_cmd = Command('_', '\x28\x23', 'songtools', 'get_curr_bar', (), None) self.get_curr_tempo_cmd = Command('_', '\x28\x24', 'songtools', 'get_curr_tempo', (), None)
def __init__(self, z48): self.sampler = z48 self.get_sample_cmd = Command('_', '\x0F\x01', 'zonetools', 'get_sample', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_level_cmd = Command('_', '\x0F\x02', 'zonetools', 'get_level', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_pan_cmd = Command('_', '\x0F\x03', 'zonetools', 'get_pan', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_output_cmd = Command('_', '\x0F\x04', 'zonetools', 'get_output', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_filter_cmd = Command('_', '\x0F\x05', 'zonetools', 'get_filter', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_tune_cmd = Command('_', '\x0F\x06', 'zonetools', 'get_tune', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_keyboard_track_cmd = Command('_', '\x0F\x07', 'zonetools', 'get_keyboard_track', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_playback_cmd = Command('_', '\x0F\x08', 'zonetools', 'get_playback', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_mod_start_cmd = Command('_', '\x0F\x09', 'zonetools', 'get_mod_start', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_low_velocity_cmd = Command('_', '\x0F\x0A', 'zonetools', 'get_low_velocity', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_high_velocity_cmd = Command('_', '\x0F\x0B', 'zonetools', 'get_high_velocity', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_mute_cmd = Command('_', '\x0F\x0C', 'zonetools', 'get_mute', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_solo_cmd = Command('_', '\x0F\x0D', 'zonetools', 'get_solo', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_sample_cmd = Command('_', '\x0E\x01', 'zonetools', 'set_sample', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.STRING), None) self.set_level_cmd = Command('_', '\x0E\x02', 'zonetools', 'set_level', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SWORD), None) self.set_pan_cmd = Command('_', '\x0E\x03', 'zonetools', 'set_pan', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_output_cmd = Command('_', '\x0E\x04', 'zonetools', 'set_output', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_filter_cmd = Command('_', '\x0E\x05', 'zonetools', 'set_filter', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.set_tune_cmd = Command('_', '\x0E\x06', 'zonetools', 'set_tune', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SWORD), None) self.set_keyboard_track_cmd = Command('_', '\x0E\x07', 'zonetools', 'set_keyboard_track', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_playback_cmd = Command('_', '\x0E\x08', 'zonetools', 'set_playback', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_mod_start_cmd = Command('_', '\x0E\x09', 'zonetools', 'set_mod_start', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SWORD), None) self.set_low_vel_cmd = Command('_', '\x0E\x0A', 'zonetools', 'set_low_vel', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_high_vel_cmd = Command('_', '\x0E\x0B', 'zonetools', 'set_high_vel', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_mute_cmd = Command('_', '\x0E\x0C', 'zonetools', 'set_mute', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_solo_cmd = Command('_', '\x0E\x0D', 'zonetools', 'set_solo', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None)
def __init__(self, z48): self.sampler = z48 self.get_os_software_version_cmd = Command('_', '\x04\x00', 'systemtools', 'get_os_software_version', (), None) self.get_os_subversion_cmd = Command('_', '\x04\x01', 'systemtools', 'get_os_subversion', (), None) self.get_sampler_model_cmd = Command('_', '\x04\x04', 'systemtools', 'get_sampler_model', (), None) self.get_supported_filetypes_cmd = Command('_', '\x04\x08', 'systemtools', 'get_supported_filetypes', (), None) self.get_perc_free_wave_mem_cmd = Command('_', '\x04\x10', 'systemtools', 'get_perc_free_wave_mem', (), None) self.get_perc_free_cpu_mem_cmd = Command('_', '\x04\x11', 'systemtools', 'get_perc_free_cpu_mem', (), None) self.get_wave_mem_size_cmd = Command('_', '\x04\x12', 'systemtools', 'get_wave_mem_size', (), None) self.get_free_wave_mem_size_cmd = Command('_', '\x04\x13', 'systemtools', 'get_free_wave_mem_size', (), None) self.clear_sampler_mem_cmd = Command('_', '\x04\x18', 'systemtools', 'clear_sampler_mem', (), None) self.purge_unused_cmd = Command('_', '\x04\x19', 'systemtools', 'purge_unused', (aksy.devices.akai.sysex_types.BYTE,), None) self.tag_unused_cmd = Command('_', '\x04\x1A', 'systemtools', 'tag_unused', (aksy.devices.akai.sysex_types.BYTE,), None) self.compact_wave_mem_cmd = Command('_', '\x04\x20', 'systemtools', 'compact_wave_mem', (), None) self.cancel_compact_wave_mem_cmd = Command('_', '\x04\x21', 'systemtools', 'cancel_compact_wave_mem', (), None) self.get_compact_wave_mem_progress_cmd = Command('_', '\x04\x22', 'systemtools', 'get_compact_wave_mem_progress', (), None) self.get_async_operation_state_cmd = Command('_', '\x04\x30', 'systemtools', 'get_async_operation_state', (), None) self.cancel_curr_async_operation_cmd = Command('_', '\x04\x31', 'systemtools', 'cancel_curr_async_operation', (), None) self.get_sampler_name_cmd = Command('_', '\x07\x01', 'systemtools', 'get_sampler_name', (), None) self.get_scsi_id_cmd = Command('_', '\x07\x02', 'systemtools', 'get_scsi_id', (), None) self.get_master_tune_cmd = Command('_', '\x07\x03', 'systemtools', 'get_master_tune', (), None) self.get_master_level_cmd = Command('_', '\x07\x04', 'systemtools', 'get_master_level', (), None) self.get_midi_mode_cmd = Command('_', '\x07\x05', 'systemtools', 'get_midi_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.is_qlink_local_ctrl_enabled_cmd = Command('_', '\x07\x06', 'systemtools', 'is_qlink_local_ctrl_enabled', (), None) self.is_default_items_enabled_cmd = Command('_', '\x07\x07', 'systemtools', 'is_default_items_enabled', (), None) self.get_midi_file_save_format_cmd = Command('_', '\x07\x08', 'systemtools', 'get_midi_file_save_format', (), None) self.get_cdr_write_speed_cmd = Command('_', '\x07\x09', 'systemtools', 'get_cdr_write_speed', (), None) self.get_cdr_write_mode_cmd = Command('_', '\x07\x0A', 'systemtools', 'get_cdr_write_mode', (), None) self.is_front_panel_locked_cmd = Command('_', '\x07\x10', 'systemtools', 'is_front_panel_locked', (), None) self.get_display_contrast_cmd = Command('_', '\x07\x11', 'systemtools', 'get_display_contrast', (), None) self.get_note_display_cmd = Command('_', '\x07\x12', 'systemtools', 'get_note_display', (), None) self.get_date_format_cmd = Command('_', '\x07\x13', 'systemtools', 'get_date_format', (), None) self.get_time_format_cmd = Command('_', '\x07\x14', 'systemtools', 'get_time_format', (), None) self.get_waveform_view_scale_cmd = Command('_', '\x07\x18', 'systemtools', 'get_waveform_view_scale', (), None) self.get_waveform_view_type_cmd = Command('_', '\x07\x19', 'systemtools', 'get_waveform_view_type', (), None) self.get_waveform_view_fill_cmd = Command('_', '\x07\x1A', 'systemtools', 'get_waveform_view_fill', (), None) self.get_item_sort_mode_cmd = Command('_', '\x07\x1B', 'systemtools', 'get_item_sort_mode', (), None) self.get_year_cmd = Command('_', '\x07\x20', 'systemtools', 'get_year', (), None) self.get_month_cmd = Command('_', '\x07\x21', 'systemtools', 'get_month', (), None) self.get_day_cmd = Command('_', '\x07\x22', 'systemtools', 'get_day', (), None) self.get_day_of_week_cmd = Command('_', '\x07\x23', 'systemtools', 'get_day_of_week', (), None) self.get_hours_cmd = Command('_', '\x07\x24', 'systemtools', 'get_hours', (), None) self.get_mins_cmd = Command('_', '\x07\x25', 'systemtools', 'get_mins', (), None) self.get_secs_cmd = Command('_', '\x07\x26', 'systemtools', 'get_secs', (), None) self.get_system_clock_cmd = Command('_', '\x07\x30', 'systemtools', 'get_system_clock', (), None) self.get_dig_sync_cmd = Command('_', '\x07\x31', 'systemtools', 'get_dig_sync', (), None) self.get_dig_format_cmd = Command('_', '\x07\x32', 'systemtools', 'get_dig_format', (), None) self.get_adat_main_out_cmd = Command('_', '\x07\x33', 'systemtools', 'get_adat_main_out', (), None) self.get_play_mode_cmd = Command('_', '\x07\x40', 'systemtools', 'get_play_mode', (), None) self.get_prog_monitor_mode_cmd = Command('_', '\x07\x41', 'systemtools', 'get_prog_monitor_mode', (), None) self.get_sample_monitor_mode_cmd = Command('_', '\x07\x42', 'systemtools', 'get_sample_monitor_mode', (), None) self.get_play_key_note_cmd = Command('_', '\x07\x48', 'systemtools', 'get_play_key_note', (), None) self.get_play_key_velocity_cmd = Command('_', '\x07\x49', 'systemtools', 'get_play_key_velocity', (), None) self.get_play_key_midi_channel_cmd = Command('_', '\x07\x4a', 'systemtools', 'get_play_key_midi_channel', (), None) self.get_play_key_echo_cmd = Command('_', '\x07\x4b', 'systemtools', 'get_play_key_echo', (), None) self.get_prog_change_enable_cmd = Command('_', '\x07\x4c', 'systemtools', 'get_prog_change_enable', (), None) self.get_autoload_enable_cmd = Command('_', '\x07\x4d', 'systemtools', 'get_autoload_enable', (), None) self.get_global_pad_mode_cmd = Command('_', '\x07\x50', 'systemtools', 'get_global_pad_mode', (), None) self.get_pad_midi_channel_cmd = Command('_', '\x07\x51', 'systemtools', 'get_pad_midi_channel', (), None) self.get_pad_sensitivity_cmd = Command('_', '\x07\x52', 'systemtools', 'get_pad_sensitivity', (), None) self.get_def_note_assign_cmd = Command('_', '\x07\x53', 'systemtools', 'get_def_note_assign', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_chrom_start_note_cmd = Command('_', '\x07\x54', 'systemtools', 'get_chrom_start_note', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_sampler_name_cmd = Command('_', '\x06\x01', 'systemtools', 'set_sampler_name', (aksy.devices.akai.sysex_types.STRING,), None) self.set_scsi_id_cmd = Command('_', '\x06\x02', 'systemtools', 'set_scsi_id', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_master_tune_cmd = Command('_', '\x06\x03', 'systemtools', 'set_master_tune', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_master_level_cmd = Command('_', '\x06\x04', 'systemtools', 'set_master_level', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_midi_out_thru_cmd = Command('_', '\x06\x05', 'systemtools', 'set_midi_out_thru', (), None) self.set_qlink_local_control_cmd = Command('_', '\x06\x06', 'systemtools', 'set_qlink_local_control', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_create_default_items_cmd = Command('_', '\x06\x07', 'systemtools', 'set_create_default_items', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_midi_file_save_format_cmd = Command('_', '\x06\x08', 'systemtools', 'set_midi_file_save_format', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_cdr_write_speed_cmd = Command('_', '\x06\x09', 'systemtools', 'set_cdr_write_speed', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_cdr_write_mode_cmd = Command('_', '\x06\x0a', 'systemtools', 'set_cdr_write_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_front_panel_lockout_state_cmd = Command('_', '\x06\x10', 'systemtools', 'set_front_panel_lockout_state', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_display_contrast_cmd = Command('_', '\x06\x11', 'systemtools', 'set_display_contrast', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_note_display_cmd = Command('_', '\x06\x12', 'systemtools', 'set_note_display', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_date_display_format_cmd = Command('_', '\x06\x13', 'systemtools', 'set_date_display_format', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_time_display_format_cmd = Command('_', '\x06\x14', 'systemtools', 'set_time_display_format', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_waveform_view_scale_cmd = Command('_', '\x06\x18', 'systemtools', 'set_waveform_view_scale', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_waveform_view_type_cmd = Command('_', '\x06\x19', 'systemtools', 'set_waveform_view_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_waveform_view_fill_cmd = Command('_', '\x06\x1a', 'systemtools', 'set_waveform_view_fill', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_item_sort_mode_cmd = Command('_', '\x06\x1b', 'systemtools', 'set_item_sort_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_year_cmd = Command('_', '\x06\x20', 'systemtools', 'set_year', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_month_cmd = Command('_', '\x06\x21', 'systemtools', 'set_month', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_day_cmd = Command('_', '\x06\x22', 'systemtools', 'set_day', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_day_of_week_cmd = Command('_', '\x06\x23', 'systemtools', 'set_day_of_week', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_hours_cmd = Command('_', '\x06\x24', 'systemtools', 'set_hours', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_minutes_cmd = Command('_', '\x06\x25', 'systemtools', 'set_minutes', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_seconds_cmd = Command('_', '\x06\x26', 'systemtools', 'set_seconds', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_system_clock_cmd = Command('_', '\x06\x30', 'systemtools', 'set_system_clock', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_digital_out_sync_cmd = Command('_', '\x06\x31', 'systemtools', 'set_digital_out_sync', (), None) self.set_digital_format_cmd = Command('_', '\x06\x32', 'systemtools', 'set_digital_format', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_adat_main_out_cmd = Command('_', '\x06\x33', 'systemtools', 'set_adat_main_out', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_play_mode_cmd = Command('_', '\x06\x40', 'systemtools', 'set_play_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_program_monitor_mode_cmd = Command('_', '\x06\x41', 'systemtools', 'set_program_monitor_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_sample_monitor_mode_cmd = Command('_', '\x06\x42', 'systemtools', 'set_sample_monitor_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_play_key_note_cmd = Command('_', '\x06\x48', 'systemtools', 'set_play_key_note', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_play_key_velocity_cmd = Command('_', '\x06\x49', 'systemtools', 'set_play_key_velocity', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_play_key_midi_channel_cmd = Command('_', '\x06\x4a', 'systemtools', 'set_play_key_midi_channel', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_play_key_echo_cmd = Command('_', '\x06\x4b', 'systemtools', 'set_play_key_echo', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_program_change_enable_cmd = Command('_', '\x06\x4c', 'systemtools', 'set_program_change_enable', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_autoload_enable_cmd = Command('_', '\x06\x4d', 'systemtools', 'set_autoload_enable', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_global_pad_mode_cmd = Command('_', '\x05\x50', 'systemtools', 'set_global_pad_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_pad_midi_channel_cmd = Command('_', '\x06\x51', 'systemtools', 'set_pad_midi_channel', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_pad_sensitivity_cmd = Command('_', '\x06\x52', 'systemtools', 'set_pad_sensitivity', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_default_note_assignment_cmd = Command('_', '\x06\x53', 'systemtools', 'set_default_note_assignment', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_chromatic_start_note_cmd = Command('_', '\x06\x54', 'systemtools', 'set_chromatic_start_note', (aksy.devices.akai.sysex_types.BYTE,), None)
def __init__(self, s56k): self.sampler = s56k self.update_disklist_cmd = Command('^', '\x10\x01', 'disktools', 'update_disklist', (), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.select_disk_cmd = Command('^', '\x10\x02', 'disktools', 'select_disk', (aksy.devices.akai.sysex_types.CWORD,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.test_disk_cmd = Command('^', '\x10\x03', 'disktools', 'test_disk', (aksy.devices.akai.sysex_types.CWORD,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_no_disks_cmd = Command('^', '\x10\x04', 'disktools', 'get_no_disks', (), (aksy.devices.akai.sysex_types.BYTE,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_disklist_cmd = Command('^', '\x10\x05', 'disktools', 'get_disklist', (), (aksy.devices.akai.sysex_types.S56KDISKLIST,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_curr_path_cmd = Command('^', '\x10\x09', 'disktools', 'get_curr_path', (), (aksy.devices.akai.sysex_types.STRINGARRAY,), aksy.devices.akai.sysex_types.S56K_USERREF) self.eject_disk_cmd = Command('^', '\x10\x0D', 'disktools', 'eject_disk', (aksy.devices.akai.sysex_types.CWORD,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_no_folders_cmd = Command('^', '\x10\x10', 'disktools', 'get_no_folders', (), (aksy.devices.akai.sysex_types.CWORD,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_folder_names_cmd = Command('^', '\x10\x12', 'disktools', 'get_folder_names', (), (aksy.devices.akai.sysex_types.STRINGARRAY,), aksy.devices.akai.sysex_types.S56K_USERREF) self.open_folder_cmd = Command('^', '\x10\x13', 'disktools', 'open_folder', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.close_folder_cmd = Command('^', '\x10\x14', 'disktools', 'close_folder', (), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.load_folder_cmd = Command('^', '\x10\x15', 'disktools', 'load_folder', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.create_folder_cmd = Command('^', '\x10\x16', 'disktools', 'create_folder', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.delete_folder_cmd = Command('^', '\x10\x17', 'disktools', 'delete_folder', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.rename_folder_cmd = Command('^', '\x10\x18', 'disktools', 'rename_folder', (aksy.devices.akai.sysex_types.STRING, aksy.devices.akai.sysex_types.STRING), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_no_files_cmd = Command('^', '\x10\x20', 'disktools', 'get_no_files', (), (aksy.devices.akai.sysex_types.CWORD,), aksy.devices.akai.sysex_types.S56K_USERREF) self.get_filenames_cmd = Command('^', '\x10\x22', 'disktools', 'get_filenames', (), (aksy.devices.akai.sysex_types.STRINGARRAY,), aksy.devices.akai.sysex_types.S56K_USERREF) self.rename_file_cmd = Command('^', '\x10\x28', 'disktools', 'rename_file', (aksy.devices.akai.sysex_types.STRING, aksy.devices.akai.sysex_types.STRING), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.delete_file_cmd = Command('^', '\x10\x29', 'disktools', 'delete_file', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.load_file_cmd = Command('^', '\x10\x2A', 'disktools', 'load_file', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.load_file_and_deps_cmd = Command('^', '\x10\x2B', 'disktools', 'load_file_and_deps', (aksy.devices.akai.sysex_types.STRING,), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.save_cmd = Command('^', '\x10\x2C', 'disktools', 'save', (aksy.devices.akai.sysex_types.DWORD, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL, aksy.devices.akai.sysex_types.BYTE), (), aksy.devices.akai.sysex_types.S56K_USERREF) self.save_all_cmd = Command('^', '\x10\x2D', 'disktools', 'save_all', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), (), aksy.devices.akai.sysex_types.S56K_USERREF)
def __init__(self, z48): self.sampler = z48 self.get_no_items_cmd = Command('_', '\x18\x01', 'multitools', 'get_no_items', (), None) self.get_handles_cmd = Command('_', '\x18\x02\x00', 'multitools', 'get_handles', (), None) self.get_names_cmd = Command('_', '\x18\x02\x01', 'multitools', 'get_names', (), None) self.get_handles_names_cmd = Command('_', '\x18\x02\x02', 'multitools', 'get_handles_names', (), None) self.get_handles_tagged_cmd = Command('_', '\x18\x02\x03', 'multitools', 'get_handles_tagged', (), None) self.set_curr_by_handle_cmd = Command('_', '\x18\x03', 'multitools', 'set_curr_by_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.set_curr_by_name_cmd = Command('_', '\x18\x04', 'multitools', 'set_curr_by_name', (aksy.devices.akai.sysex_types.STRING,), None) self.get_curr_handle_cmd = Command('_', '\x18\x05', 'multitools', 'get_curr_handle', (), None) self.get_curr_name_cmd = Command('_', '\x18\x06', 'multitools', 'get_curr_name', (), None) self.get_name_by_handle_cmd = Command('_', '\x18\x07', 'multitools', 'get_name_by_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.get_handle_by_name_cmd = Command('_', '\x18\x08', 'multitools', 'get_handle_by_name', (aksy.devices.akai.sysex_types.STRING,), None) self.delete_all_cmd = Command('_', '\x18\x09', 'multitools', 'delete_all', (), None) self.delete_curr_cmd = Command('_', '\x18\x0A', 'multitools', 'delete_curr', (), None) self.delete_by_handle_cmd = Command('_', '\x18\x0B', 'multitools', 'delete_by_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.rename_curr_cmd = Command('_', '\x18\x0C', 'multitools', 'rename_curr', (aksy.devices.akai.sysex_types.STRING,), None) self.rename_by_handle_cmd = Command('_', '\x18\x0D', 'multitools', 'rename_by_handle', (aksy.devices.akai.sysex_types.DWORD, aksy.devices.akai.sysex_types.STRING), None) self.tag_cmd = Command('_', '\x18\x0E', 'multitools', 'tag', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_tag_bitmap_cmd = Command('_', '\x18\x0F', 'multitools', 'get_tag_bitmap', (), None) self.get_curr_modified_cmd = Command('_', '\x18\x10', 'multitools', 'get_curr_modified', (), None) self.get_modified_cmd = Command('_', '\x18\x11', 'multitools', 'get_modified', (), None) self.delete_tagged_cmd = Command('_', '\x18\x18', 'multitools', 'delete_tagged', (aksy.devices.akai.sysex_types.BYTE,), None) self.create_new_cmd = Command('_', '\x18\x40', 'multitools', 'create_new', (aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.STRING), None) self.copy_cmd = Command('_', '\x18\x41', 'multitools', 'copy', (aksy.devices.akai.sysex_types.STRING,), None) self.delete_part_cmd = Command('_', '\x18\x42', 'multitools', 'delete_part', (aksy.devices.akai.sysex_types.BYTE,), None) self.delete_unused_parts_cmd = Command('_', '\x18\x43', 'multitools', 'delete_unused_parts', (), None) self.arrange_parts_cmd = Command('_', '\x18\x44', 'multitools', 'arrange_parts', (), None) self.set_group_id_cmd = Command('_', '\x1A\x01', 'multitools', 'set_group_id', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_multi_select_method_cmd = Command('_', '\x1A\x02', 'multitools', 'set_multi_select_method', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_multi_select_channel_cmd = Command('_', '\x1A\x03', 'multitools', 'set_multi_select_channel', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_multi_tempo_cmd = Command('_', '\x1A\x04', 'multitools', 'set_multi_tempo', (aksy.devices.akai.sysex_types.WORD,), None) self.set_multi_program_no_cmd = Command('_', '\x1A\x08', 'multitools', 'set_multi_program_no', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_multi_part_by_handle_cmd = Command('_', '\x1A\x09', 'multitools', 'set_multi_part_by_handle', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.DWORD), None) self.set_multi_part_name_cmd = Command('_', '\x1A\x0A', 'multitools', 'set_multi_part_name', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.STRING), None) self.set_no_parts_cmd = Command('_', '\x1A\x0F', 'multitools', 'set_no_parts', (aksy.devices.akai.sysex_types.WORD,), None) self.set_part_midi_channel_cmd = Command('_', '\x1A\x10', 'multitools', 'set_part_midi_channel', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_mute_cmd = Command('_', '\x1A\x11', 'multitools', 'set_part_mute', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_part_solo_cmd = Command('_', '\x1A\x12', 'multitools', 'set_part_solo', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_part_level_cmd = Command('_', '\x1A\x13', 'multitools', 'set_part_level', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SWORD), None) self.set_part_output_cmd = Command('_', '\x1A\x14', 'multitools', 'set_part_output', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_pan_cmd = Command('_', '\x1A\x15', 'multitools', 'set_part_pan', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_fx_channel_cmd = Command('_', '\x1A\x16', 'multitools', 'set_part_fx_channel', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_fx_send_level_cmd = Command('_', '\x1A\x17', 'multitools', 'set_part_fx_send_level', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SWORD), None) self.set_part_cents_tune_cmd = Command('_', '\x1A\x18', 'multitools', 'set_part_cents_tune', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SWORD), None) self.set_part_low_note_cmd = Command('_', '\x1A\x1A', 'multitools', 'set_part_low_note', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_high_note_cmd = Command('_', '\x1A\x1B', 'multitools', 'set_part_high_note', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_priority_cmd = Command('_', '\x1A\x1C', 'multitools', 'set_part_priority', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_program_no_cmd = Command('_', '\x1A\x1D', 'multitools', 'set_part_program_no', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_part_group_id_cmd = Command('_', '\x1A\x1F', 'multitools', 'set_part_group_id', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_eq_output_channel_cmd = Command('_', '\x1A\x30', 'multitools', 'set_eq_output_channel', (aksy.devices.akai.sysex_types.BYTE,), None) self.enable_eq_cmd = Command('_', '\x1A\x31', 'multitools', 'enable_eq', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_eq_low_gain_cmd = Command('_', '\x1A\x33', 'multitools', 'set_eq_low_gain', (aksy.devices.akai.sysex_types.SWORD,), None) self.set_eq_low_freq_cmd = Command('_', '\x1A\x32', 'multitools', 'set_eq_low_freq', (aksy.devices.akai.sysex_types.WORD,), None) self.set_eq_mid_gain_cmd = Command('_', '\x1A\x34', 'multitools', 'set_eq_mid_gain', (aksy.devices.akai.sysex_types.SWORD,), None) self.set_eq_mid_freq_cmd = Command('_', '\x1A\x34', 'multitools', 'set_eq_mid_freq', (aksy.devices.akai.sysex_types.WORD,), None) self.set_eq_high_gain_cmd = Command('_', '\x1A\x37', 'multitools', 'set_eq_high_gain', (aksy.devices.akai.sysex_types.SWORD,), None) self.set_eq_high_freq_cmd = Command('_', '\x1A\x36', 'multitools', 'set_eq_high_freq', (aksy.devices.akai.sysex_types.WORD,), None) self.enable_midi_filter_cmd = Command('_', '\x1A\x40', 'multitools', 'enable_midi_filter', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_midi_filter_by_part_cmd = Command('_', '\x1A\x41', 'multitools', 'set_midi_filter_by_part', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_midi_filter_by_channel_cmd = Command('_', '\x1A\x42', 'multitools', 'set_midi_filter_by_channel', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_fx_assign_type_cmd = Command('_', '\x1A\x50', 'multitools', 'set_fx_assign_type', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_target_cmd = Command('_', '\x1A\x51', 'multitools', 'set_target', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_destination_cmd = Command('_', '\x1A\x52', 'multitools', 'set_destination', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_change_type_cmd = Command('_', '\x1A\x53', 'multitools', 'set_change_type', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_scale_min_cmd = Command('_', '\x1A\x54', 'multitools', 'set_scale_min', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.set_scale_max_cmd = Command('_', '\x1A\x55', 'multitools', 'set_scale_max', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.set_midi_ctl_output_cmd = Command('_', '\x1A\x56', 'multitools', 'set_midi_ctl_output', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_midi_channel_output_cmd = Command('_', '\x1A\x57', 'multitools', 'set_midi_channel_output', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.get_group_id_cmd = Command('_', '\x1B\x01', 'multitools', 'get_group_id', (), None) self.get_multi_select_method_cmd = Command('_', '\x1B\x02', 'multitools', 'get_multi_select_method', (), None) self.get_multi_select_channel_cmd = Command('_', '\x1B\x03', 'multitools', 'get_multi_select_channel', (), None) self.get_multi_tempo_cmd = Command('_', '\x1B\x04', 'multitools', 'get_multi_tempo', (), None) self.get_multi_program_no_cmd = Command('_', '\x1B\x08', 'multitools', 'get_multi_program_no', (), None) self.get_multi_part_handle_cmd = Command('_', '\x1B\x09', 'multitools', 'get_multi_part_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.get_multi_part_name_cmd = Command('_', '\x1B\x0A', 'multitools', 'get_multi_part_name', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_no_parts_cmd = Command('_', '\x1B\x0F', 'multitools', 'get_no_parts', (), None) self.get_part_midi_channel_cmd = Command('_', '\x1B\x10', 'multitools', 'get_part_midi_channel', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_mute_cmd = Command('_', '\x1B\x11', 'multitools', 'get_part_mute', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_solo_cmd = Command('_', '\x1B\x12', 'multitools', 'get_part_solo', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_level_cmd = Command('_', '\x1B\x13', 'multitools', 'get_part_level', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_output_cmd = Command('_', '\x1B\x14', 'multitools', 'get_part_output', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_pan_cmd = Command('_', '\x1B\x15', 'multitools', 'get_part_pan', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_fx_channel_cmd = Command('_', '\x1B\x16', 'multitools', 'get_part_fx_channel', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_fx_send_level_cmd = Command('_', '\x1B\x17', 'multitools', 'get_part_fx_send_level', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_tune_cmd = Command('_', '\x1B\x18', 'multitools', 'get_part_tune', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_low_note_cmd = Command('_', '\x1B\x1A', 'multitools', 'get_part_low_note', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_high_note_cmd = Command('_', '\x1B\x1B', 'multitools', 'get_part_high_note', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_priority_cmd = Command('_', '\x1B\x1C', 'multitools', 'get_part_priority', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_prog_no_cmd = Command('_', '\x1B\x1D', 'multitools', 'get_part_prog_no', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_part_group_id_cmd = Command('_', '\x1B\x1F', 'multitools', 'get_part_group_id', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_eq_output_channel_cmd = Command('_', '\x1B\x30', 'multitools', 'get_eq_output_channel', (), None) self.is_eq_enabled_cmd = Command('_', '\x1B\x31', 'multitools', 'is_eq_enabled', (), None) self.get_eq_low_gain_cmd = Command('_', '\x1B\x33', 'multitools', 'get_eq_low_gain', (), None) self.get_eq_low_freq_cmd = Command('_', '\x1B\x32', 'multitools', 'get_eq_low_freq', (), None) self.get_eq_mid_gain_cmd = Command('_', '\x1B\x35', 'multitools', 'get_eq_mid_gain', (), None) self.get_eq_mid_freq_cmd = Command('_', '\x1B\x34', 'multitools', 'get_eq_mid_freq', (), None) self.get_eq_high_gain_cmd = Command('_', '\x1B\x37', 'multitools', 'get_eq_high_gain', (), None) self.get_eq_high_freq_cmd = Command('_', '\x1B\x36', 'multitools', 'get_eq_high_freq', (), None) self.is_midi_filter_enabled_cmd = Command('_', '\x1B\x40', 'multitools', 'is_midi_filter_enabled', (), None) self.get_midi_filter_by_part_cmd = Command('_', '\x1B\x41', 'multitools', 'get_midi_filter_by_part', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_midi_filter_by_channel_cmd = Command('_', '\x1B\x42', 'multitools', 'get_midi_filter_by_channel', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_fx_assign_type_cmd = Command('_', '\x1B\x50', 'multitools', 'get_fx_assign_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_target_cmd = Command('_', '\x1B\x51', 'multitools', 'get_target', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_destination_cmd = Command('_', '\x1B\x52', 'multitools', 'get_destination', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_change_type_cmd = Command('_', '\x1B\x53', 'multitools', 'get_change_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_scale_min_cmd = Command('_', '\x1B\x54', 'multitools', 'get_scale_min', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_scale_max_cmd = Command('_', '\x1B\x55', 'multitools', 'get_scale_max', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_midi_ctl_output_cmd = Command('_', '\x1B\x56', 'multitools', 'get_midi_ctl_output', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_midi_channel_output_cmd = Command('_', '\x1B\x57', 'multitools', 'get_midi_channel_output', (aksy.devices.akai.sysex_types.BYTE,), None)
def __init__(self, z48): self.sampler = z48 self.get_no_items_cmd = Command('_', '\x14\x01', 'programtools', 'get_no_items', (), None) self.get_handles_cmd = Command('_', '\x14\x02\x00', 'programtools', 'get_handles', (), None) self.get_names_cmd = Command('_', '\x14\x02\x01', 'programtools', 'get_names', (), None) self.get_handles_names_cmd = Command('_', '\x14\x02\x02', 'programtools', 'get_handles_names', (), None) self.get_modified_cmd = Command('_', '\x14\x02\x03', 'programtools', 'get_modified', (), None) self.set_curr_by_handle_cmd = Command('_', '\x14\x03', 'programtools', 'set_curr_by_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.set_curr_by_name_cmd = Command('_', '\x14\x04', 'programtools', 'set_curr_by_name', (aksy.devices.akai.sysex_types.STRING,), None) self.get_curr_handle_cmd = Command('_', '\x14\x05', 'programtools', 'get_curr_handle', (), None) self.get_curr_name_cmd = Command('_', '\x14\x06', 'programtools', 'get_curr_name', (), None) self.get_name_by_handle_cmd = Command('_', '\x14\x07', 'programtools', 'get_name_by_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.get_handle_by_name_cmd = Command('_', '\x14\x08', 'programtools', 'get_handle_by_name', (aksy.devices.akai.sysex_types.STRING,), None) self.delete_all_cmd = Command('_', '\x14\x09', 'programtools', 'delete_all', (), None) self.delete_curr_cmd = Command('_', '\x14\x0A', 'programtools', 'delete_curr', (), None) self.delete_by_handle_cmd = Command('_', '\x14\x0B', 'programtools', 'delete_by_handle', (aksy.devices.akai.sysex_types.DWORD,), None) self.rename_curr_cmd = Command('_', '\x14\x0C', 'programtools', 'rename_curr', (aksy.devices.akai.sysex_types.STRING,), None) self.rename_by_handle_cmd = Command('_', '\x14\x0D', 'programtools', 'rename_by_handle', (aksy.devices.akai.sysex_types.DWORD, aksy.devices.akai.sysex_types.STRING), None) self.tag_cmd = Command('_', '\x14\x0E', 'programtools', 'tag', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_tag_bitmap_cmd = Command('_', '\x14\x0F', 'programtools', 'get_tag_bitmap', (), None) self.get_modified_name_cmd = Command('_', '\x14\x10', 'programtools', 'get_modified_name', (), None) self.get_modified_state_cmd = Command('_', '\x14\x11', 'programtools', 'get_modified_state', (), None) self.delete_tagged_cmd = Command('_', '\x14\x18', 'programtools', 'delete_tagged', (aksy.devices.akai.sysex_types.BYTE,), None) self.create_new_cmd = Command('_', '\x14\x40', 'programtools', 'create_new', (aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.STRING), None) self.add_keygroups_cmd = Command('_', '\x14\x41', 'programtools', 'add_keygroups', (aksy.devices.akai.sysex_types.BYTE,), None) self.delete_keygroup_cmd = Command('_', '\x14\x42', 'programtools', 'delete_keygroup', (aksy.devices.akai.sysex_types.BYTE,), None) self.delete_blank_keygroups_cmd = Command('_', '\x14\x43', 'programtools', 'delete_blank_keygroups', (), None) self.arrange_keygroups_cmd = Command('_', '\x14\x44', 'programtools', 'arrange_keygroups', (aksy.devices.akai.sysex_types.BYTE,), None) self.copy_keygroup_cmd = Command('_', '\x14\x45', 'programtools', 'copy_keygroup', (aksy.devices.akai.sysex_types.BYTE,), None) self.copy_cmd = Command('_', '\x14\x48', 'programtools', 'copy', (aksy.devices.akai.sysex_types.STRING,), None) self.merge_programs_cmd = Command('_', '\x14\x49', 'programtools', 'merge_programs', (aksy.devices.akai.sysex_types.DWORD, aksy.devices.akai.sysex_types.DWORD), None) self.add_keygroup_sample_cmd = Command('_', '\x14\x4A', 'programtools', 'add_keygroup_sample', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL, aksy.devices.akai.sysex_types.STRING), None) self.copy_temperament_to_user_cmd = Command('_', '\x14\x50', 'programtools', 'copy_temperament_to_user', (), None) self.get_no_modulation_connections_cmd = Command('_', '\x14\x54', 'programtools', 'get_no_modulation_connections', (), None) self.get_no_modulation_sources_cmd = Command('_', '\x14\x55', 'programtools', 'get_no_modulation_sources', (), None) self.get_no_modulation_destinations_cmd = Command('_', '\x14\x56', 'programtools', 'get_no_modulation_destinations', (), None) self.get_name_modulation_source_cmd = Command('_', '\x14\x57', 'programtools', 'get_name_modulation_source', (aksy.devices.akai.sysex_types.WORD,), None) self.get_name_modulation_dest_cmd = Command('_', '\x14\x58', 'programtools', 'get_name_modulation_dest', (aksy.devices.akai.sysex_types.WORD,), None) self.get_group_id_cmd = Command('_', '\x17\x01', 'programtools', 'get_group_id', (), None) self.get_type_cmd = Command('_', '\x17\x03', 'programtools', 'get_type', (), None) self.get_genre_cmd = Command('_', '\x17\x04', 'programtools', 'get_genre', (), None) self.get_program_no_cmd = Command('_', '\x17\x08', 'programtools', 'get_program_no', (), None) self.get_no_keygroups_cmd = Command('_', '\x17\x09', 'programtools', 'get_no_keygroups', (), None) self.get_keygroup_xfade_cmd = Command('_', '\x17\x0A', 'programtools', 'get_keygroup_xfade', (), None) self.get_keygroup_xfade_type_cmd = Command('_', '\x17\x0B', 'programtools', 'get_keygroup_xfade_type', (), None) self.get_level_cmd = Command('_', '\x17\x0C', 'programtools', 'get_level', (), None) self.get_polyphony_cmd = Command('_', '\x17\x10', 'programtools', 'get_polyphony', (), None) self.get_reassignment_method_cmd = Command('_', '\x17\x11', 'programtools', 'get_reassignment_method', (), None) self.get_softpedal_loudness_reduction_cmd = Command('_', '\x17\x12', 'programtools', 'get_softpedal_loudness_reduction', (), None) self.get_softpedal_attack_stretch_cmd = Command('_', '\x17\x13', 'programtools', 'get_softpedal_attack_stretch', (), None) self.get_softpedal_filter_close_cmd = Command('_', '\x17\x14', 'programtools', 'get_softpedal_filter_close', (), None) self.get_midi_transpose_cmd = Command('_', '\x17\x15', 'programtools', 'get_midi_transpose', (), None) self.get_mpc_pad_assignment_cmd = Command('_', '\x17\x18', 'programtools', 'get_mpc_pad_assignment', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_modulation_connection_cmd = Command('_', '\x17\x20', 'programtools', 'get_modulation_connection', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.get_modulation_source_type_cmd = Command('_', '\x17\x21', 'programtools', 'get_modulation_source_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_modulation_destination_type_cmd = Command('_', '\x17\x22', 'programtools', 'get_modulation_destination_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_modulation_level_cmd = Command('_', '\x17\x23', 'programtools', 'get_modulation_level', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.get_midi_controller_number_cmd = Command('_', '\x17\x24', 'programtools', 'get_midi_controller_number', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_edit_keygroup_cmd = Command('_', '\x17\x25', 'programtools', 'get_edit_keygroup', (), None) self.get_modulation_level_edit_keygroup_cmd = Command('_', '\x17\x26', 'programtools', 'get_modulation_level_edit_keygroup', (), None) self.get_tune_cmd = Command('_', '\x17\x30', 'programtools', 'get_tune', (), None) self.get_temperament_template_cmd = Command('_', '\x17\x31', 'programtools', 'get_temperament_template', (), None) self.get_program_temperament_cmd = Command('_', '\x17\x32', 'programtools', 'get_program_temperament', (), None) self.get_key_cmd = Command('_', '\x17\x33', 'programtools', 'get_key', (), None) self.get_user_temperament_note_cmd = Command('_', '\x17\x34', 'programtools', 'get_user_temperament_note', (aksy.devices.akai.sysex_types.BYTE,), None) self.get_pitchbend_up_cmd = Command('_', '\x17\x40', 'programtools', 'get_pitchbend_up', (), None) self.get_pitchbend_down_cmd = Command('_', '\x17\x41', 'programtools', 'get_pitchbend_down', (), None) self.get_pitchbend_mode_cmd = Command('_', '\x17\x42', 'programtools', 'get_pitchbend_mode', (), None) self.get_aftertouch_value_cmd = Command('_', '\x17\x43', 'programtools', 'get_aftertouch_value', (), None) self.get_legato_cmd = Command('_', '\x17\x44', 'programtools', 'get_legato', (), None) self.get_portamento_enabled_cmd = Command('_', '\x17\x45', 'programtools', 'get_portamento_enabled', (), None) self.get_portamento_mode_cmd = Command('_', '\x17\x46', 'programtools', 'get_portamento_mode', (), None) self.get_portamento_time_cmd = Command('_', '\x17\x47', 'programtools', 'get_portamento_time', (), None) self.get_glissando_mode_cmd = Command('_', '\x17\x48', 'programtools', 'get_glissando_mode', (), None) self.get_aftertouch_mode_cmd = Command('_', '\x17\x49', 'programtools', 'get_aftertouch_mode', (), None) self.set_group_id_cmd = Command('_', '\x16\x01', 'programtools', 'set_group_id', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_type_cmd = Command('_', '\x16\x03', 'programtools', 'set_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_genre_cmd = Command('_', '\x16\x04', 'programtools', 'set_genre', (aksy.devices.akai.sysex_types.STRING,), None) self.set_program_no_cmd = Command('_', '\x16\x08', 'programtools', 'set_program_no', (aksy.devices.akai.sysex_types.WORD,), None) self.set_no_keygroups_cmd = Command('_', '\x16\x09', 'programtools', 'set_no_keygroups', (aksy.devices.akai.sysex_types.WORD,), None) self.set_keygroup_xfade_cmd = Command('_', '\x16\x0A', 'programtools', 'set_keygroup_xfade', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_keygroup_xfade_type_cmd = Command('_', '\x16\x0B', 'programtools', 'set_keygroup_xfade_type', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_level_cmd = Command('_', '\x16\x0C', 'programtools', 'set_level', (aksy.devices.akai.sysex_types.SWORD,), None) self.set_polyphony_cmd = Command('_', '\x16\x10', 'programtools', 'set_polyphony', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_reassignment_method_cmd = Command('_', '\x16\x11', 'programtools', 'set_reassignment_method', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_softpedal_loudness_reduction_cmd = Command('_', '\x16\x12', 'programtools', 'set_softpedal_loudness_reduction', (), None) self.set_softpedal_attack_stretch_cmd = Command('_', '\x16\x13', 'programtools', 'set_softpedal_attack_stretch', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_softpedal_filter_close_cmd = Command('_', '\x16\x14', 'programtools', 'set_softpedal_filter_close', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_midi_transpose_cmd = Command('_', '\x16\x15', 'programtools', 'set_midi_transpose', (aksy.devices.akai.sysex_types.SBYTE,), None) self.set_mpc_pad_assignment_cmd = Command('_', '\x16\x18', 'programtools', 'set_mpc_pad_assignment', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_modulation_connection_cmd = Command('_', '\x16\x20', 'programtools', 'set_modulation_connection', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.SBYTE), None) self.set_modulation_source_cmd = Command('_', '\x16\x21', 'programtools', 'set_modulation_source', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_modulation_destination_cmd = Command('_', '\x16\x22', 'programtools', 'set_modulation_destination', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_modulation_level_cmd = Command('_', '\x16\x23', 'programtools', 'set_modulation_level', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD, aksy.devices.akai.sysex_types.SBYTE), None) self.set_midi_ctrl_no_cmd = Command('_', '\x16\x24', 'programtools', 'set_midi_ctrl_no', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_edit_keygroup_cmd = Command('_', '\x16\x25', 'programtools', 'set_edit_keygroup', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.set_edit_kegyroup_modulation_level_cmd = Command('_', '\x16\x26', 'programtools', 'set_edit_kegyroup_modulation_level', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_tune_cmd = Command('_', '\x16\x30', 'programtools', 'set_tune', (aksy.devices.akai.sysex_types.TUNE,), None) self.set_temperament_template_cmd = Command('_', '\x16\x31', 'programtools', 'set_temperament_template', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_program_temperament_cmd = Command('_', '\x16\x32', 'programtools', 'set_program_temperament', (aksy.devices.akai.sysex_types.SBYTE,), None) self.set_key_cmd = Command('_', '\x16\x33', 'programtools', 'set_key', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_user_temperament_note_cmd = Command('_', '\x16\x34', 'programtools', 'set_user_temperament_note', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SBYTE), None) self.set_pitchbend_up_cmd = Command('_', '\x16\x40', 'programtools', 'set_pitchbend_up', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_pitchbend_down_cmd = Command('_', '\x16\x41', 'programtools', 'set_pitchbend_down', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_pitchbend_mode_cmd = Command('_', '\x16\x42', 'programtools', 'set_pitchbend_mode', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_aftertouch_value_cmd = Command('_', '\x16\x43', 'programtools', 'set_aftertouch_value', (aksy.devices.akai.sysex_types.SBYTE,), None) self.set_legato_cmd = Command('_', '\x16\x44', 'programtools', 'set_legato', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_portamento_enabled_cmd = Command('_', '\x16\x45', 'programtools', 'set_portamento_enabled', (aksy.devices.akai.sysex_types.BOOL,), None) self.set_portamento_mode_cmd = Command('_', '\x16\x46', 'programtools', 'set_portamento_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_portamento_time_cmd = Command('_', '\x16\x47', 'programtools', 'set_portamento_time', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_glissando_mode_cmd = Command('_', '\x16\x48', 'programtools', 'set_glissando_mode', (aksy.devices.akai.sysex_types.BYTE,), None) self.set_aftertouch_mode_cmd = Command('_', '\x16\x49', 'programtools', 'set_aftertouch_mode', (aksy.devices.akai.sysex_types.BYTE,), None)
def __init__(self, z48): self.sampler = z48 self.get_status_cmd = Command('_', '\x30\x01', 'recordingtools', 'get_status', (), None) self.get_progress_cmd = Command('_', '\x30\x02', 'recordingtools', 'get_progress', (), None) self.get_max_rec_time_cmd = Command('_', '\x30\x03', 'recordingtools', 'get_max_rec_time', (), None) self.arm_cmd = Command('_', '\x30\x10', 'recordingtools', 'arm', (), None) self.start_cmd = Command('_', '\x30\x11', 'recordingtools', 'start', (), None) self.stop_cmd = Command('_', '\x30\x12', 'recordingtools', 'stop', (), None) self.cancel_cmd = Command('_', '\x30\x13', 'recordingtools', 'cancel', (), None) self.start_playing_cmd = Command('_', '\x30\x20', 'recordingtools', 'start_playing', (), None) self.stop_playing_cmd = Command('_', '\x30\x21', 'recordingtools', 'stop_playing', (), None) self.keep_cmd = Command('_', '\x30\x22', 'recordingtools', 'keep', (), None) self.delete_cmd = Command('_', '\x30\x23', 'recordingtools', 'delete', (), None) self.set_input_cmd = Command('_', '\x32\x01', 'recordingtools', 'set_input', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_mode_cmd = Command('_', '\x32\x02', 'recordingtools', 'set_mode', (aksy.devices.akai.sysex_types.BYTE, ), None) self.enable_monitor_cmd = Command( '_', '\x32\x03', 'recordingtools', 'enable_monitor', (aksy.devices.akai.sysex_types.BOOL, ), None) self.set_rec_time_cmd = Command( '_', '\x32\x04', 'recordingtools', 'set_rec_time', (aksy.devices.akai.sysex_types.DWORD, ), None) self.set_orig_pitch_cmd = Command( '_', '\x32\x05', 'recordingtools', 'set_orig_pitch', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_threshold_cmd = Command( '_', '\x32\x06', 'recordingtools', 'set_threshold', (aksy.devices.akai.sysex_types.SBYTE, ), None) self.set_trigger_src_cmd = Command( '_', '\x32\x07', 'recordingtools', 'set_trigger_src', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_bit_depth_cmd = Command( '_', '\x32\x08', 'recordingtools', 'set_bit_depth', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_prerec_time_cmd = Command( '_', '\x32\x09', 'recordingtools', 'set_prerec_time', (aksy.devices.akai.sysex_types.WORD, ), None) self.set_dest_cmd = Command('_', '\x32\x0A', 'recordingtools', 'set_dest', (aksy.devices.akai.sysex_types.BYTE, ), None) self.set_name_cmd = Command('_', '\x32\x10', 'recordingtools', 'set_name', (aksy.devices.akai.sysex_types.STRING, ), None) self.set_name_seed_cmd = Command( '_', '\x32\x11', 'recordingtools', 'set_name_seed', (aksy.devices.akai.sysex_types.STRING, ), None) self.set_autorec_mode_cmd = Command( '_', '\x32\x12', 'recordingtools', 'set_autorec_mode', (aksy.devices.akai.sysex_types.BOOL, ), None) self.set_autonormalize_cmd = Command( '_', '\x32\x13', 'recordingtools', 'set_autonormalize', (aksy.devices.akai.sysex_types.BOOL, ), None) self.get_input_cmd = Command('_', '\x33\x01', 'recordingtools', 'get_input', (), None) self.get_mode_cmd = Command('_', '\x33\x02', 'recordingtools', 'get_mode', (), None) self.get_monitor_cmd = Command('_', '\x33\x03', 'recordingtools', 'get_monitor', (), None) self.get_rec_time_cmd = Command('_', '\x33\x04', 'recordingtools', 'get_rec_time', (), None) self.get_pitch_cmd = Command('_', '\x33\x05', 'recordingtools', 'get_pitch', (), None) self.get_threshold_cmd = Command('_', '\x33\x06', 'recordingtools', 'get_threshold', (), None) self.get_trigger_src_cmd = Command('_', '\x33\x07', 'recordingtools', 'get_trigger_src', (), None) self.get_bit_depth_cmd = Command('_', '\x33\x08', 'recordingtools', 'get_bit_depth', (), None) self.get_prerec_time_cmd = Command('_', '\x33\x09', 'recordingtools', 'get_prerec_time', (), None) self.get_dest_cmd = Command('_', '\x33\x0A', 'recordingtools', 'get_dest', (), None) self.get_name_cmd = Command('_', '\x33\x10', 'recordingtools', 'get_name', (), None) self.get_name_seed_cmd = Command('_', '\x33\x11', 'recordingtools', 'get_name_seed', (), None) self.get_autorec_mode_cmd = Command('_', '\x33\x12', 'recordingtools', 'get_autorec_mode', (), None) self.get_autonormalize_cmd = Command('_', '\x33\x13', 'recordingtools', 'get_autonormalize', (), None)
def __init__(self, z48): self.sampler = z48 self.is_fxcard_installed_cmd = Command('_', '\x24\x01', 'multifxtools', 'is_fxcard_installed', (), None) self.get_no_channels_cmd = Command('_', '\x24\x10', 'multifxtools', 'get_no_channels', (), None) self.get_max_modules_cmd = Command( '_', '\x24\x11', 'multifxtools', 'get_max_modules', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_no_cmd = Command('_', '\x24\x20', 'multifxtools', 'get_no', (), None) self.get_name_cmd = Command('_', '\x24\x21', 'multifxtools', 'get_name', (aksy.devices.akai.sysex_types.WORD, ), None) self.get_id_cmd = Command('_', '\x24\x22', 'multifxtools', 'get_id', (aksy.devices.akai.sysex_types.WORD, ), None) self.get_param_index_output_ctrl_cmd = Command( '_', '\x24\x24', 'multifxtools', 'get_param_index_output_ctrl', (aksy.devices.akai.sysex_types.WORD, ), None) self.get_number_of_parameters_cmd = Command( '_', '\x24\x30', 'multifxtools', 'get_number_of_parameters', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_parameter_minimum_cmd = Command( '_', '\x24\x31', 'multifxtools', 'get_parameter_minimum', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_parameter_maximum_cmd = Command( '_', '\x24\x32', 'multifxtools', 'get_parameter_maximum', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_parameter_name_cmd = Command( '_', '\x24\x33', 'multifxtools', 'get_parameter_name', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_parameter_units_cmd = Command( '_', '\x24\x34', 'multifxtools', 'get_parameter_units', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_parameter_type_cmd = Command( '_', '\x24\x35', 'multifxtools', 'get_parameter_type', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_display_template_cmd = Command( '_', '\x24\x36', 'multifxtools', 'get_display_template', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_parameter_position_id_cmd = Command( '_', '\x24\x38', 'multifxtools', 'get_parameter_position_id', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_number_of_parameter_groups_cmd = Command( '_', '\x24\x40', 'multifxtools', 'get_number_of_parameter_groups', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_group_name_cmd = Command('_', '\x24\x41', 'multifxtools', 'get_group_name', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_group_index_of_parameter_cmd = Command( '_', '\x24\x42', 'multifxtools', 'get_group_index_of_parameter', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_channel_mute_cmd = Command( '_', '\x26\x20', 'multifxtools', 'set_channel_mute', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_channel_input_cmd = Command( '_', '\x26\x21', 'multifxtools', 'set_channel_input', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_channel_output_cmd = Command( '_', '\x26\x22', 'multifxtools', 'set_channel_output', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_effect_by_name_cmd = Command( '_', '\x26\x30', 'multifxtools', 'set_effect_by_name', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.STRING), None) self.set_effect_by_index_cmd = Command( '_', '\x26\x31', 'multifxtools', 'set_effect_by_index', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.enable_fx_module_cmd = Command( '_', '\x26\x40', 'multifxtools', 'enable_fx_module', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_parameter_value_cmd = Command( '_', '\x26\x50', 'multifxtools', 'set_parameter_value', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.SDWORD), None) self.map_qlink_control_cmd = Command( '_', '\x26\x52', 'multifxtools', 'map_qlink_control', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.is_channel_muted_cmd = Command( '_', '\x27\x20', 'multifxtools', 'is_channel_muted', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_channel_input_cmd = Command( '_', '\x27\x21', 'multifxtools', 'get_channel_input', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_channel_output_cmd = Command( '_', '\x27\x22', 'multifxtools', 'get_channel_output', (aksy.devices.akai.sysex_types.BYTE, ), None) self.get_by_name_cmd = Command('_', '\x27\x30', 'multifxtools', 'get_by_name', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_by_index_cmd = Command('_', '\x27\x31', 'multifxtools', 'get_by_index', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.is_module_enabled_cmd = Command( '_', '\x27\x40', 'multifxtools', 'is_module_enabled', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_param_value_cmd = Command( '_', '\x27\x50', 'multifxtools', 'get_param_value', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_param_string_cmd = Command( '_', '\x27\x51', 'multifxtools', 'get_param_string', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.get_param_qlinkctrl_cmd = Command( '_', '\x27\x52', 'multifxtools', 'get_param_qlinkctrl', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_channel_mute_cmd = Command( '_', '\x26\x20', 'multifxtools', 'set_channel_mute', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_channel_input_cmd = Command( '_', '\x26\x21', 'multifxtools', 'set_channel_input', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_channel_output_cmd = Command( '_', '\x26\x22', 'multifxtools', 'set_channel_output', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_fx_by_name_cmd = Command( '_', '\x26\x30', 'multifxtools', 'set_fx_by_name', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.STRING), None) self.set_fx_by_id_cmd = Command('_', '\x26\x31', 'multifxtools', 'set_fx_by_id', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.WORD), None) self.enable_module_cmd = Command('_', '\x26\x40', 'multifxtools', 'enable_module', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BOOL), None) self.set_param_value_cmd = Command( '_', '\x26\x50', 'multifxtools', 'set_param_value', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None) self.set_param_qlinkctrl_cmd = Command( '_', '\x26\x52', 'multifxtools', 'set_param_qlinkctrl', (aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE, aksy.devices.akai.sysex_types.BYTE), None)