From a4d84b405674d112b26d4a4cbe5479625d3dd3f0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 23 Mar 2019 19:01:25 -0700 Subject: .config/SuperCollider/synthdefs.scd: Adding SynthDef to record 8 channels to disk with a volume array (through control Bus). --- .config/SuperCollider/synthdefs.scd | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.config/SuperCollider/synthdefs.scd b/.config/SuperCollider/synthdefs.scd index 51d320d..afa0828 100644 --- a/.config/SuperCollider/synthdefs.scd +++ b/.config/SuperCollider/synthdefs.scd @@ -35,3 +35,14 @@ SynthDef(\mix4BussesToOut, { Mix.new(SoundIn.ar(in, volume)) ); }).add; + +// Record 8 channels +SynthDef(\record8Channels, { + arg numBuf, + volume=#[0,0,0,0,0,0,0,0], + in=0; + DiskOut.ar( + numBuf, + In.ar(in, 8) * volume + ); +}).add; -- cgit v1.2.3-70-g09d2 From a75a7707850aae3fc568416820642bc649f59f38 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 9 Apr 2019 00:54:00 +0200 Subject: .config/sway/config: Adding mod+space as layout toggle. Quoting unused focus mode toggle. Adding clock to bar. --- .config/sway/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 18e030d..aca9c6f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -144,7 +144,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # Switch the current container between different layout styles bindsym $mod+s layout stacking bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split +# bindsym $mod+e layout toggle split + bindsym $mod+space layout toggle all # Make the current focus fullscreen bindsym $mod+f fullscreen @@ -153,7 +154,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill bindsym $mod+Shift+space floating toggle # Swap focus between the tiling area and the floating area - bindsym $mod+space focus mode_toggle +# bindsym $mod+space focus mode_toggle # move focus to the parent container bindsym $mod+a focus parent @@ -202,6 +203,7 @@ bindsym $mod+r mode "resize" # Read `man 5 sway-bar` for more information about this section. bar { position top + status_command while date +'%Y-%m-%d %R'; do sleep 1; done colors { statusline #ffffff background #323232 -- cgit v1.2.3-70-g09d2