-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMaxDevice.py
More file actions
149 lines (125 loc) · 4.45 KB
/
MaxDevice.py
File metadata and controls
149 lines (125 loc) · 4.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# All referenced (missing descriptions)
from typing import Callable
from Live.Device import Device
class MaxDevice(Device):
"""
This class represents a Max for Live device.
"""
@property
def audio_inputs(self):
"""
Const access to a list of all audio inputs in the device.
"""
return
@property
def audio_outputs(self):
"""
Const access to a list of all audio outputs in the device.
"""
return
@property
def midi_inputs(self):
"""
Const access to a list of all MIDI inputs in the device.
"""
return
@property
def midi_outputs(self):
"""
Const access to a list of all MIDI outputs in the device.
"""
return
def add_audio_inputs_listener(self, arg2: Callable):
"""
Add a listener function or method, which will be called as soon as the property "audio_inputs" has changed.
"""
return
def add_audio_outputs_listener(self, arg2: Callable):
"""
Add a listener function or method, which will be called as soon as the property "audio_outputs" has changed.
"""
return
def add_bank_parameters_changed_listener(self, arg2: Callable):
"""
Add a listener function or method, which will be called as soon as the property "bank_parameters_changed" has changed.
"""
return
def add_midi_inputs_listener(self, arg2: Callable):
"""
Add a listener function or method, which will be called as soon as the property "midi_inputs" has changed.
"""
return
def add_midi_outputs_listener(self, arg2: Callable):
"""
Add a listener function or method, which will be called as soon as the property "midi_outputs" has changed.
"""
return
def audio_inputs_has_listener(self, arg2: Callable) -> bool:
"""
:return: The given listener function or method is connected to the property "audio_inputs".
"""
return False
def audio_outputs_has_listener(self, arg2: Callable) -> bool:
"""
:return: The given listener function or method is connected to the property "audio_outputs".
"""
return False
def bank_parameters_changed_has_listener(self, arg2: Callable) -> bool:
"""
:return: The given listener function or method is connected to the property "bank_parameters_changed".
"""
return False
def get_bank_count(self) -> int:
"""
:return: The number of parameter banks.
"""
return 0
def get_bank_name(self, arg2: int) -> str:
"""
:return: Retrieves the number of parameter banks, related to hardware control surfaces.
"""
return ""
def get_bank_parameters(self, arg2: int):
"""
:return: Retrieves the indices of parameters using the given bank index.
"""
def get_value_item_icons(self, arg2):
"""
:return: Retrieves a list of icon identifier strings for a list parameter's values.
"""
return
def midi_inputs_has_listener(self, arg2: Callable) -> bool:
"""
:return: The given listener function or method is connected to the property "midi_inputs".
"""
return False
def midi_outputs_has_listener(self, arg2: Callable) -> bool:
"""
:return: The given listener function or method is connected to the property "midi_outputs".
"""
return False
def remove_audio_inputs_listener(self, arg2: Callable):
"""
Remove a previously set listener function or method from property "audio_inputs".
"""
return
def remove_audio_outputs_listener(self, arg2: Callable):
"""
Remove a previously set listener function or method from property "audio_outputs".
"""
return
def remove_bank_parameters_changed_listener(self, arg2: Callable):
"""
Remove a previously set listener function or method from property "bank_parameters_changed".
"""
return
def remove_midi_inputs_listener(self, arg2: Callable):
"""
Remove a previously set listener function or method from property "midi_inputs".
"""
return
def remove_midi_outputs_listener(self, arg2: Callable):
"""
Remove a previously set listener function or method from property "midi_outputs".
"""
return