!7 sclass AudioOutput > DynPrintLog { int bufSize = 40960; transient playAudioFromSampleMakingFunction_AudioLoop loop; void start { ownTimer(loop = playAudioFromSampleMakingFunction(bufSize, voidfunc(short[] pair) { makeSample(pair) })); print("Audio output loop started. Buffer size=" + bufSize + " (" + iround(bufSize/44100.0/4*1000) + " ms)"); } void makeSample(short[] pair) { pair[0] = pair[1] = 0; } }