-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextHistNodeProxy.sc
executable file
·76 lines (69 loc) · 1.07 KB
/
extHistNodeProxy.sc
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
// historizing NodeProxy
// from adc
+ NodeProxy {
histSet { arg ... args; // pairs of keys or indices and value
var str;
if (History.started) {
str = this.asCompileString ++ ".set(*" + args.asCompileString + ");";
thisProcess.interpreter.cmdLine_(str)
.interpretPrintCmdLine;
} {
this.set(*args);
};
}
histPlay {
var str;
if (History.started) {
str = this.asCompileString ++ ".play";
thisProcess.interpreter.cmdLine_(str).interpretPrintCmdLine
} {
this.play
}
}
histStop {
var str;
if (History.started) {
str = this.asCompileString ++ ".stop";
thisProcess.interpreter.cmdLine_(str).interpretPrintCmdLine
} {
this.stop
}
}
histVol_ { |val|
var str;
if (History.started) {
str = this.asCompileString ++ ".vol_(" ++ val.asString ++ ");";
thisProcess.interpreter.cmdLine_(str).interpretPrintCmdLine
} {
this.initMonitor(val)
}
}
//
// unset {
//
// }
//
// rebuild {
//
// }
//
// send {
//
// }
//
// map {
//
// }
//
// unmap {
//
// }
//
// pause {
//
// }
//
// resume {
//
// }
}