blob: 3e2be34147daa0c62126932cf825a117a93612ff (
plain)
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
|
Bowelyzer{
var gui, <>server, <>analyzer, <>config, <>hub;
*new{
arg config;
^super.new.init(config);
}
init{
//initialize with configuration, if available (else use default)
arg config;
this.config = BowelyzerConfig.new(config);
server = Server.new(\bowelyzer, BowelyzerOSCHub.getNetAddr(this.config.config.at("synthServerAddress"), this.config.config.at("synthServerPort")));
Server.default = server;
server.waitForBoot({
analyzer = BowelyzerAnalyzer.new(this.config.config);
hub = BowelyzerOSCHub.new(this.config.config);
},
5,
{"scsynth failed to start!".postln});
//meter = ServerMeter.new(server, this.config.config.at(\channels));
//server.meter(this.config.config.at(\channels));
//server.makeGUI;
//server.scope;
}
}
|