bug? two files, public class, UGen outside class
Make two files:
---- test.ck ----
SinOsc s => dac;
public class NoiseMaker
{
public void tick() {
beep(72);
}
public void beep(float note)
{
Math.mtof(note) => s.freq;
1 => s.gain;
20::ms => now;
0 => s.gain;
}
}
while (1) { 1::second => now; }
---- test2.ck ----
NoiseMaker nm[];
new NoiseMaker[1] @=> nm;
while (1) {
for (0=>int i; i
participants (1)
-
Stephen Sinclair