Exemplo n.º 1
0
class ClipModel(Binding):
	ADAPTER = ClipAdapter
	id = id_property()
	name = view_property(unicode, '')
	color_index = view_property(int, -1)
	is_recording = view_property(bool, False)
	view = view_property(ClipViewModel)
Exemplo n.º 2
0
class SetupModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	settings = view_property(SettingsModel)
	selected_mode = view_property(unicode, '')
	modes = view_property(listof(unicode))
	velocity_curve = view_property(VelocityCurveModel)
Exemplo n.º 3
0
class Device(Binding):
	ADAPTER = DeviceAdapter
	name = view_property(unicode, '')
	nestingLevel = view_property(int, 0)
	is_active = view_property(bool, False)
	id = id_property()
	class_name = view_property(unicode, '')
	icon = view_property(unicode, '')
Exemplo n.º 4
0
class PadSettingsModel(Binding):
	sensitivity = view_property(int, 0)
	min_sensitivity = view_property(int, 0)
	max_sensitivity = view_property(int, 0)
	gain = view_property(int, 0)
	min_gain = view_property(int, 0)
	max_gain = view_property(int, 0)
	dynamics = view_property(int, 0)
	min_dynamics = view_property(int, 0)
	max_dynamics = view_property(int, 0)
Exemplo n.º 5
0
class SimplerView(Binding):
	sample_start = view_property(int, 0)
	sample_end = view_property(int, 0)
	sample_loop_start = view_property(int, 0)
	sample_loop_end = view_property(int, 0)
	sample_loop_fade = view_property(int, 0)
	sample_env_fade_in = view_property(int, 0)
	sample_env_fade_out = view_property(int, 0)
Exemplo n.º 6
0
class SimplerDeviceViewModel(ViewModel):
	visible = view_property(bool, False)
	deviceType = view_property(unicode, '')
	simpler = view_property(Device)
	parameters = view_property(listof(DeviceParameter))
	properties = view_property(SimplerProperties)
	wants_waveform_shown = view_property(bool, False)
	processed_zoom_requests = view_property(int, 0)
Exemplo n.º 7
0
class QuantizeSettingsModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	swing_amount = view_property(float, 0.0)
	quantize_to_index = view_property(int, -1)
	quantize_amount = view_property(float, 0.0)
	record_quantization_index = view_property(int, -1)
	record_quantization_enabled = view_property(bool, False)
	quantization_option_names = view_property(listof(unicode))
Exemplo n.º 8
0
class ScalesModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	scale_names = view_property(listof(unicode), '')
	selected_scale_index = view_property(int, -1)
	root_note_names = view_property(listof(unicode), '')
	selected_root_note_index = view_property(int, -1)
	note_layout = view_property(NoteLayout)
	horizontal_navigation = view_property(bool, False)
Exemplo n.º 9
0
class SettingsModel(Binding):
	general = view_property(GeneralSettingsModel)
	pad_settings = view_property(PadSettingsModel)
	hardware = view_property(HardwareSettingsModel)
	display_debug = view_property(DisplayDebugSettingsModel)
	profiling = view_property(ProfilingSettingsModel)
	experimental = view_property(ExperimentalSettingsModel)
Exemplo n.º 10
0
class DisplayDebugSettingsModel(Binding):
	show_row_spaces = view_property(bool, False)
	show_row_margins = view_property(bool, False)
	show_row_middle = view_property(bool, False)
	show_button_spaces = view_property(bool, False)
	show_unlit_button = view_property(bool, False)
	show_lit_button = view_property(bool, False)
Exemplo n.º 11
0
class HardwareSettingsModel(Binding):
	min_led_brightness = view_property(int, 0)
	max_led_brightness = view_property(int, 0)
	led_brightness = view_property(int, 0)
	min_display_brightness = view_property(int, 0)
	max_display_brightness = view_property(int, 0)
	display_brightness = view_property(int, 0)
Exemplo n.º 12
0
class NoteSettingsModel(Binding):
	ADAPTER = VisibleAdapter
	nudge = view_property(NoteSettingModel)
	coarse = view_property(NoteSettingModel)
	fine = view_property(NoteSettingModel)
	velocity = view_property(NoteSettingModel)
	color_index = view_property(int, -1)
	visible = view_property(bool, False)
Exemplo n.º 13
0
class VisibleModel(ViewModel):
	visible = view_property(bool, False)
Exemplo n.º 14
0
class TrollMixerViewModel(ViewModel):
	volumeControlListView = view_property(DeviceParameterListModel)
	panControlListView = view_property(DeviceParameterListModel)
	trackControlView = view_property(TrackControlModel)
	sendControlListView = view_property(DeviceParameterListModel)
	realtimeMeterData = view_property(listof(RealTimeChannel))
Exemplo n.º 15
0
class LiveDialogViewModel(Binding):
	ADAPTER = LiveDialogAdapter
	visible = view_property(bool, False)
	text = view_property(unicode, u'')
	can_cancel = view_property(bool, False)
Exemplo n.º 16
0
class FirmwareUpdateModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	firmware_file = view_property(unicode, u'')
	data_file = view_property(unicode, u'')
	state = view_property(unicode, u'')
Exemplo n.º 17
0
class ItemSlotModel(Binding):
	ADAPTER = ItemSlotAdapter
	name = view_property(unicode, '')
	icon = view_property(unicode, '')
Exemplo n.º 18
0
class EditModeOption(Binding):
	ADAPTER = EditModeOptionAdapter
	firstChoice = view_property(unicode, '')
	secondChoice = view_property(unicode, '')
	activeIndex = view_property(int, 0)
	active = view_property(bool, False)
Exemplo n.º 19
0
class VelocityCurveModel(Binding):
	curve_points = view_property(listof(int))
Exemplo n.º 20
0
class TrollMixerSelectionListModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	items = view_property(listof(ItemSlotModel))
Exemplo n.º 21
0
class RootModel(ViewModel):
	
	notificationView = view_property(Notification)
	realTimeClient = view_property(RealTimeClient)
	modeState = view_property(ModeState)
	controls = view_property(Controls)
	liveDialogView = view_property(LiveDialogViewModel)
	mixerSelectView = view_property(MixerSelectionListModel)
	trackMixerSelectView = view_property(TrackMixerSelectionListModel)
	devicelistView = view_property(DeviceListModel)
	editModeOptionsView = view_property(EditModeOptionsModel)
	deviceParameterView = view_property(DeviceParameterListModel)
	simplerDeviceView = view_property(SimplerDeviceViewModel)
	mixerView = view_property(MixerViewModel)
	tracklistView = view_property(TrackListModel)
	chainListView = view_property(ChainListModel)
	parameterBankListView = view_property(ParameterBankListModel)
	browserView = view_property(BrowserModel)
	browserData = view_property(BrowserData)
	convertView = view_property(ConvertModel)
	scalesView = view_property(ScalesModel)
	quantizeSettingsView = view_property(QuantizeSettingsModel)
	fixedLengthSelectorView = view_property(FixedLengthSelectorModel)
	fixedLengthSettings = view_property(FixedLengthSettingsModel)
	noteSettingsView = view_property(NoteSettingsModel)
	stepSettingsView = view_property(StepSettingsModel)
	stepAutomationSettingsView = view_property(StepAutomationSettingsModel)
	audioClipSettingsView = view_property(AudioClipSettingsModel)
	loopSettingsView = view_property(LoopSettingsModel)
	clipView = view_property(ClipControlModel)
	setupView = view_property(SetupModel)
	importantGlobals = view_property(ImportantGlobals)
	firmwareInfo = view_property(FirmwareInfo)
	firmwareUpdate = view_property(FirmwareUpdateModel)
Exemplo n.º 22
0
class Chain(Binding):
	ADAPTER = ItemSlotAdapter
	name = view_property(unicode, '')
	id = id_property()
	icon = view_property(unicode, '')
Exemplo n.º 23
0
class ParameterBankListModel(Binding):
	ADAPTER = ItemListAdapter
	visible = view_property(bool, False)
	items = view_property(listof(ItemSlotModel))
	selectedItem = view_property(ItemSlotModel)
Exemplo n.º 24
0
class Track(Binding):
	ADAPTER = TrackAdapter
	name = view_property(unicode, '')
	colorIndex = view_property(int, -1)
	isFoldable = view_property(bool, False)
	containsDrumRack = view_property(bool, False)
	canShowChains = view_property(bool, False)
	nestingLevel = view_property(int, 0)
	activated = view_property(bool, True)
	isFrozen = view_property(bool, True)
	parentColorIndex = view_property(int, -1)
	arm = view_property(bool, False)
	isMaster = view_property(bool, False)
	isAudio = view_property(bool, False)
	id = id_property()
Exemplo n.º 25
0
class EditModeOptionsModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	device = view_property(unicode, '')
	options = view_property(listof(EditModeOption))
Exemplo n.º 26
0
class ValueModel(Binding):
	ADAPTER = VisibleAdapter
	visible = view_property(bool, False)
	value_string = view_property(unicode, '')
Exemplo n.º 27
0
class ChainListModel(Binding):
	ADAPTER = ItemListAdapter
	visible = view_property(bool, False)
	items = view_property(listof(Chain))
	selectedItem = view_property(Chain)
Exemplo n.º 28
0
class ImportantGlobals(ViewModel):
	masterVolume = view_property(ValueModel)
	cueVolume = view_property(ValueModel)
	swing = view_property(ValueModel)
	tempo = view_property(ValueModel)
Exemplo n.º 29
0
class MixerSelectionListModel(Binding):
	ADAPTER = OptionsListAdapter
	visible = view_property(bool, False)
	items = view_property(listof(ItemSlotModel))
	selectedItem = view_property(unicode, '')
Exemplo n.º 30
0
class FirmwareInfo(ViewModel):
	major = view_property(int, 0)
	minor = view_property(int, 0)
	build = view_property(int, 0)
	serialNumber = view_property(int, 0)