Server Commands
/s_new, /n_run, /n_set, n_free, “/quit”
Examples:
a = NetAddr("127.0.0.1", 57110);
a.sendMsg("/quit");
a.sendMsg("/s_new", "default", 2000, 0, 0, \freq, 400, \amp, 0.1);
a.sendMsg("/s_new", "default", 2001, 0, 0, \freq, 500, \amp, 0.1);
a.sendMsg("/s_new", "default", 2002, 0, 0, \freq, 600, \amp, 0.1);
a.sendMsg("/n_free", 2000);
a.sendMsg("/n_run", 2000, 0);
a.sendMsg("/n_run", 2000, 1);
a.sendMsg("/n_run", 2000, 0)
a.sendMsg("/n_set", 2000, "freq", 500);
a.sendMsg("/n_set", 2000, "freq", 1500);
a.sendMsg("/n_set", 2000, "freq", 150);
a.sendMsg("/n_free", 2000);
a.sendMsg("/n_run", 0, 1);
a.sendMsg("/n_run", 0, 0);
No comments:
Post a Comment