-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathexolang.js
51 lines (39 loc) · 1.27 KB
/
exolang.js
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
import * as P from './output/Main/index.js';
export function exoLang(args) {
return new Punctual(args);
}
export function Punctual(args) {
if (args==null) args = {};
this.punctual = P.launch(args)();
}
Punctual.prototype.define = function(args) {
return P.define(this.punctual)(args)();
}
Punctual.prototype.clear = function(args) {
return P.clear(this.punctual)(args)();
}
Punctual.prototype.preRender = function(args) {
return P.preRender(this.punctual)(args)();
}
Punctual.prototype.render = function(args) {
return P.render(this.punctual)(args)();
}
Punctual.prototype.postRender = function(args) {
return P.postRender(this.punctual)(args)();
}
Punctual.prototype.setTempo = function(foreignTempo) {
return P.setTempo(this.punctual)(foreignTempo)();
}
Punctual.prototype.setAudioInput = function(effectWebAudioNode) {
return P.setAudioInput(this.punctual)(effectWebAudioNode)();
}
Punctual.prototype.setAudioOutput = function(webAudioNode) {
return P.setAudioOutput(this.punctual)(webAudioNode)();
}
Punctual.prototype.setBrightness = function(b) {
return P.setBrightness(this.punctual)(b)();
}
Punctual.prototype.setOutputChannelCount = function(n) {
console.log("punctual setOutputChannelCount " + n);
return P.setOutputChannelCount(this.punctual)(n)();
}