You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Finally, open <code>build/ChucKDesignerCHOP.sln</code> and compile.
51
+
Then, <code>cmake --build build --config Release</code> to compile.
53
52
</details>
54
53
55
54
### MacOS
@@ -70,7 +69,17 @@ If you'd like to build the ChucKDesigner plugins yourself, these are the instruc
70
69
71
70
### Python interface to ChucK Audio CHOP
72
71
73
-
The ChucK Audio CHOP's functions:
72
+
The ChucK Audio CHOP's getter methods:
73
+
74
+
*`.get_float(name: str) -> float`
75
+
*`.get_int(name: str) -> int`
76
+
*`.get_string(name: str) -> str`
77
+
*`.get_float_array(name: str) -> List[float]`
78
+
*`.get_int_array(name: str) -> List[int]`
79
+
80
+
Note that these getters return results with a one-frame delay. They will return `None` the first time they're called. If `None` is returned on later calls, it means that the requested global variable wasn't found.
81
+
82
+
The ChucK Audio CHOP's setter methods:
74
83
75
84
*`.set_float(name: str, val: float)`
76
85
*`.set_int(name: str, val: int)`
@@ -84,6 +93,8 @@ The ChucK Audio CHOP's functions:
84
93
*`.broadcast_event(name: str)`
85
94
*`.set_log_level(level: int)`**0 is None and 10 is "Crazy"**
86
95
96
+
### Example
97
+
87
98
Suppose the ChucK Audio CHOP has compiled this code:
0 commit comments