Hello,
one of my students gets the following error
Server ‘localhost’ existed with exit code -1073741819.
on her laptop running Windows 10 (system locale: Korean) when controlling sound on the Window created by the following code:
~buffer = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01-44_1.aiff")
(
// Assignment 3: Develop the code below using MouseX.kr, MoueY.kr and SinOsc.kr to control ```~speed```, ```~amp``` and ```~position```.
~controlWin = Window.new("Control", Rect(0, 0, Window.screenBounds.width, Window.screenBounds.height)).front;
~controlWin.onClose_{ x.free };
x = {
~trig = MouseButton.kr(0, 1, 1e-3);
~fadeTime = MouseButton.kr(0, 1, 0.2);
~bufNum = ~buffer.bufnum;
~speed = 1;
~position = 0;
~amp = 0.1;
~source = PlayBuf.ar( ~buffer.numChannels, ~bufNum, ~speed * BufRateScale.kr(~bufNum), ~trig) * ~fadeTime;
~sig = Pan2.ar( ~source, ~position, ~amp );
~out = Out.ar(0, ~sig)
}.play
)
How could I resolve the problem? The SuperCollider version is 3.12.2.