software written for and in collaboration with violinist George Kentros. premiered at after work - this violin must die, fylkingen stockholm 30 mar 2019.

the program is written in supercollider with additional features like ipad control and video mixer made in maxmspjitter.

main interface

the main window with its eight tracks (configurable) looks like this...

here you can set an amplitude threshold for the microphone and arm tracks to automatically detect and capture sounds.

with the waveform selection (dark grey areas) you select what part of the captured sound you want your different players to use.

there are many players - all with different behaviours...
slow, medium, repetitive, scanner, sweep, nervous, fastRhythmic, slowRhythmic, limpRhythmic, fast, drill, jump, plain, half, third, quarter, pingpong, crawl, wave, waveHalf, pattern1, pattern2, pattern3, round, sync

player behaviours include in which direction and how fast to progress in the captured sound buffer, when to play for how long, with which envelope and how loud, how much transposition, play in which audio channel etc etc.
some of these players are using granular synthesis techniques while others are scratching and jumping around in the sound buffer in more or less unpredictable ways. hopefully the names listed here above will give a hint of what players do to the sound.

all players are pieces of code. for example this the code for the scanner player...

SynthDef(\scanner, {|buf, amp= 1, start= 0, end= 1|
        var dur= BufDur.kr(buf);
        var pha= LFNoise2.kr(In.kr(100)+0.1)+1/2;
        var pos= pha*(end-start)+start;
        var add= LFNoise2.kr(1);
        var fre= In.kr(101).linexp(0, 1, 1.1, 18)+add*SinOsc.kr(0.1).max(0.5);
        var snd= TGrains.ar(
                1+LFNoise2.kr(1, 0.05),
                LFNoise2.kr(0.06, 0.5),
        SendReply.kr(Impulse.kr(\updateRate.kr+1), '/pos', pos);
        Out.ar(\syncBus.ir(40)+\index.ir, K2A.ar(pha));
        snd= CompanderD.ar(snd, \compressorThresh.kr, 0.5, 0.5, 0.005, 0.01, EnvGate());
        Out.ar(\out.kr, snd);

and most players will look very similar to this. but there are also a few special ones like sync which just matches the playback position of the player in the track above.

in the main window one can also set track volume, bypass any global effects and read/write soundfiles.

the computer keyboard may be used for shortcuts quickly arming, playing and selecting what each track should play.

global control

there is also an additional control gui with global volume, effects, automation and record...

the three sliders delay, sustainer, distortion are just simple wet/dry control for global effects (that can be bypassed for each track using the bp button), while the other sliders freeze, fire, industry, chaos, air are more complex and control a bunch of effects and behaviours. for example freeze will take the sound from all players and smear it out by removing transients and pitch shifting copies of the sound up/down in octaves.

when the automation button is clicked, the program itself can start and stop tracks, change effects and vary a lot of other parameters in the code. the idea here is that the software should be able to run independently and generate interesting variations over long periods of time. also it should never go completely silent nor go wild and overload everything.

remote ipad interface

all the above can be viewed and controlled remotely from a tablet or a phone using a web browser. we programmed a look-alike gui patch with maxmsp and the mira externals. this patch talks to the supercollider interface over opensound control.

the interface here is even more ugly - specially the waveform display because the sound data had to be downsampled and kept at a low resolution to reduce wifi network traffic. also it was hard to fit everything on a single screen as all widgets had to be quite large and not too close to each other to be usable on an ipad.

our software also includes a video mixer for camera and movie playback (not shown here).