From 494d5701735513e704ef57294bba9574486e0bf9 Mon Sep 17 00:00:00 2001 From: mwinter Date: Wed, 30 Aug 2023 12:39:04 +0200 Subject: [PATCH 1/6] adding output control and mucho bug fixes --- .../custom_module_hdp_sync.js | 6 +- live_utilities/openstagecontrol/mixer.json | 104 +++++++++++++++++- .../openstagecontrol/mixer_transport.json | 4 +- .../supercollider/live_utilities.scd | 39 +++---- 4 files changed, 120 insertions(+), 33 deletions(-) diff --git a/live_utilities/openstagecontrol/custom_module_hdp_sync.js b/live_utilities/openstagecontrol/custom_module_hdp_sync.js index 47c2f18..9dbf06f 100644 --- a/live_utilities/openstagecontrol/custom_module_hdp_sync.js +++ b/live_utilities/openstagecontrol/custom_module_hdp_sync.js @@ -142,11 +142,11 @@ module.exports = { //piece = tokens[2] type = tokens[3] val = args[0].value - if(type != "volume_master") { + if((type == "volume_master") || (type == "volume_click") || (type == "out_audio") || (type == "out_click")) { + args = [{'type': 's', 'value': type}, {'type': 'f', 'value': val}] + } else { index = tokens[4] args = [{'type': 's', 'value': type}, {'type': 's', 'value': index}, {'type': 'f', 'value': val}] - } else { - args = [{'type': 's', 'value': type}, {'type': 'f', 'value': val}] } //args = [{'type': 's', 'value': piece}, {'type': 's', 'value': type}, {'type': 's', 'value': index}, {'type': 'f', 'value': val}] //console.log(data) diff --git a/live_utilities/openstagecontrol/mixer.json b/live_utilities/openstagecontrol/mixer.json index 54271c7..024279e 100644 --- a/live_utilities/openstagecontrol/mixer.json +++ b/live_utilities/openstagecontrol/mixer.json @@ -160,7 +160,7 @@ "interaction": true, "comments": "", "width": "100%", - "height": "100%", + "height": "95%", "expand": "false", "colorText": "auto", "colorWidget": "auto", @@ -204,6 +204,56 @@ "onCreate": "", "onValue": "", "onTouch": "" + }, + { + "type": "dropdown", + "top": "95%", + "left": 0, + "lock": false, + "id": "mixer/@{parent.variables.piece}/out_audio", + "visible": true, + "interaction": true, + "comments": "", + "width": "100%", + "height": "5%", + "expand": "false", + "colorText": "auto", + "colorWidget": "auto", + "colorStroke": "auto", + "colorFill": "auto", + "alphaStroke": "auto", + "alphaFillOff": "auto", + "alphaFillOn": "auto", + "lineWidth": "auto", + "borderRadius": "auto", + "padding": "auto", + "html": "", + "css": "", + "label": "auto", + "icon": "true", + "align": "center", + "values": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "value": "", + "default": 1, + "linkId": "", + "address": "auto", + "preArgs": "", + "typeTags": "", + "decimals": 0, + "target": "", + "ignoreDefaults": false, + "bypass": false, + "onCreate": "", + "onValue": "" } ], "tabs": [] @@ -369,7 +419,7 @@ "interaction": true, "comments": "", "width": "100%", - "height": "100%", + "height": "95%", "expand": "false", "colorText": "auto", "colorWidget": "auto", @@ -413,6 +463,56 @@ "onCreate": "", "onValue": "", "onTouch": "" + }, + { + "type": "dropdown", + "top": "95%", + "left": 0, + "lock": false, + "id": "mixer/@{parent.variables.piece}/out_click", + "visible": true, + "interaction": true, + "comments": "", + "width": "100%", + "height": "5%", + "expand": "false", + "colorText": "auto", + "colorWidget": "auto", + "colorStroke": "auto", + "colorFill": "auto", + "alphaStroke": "auto", + "alphaFillOff": "auto", + "alphaFillOn": "auto", + "lineWidth": "auto", + "borderRadius": "auto", + "padding": "auto", + "html": "", + "css": "", + "label": "auto", + "icon": "true", + "align": "center", + "values": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "value": "", + "default": 1, + "linkId": "", + "address": "auto", + "preArgs": "", + "typeTags": "", + "decimals": 0, + "target": "", + "ignoreDefaults": false, + "bypass": false, + "onCreate": "", + "onValue": "" } ], "tabs": [] diff --git a/live_utilities/openstagecontrol/mixer_transport.json b/live_utilities/openstagecontrol/mixer_transport.json index 3c5a52b..da3ede4 100644 --- a/live_utilities/openstagecontrol/mixer_transport.json +++ b/live_utilities/openstagecontrol/mixer_transport.json @@ -1012,7 +1012,7 @@ "scroll": true, "innerPadding": true, "tabsPosition": "top", - "label": "Jaendal", + "label": "Jaendel", "variables": "@{parent.variables}", "traversing": false, "value": "", @@ -1084,7 +1084,7 @@ "fallback": "", "props": { "variables": { - "piece": "kari", + "piece": "jaendel", "tempo": 60 } }, diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index 37d939e..a4fcf09 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -124,7 +124,7 @@ s.waitForBoot({ bergerCreatePatternsForLive = {arg seqs, group; var pBinds, cleanSeqs; cleanSeqs = [seqs[5], seqs[6], seqs[7], seqs[0], seqs[1], seqs[2]]; - pBinds = seqs.collect({arg r, i; + pBinds = cleanSeqs.collect({arg r, i; Pbind(\instrument, \berger, //\buf, Pseq((i - ((0..(r.slice(nil, 2).flat.size - 1)) / 10).trunc.asInteger) % 8), \group, group, @@ -219,12 +219,12 @@ s.waitForBoot({ [ Pbind(\instrument, \kariNoise, \group, group, - \out, 0, + \out, hdpBusArray[0], \dur, Pseq(dirs[0].slice(nil, 1) /* * 1.2*/), \snd, Pseq(dirs[0].slice(nil, 0))), Pbind(\instrument, \kariBass, \group, group, - \out, 1, + \out, hdpBusArray[1], \dur, Pseq(dirs[1].slice(nil, 1) /* * 1.2*/), \freq, Pseq((dirs[1].slice(nil, 0).collect({arg elem; [Rest(0), 36.midicps, 43.midicps][elem]})))), ] ++ @@ -232,7 +232,7 @@ s.waitForBoot({ dirs.drop(2).reverse.collect({arg row, i; Pbind(\instrument, \kariEnsemble, \group, group, - \out, i + 2, + \out, hdpBusArray[i + 2], \dur, Pseq(row.slice(nil, 1) /* * 1.2*/), //\sustain, Pseq(row.slice(nil, 1) * 1.2), \freq, Pseq(row.slice(nil, 0).collect({arg val; if(val == 5, {Rest(0)}, {(60 + (val.trunc * 7)).midicps})})), @@ -280,21 +280,6 @@ s.waitForBoot({ ); }; - SynthDef(\mixer_old, {arg freq, gate = 1, sustain, amp, dur, out; - var nameSpaces, sigs; - - sigs = [hdpBusArray].collect({arg busArray, i; - var nameSpace, sig; - nameSpace = ['hdp'][i]; - sig = busArray.collect({arg bus, c; In.ar(bus, 1) * NamedControl.kr(\ ++ nameSpace ++ '_volume_' ++ c, 1, 0.1)}); - sig = sig.collect({arg channel, c; Pan2.ar(channel, NamedControl.kr(\ ++ nameSpace ++ '_pan_' ++ c, i / (busArray.size - 1), 0.1) * 2 - 1)}); - sig = sig.collect({arg channel, c; channel * NamedControl.kr(\ ++ nameSpace ++ '_mute_' ++ c, 1, 0.1)}); - sig = Mix.ar(sig) * pow(NamedControl.kr(\ ++ nameSpace ++ '_volume_master', 1, 0.5), 2); - }); - - sigs = Mix.ar(sigs / 6); - Out.ar(0, sigs) - }).add; SynthDef(\mixer, { var sig, click; @@ -304,10 +289,10 @@ s.waitForBoot({ sig = sig.collect({arg channel, index; channel * NamedControl.kr(\mute_ ++ index, 1, 0.1)}); sig = Mix.ar(sig) * pow(NamedControl.kr(\volume_master, 0.75, 0.5), 2); - click = In.ar(clickBus, 1);// * NamedControl.kr(\volume_click, 0.75, 0.1); + click = In.ar(clickBus, 1) * NamedControl.kr(\volume_click, 0.75, 0.1); - Out.ar(0, sig); - Out.ar(2, click); + Out.ar(NamedControl.kr(\out_audio, 0, 0), sig); + Out.ar(NamedControl.kr(\out_click, 0, 0), click); }).add; @@ -389,11 +374,13 @@ s.waitForBoot({ OSCdef(\mixer, {arg msg, time, addr, port; - [msg, time, addr, port]; - if(msg[1].asString != "volume_master", { - mixer.set((msg[1] ++ '_' ++ msg[2]), msg[3]); + [msg, time, addr, port].postln; + if((msg[1].asString == "volume_master") || (msg[1].asString == "volume_click") || (msg[1].asString[..2] == "out"), { + var val = msg[2]; + if(msg[1].asString[..2] == "out", {val = val.round - 1}); + mixer.set(msg[1], val) }, { - mixer.set(msg[1], msg[2]) + mixer.set((msg[1] ++ '_' ++ msg[2]), msg[3]); }); }, \mixer); From 101fae842c610b1cf7d2ec2292e60644ce865f55 Mon Sep 17 00:00:00 2001 From: mwinter Date: Tue, 5 Sep 2023 00:39:51 +0200 Subject: [PATCH 2/6] shortening duration of primary click sample --- live_utilities/supercollider/live_utilities.scd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index a4fcf09..fe51742 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -273,7 +273,7 @@ s.waitForBoot({ \measure, Pseq(8.collect({arg i; 2}) ++ transportData.collect({arg item; item[0]}) - 1, 1), \beat, Pseq(8.collect({arg i; 2}) ++ transportData.collect({arg item; item[1]}) - 1, 1), \dur, Pseq(transportData.collect({arg item; item[2]}), 1), - \sustain, 1, + \sustain, 0.75, \primaryBufNum, clickBufPrimary, \secondaryBufNum, clickBufSecondary, \out, clickBus From 87fafc859958786aec5c432b49129e009b1aa0ac Mon Sep 17 00:00:00 2001 From: mwinter Date: Tue, 5 Sep 2023 02:54:06 +0200 Subject: [PATCH 3/6] fixing mega bugs introduced with audio click and another hidden regarding starts in ppar --- live_utilities/supercollider/live_utilities.scd | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index fe51742..93b0adf 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -272,7 +272,7 @@ s.waitForBoot({ //\dur, Pseq(8.collect({arg i; 1}) ++ transportData.collect({arg item; item[2]}), 1), \measure, Pseq(8.collect({arg i; 2}) ++ transportData.collect({arg item; item[0]}) - 1, 1), \beat, Pseq(8.collect({arg i; 2}) ++ transportData.collect({arg item; item[1]}) - 1, 1), - \dur, Pseq(transportData.collect({arg item; item[2]}), 1), + \dur, Pseq(8.collect({arg i; 1}) ++ transportData.collect({arg item; item[2]}), 1), \sustain, 0.75, \primaryBufNum, clickBufPrimary, \secondaryBufNum, clickBufSecondary, @@ -299,7 +299,7 @@ s.waitForBoot({ s.sync(c); createTransportData = {arg measureLengths; - measureLengths.collect({arg dur, measure; + measureLengths.postln.collect({arg dur, measure; var beats; if(dur.round(0.5) % 1 == 0, { dur.asInteger.collect({arg beat; @@ -308,6 +308,7 @@ s.waitForBoot({ }, { var eigths, beatDurs; eigths = (dur / 0.5).round(0.5).asInteger; + /* beatDurs = case {eigths <= 3} {[dur]} {eigths == 5} {[1, 1.5]} @@ -316,12 +317,14 @@ s.waitForBoot({ {eigths == 11} {[1, 1, 1, 1, 1.5]} {eigths == 13} {[1, 1, 1, 1, 1, 1.5]} {eigths == 15} {[1, 1, 1, 1, 1, 1, 1.5]}; + */ + beatDurs = eigths.collect({0.5}); beatDurs.collect({arg bDur, beat; [measure + 1, beat + 1, bDur] }) }); - }).flatten; + }).flatten.postln; }; createTransportPattern = {arg addr, transportData; @@ -395,7 +398,7 @@ s.waitForBoot({ var pbinds, transportData, measureLengths, patterns, stream, offset, offsetStream, terminationStream; # pbinds, transportData, measureLengths = playbackData[msg[2]]; //patterns = Ppar(pbinds.postln.add(createTransportPattern.value(addr, transportData).postln)); - patterns = Ptpar([0, createTransportPattern.value(addr, transportData), 1 * msg[5]/60.0, createClickPattern.value(transportData, group), 9 * msg[5]/60.0, Ppar(pbinds)]); + patterns = Ptpar([0, createTransportPattern.value(addr, transportData), 1 * msg[5]/60.0, createClickPattern.value(transportData, group), 8 + (msg[5]/60.0), Ppar(pbinds)]); stream = patterns.asStream; if(msg[3] == 1, { From aa56ac5b7a677e420624288647dfe11aa1df58d8 Mon Sep 17 00:00:00 2001 From: mwinter Date: Fri, 15 Sep 2023 11:01:43 +0200 Subject: [PATCH 4/6] fixing rounding bug and making 1/4 = 2/8 --- live_utilities/supercollider/live_utilities.scd | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index 93b0adf..d8148a4 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -299,10 +299,10 @@ s.waitForBoot({ s.sync(c); createTransportData = {arg measureLengths; - measureLengths.postln.collect({arg dur, measure; + measureLengths.collect({arg dur, measure; var beats; - if(dur.round(0.5) % 1 == 0, { - dur.asInteger.collect({arg beat; + if((dur.round(0.5) % 1 == 0) && (dur.round(0.5) != 1), { + dur.round(0.5).asInteger.collect({arg beat; [measure + 1, beat + 1, 1] }) }, { @@ -324,7 +324,7 @@ s.waitForBoot({ [measure + 1, beat + 1, bDur] }) }); - }).flatten.postln; + }).flatten; }; createTransportPattern = {arg addr, transportData; @@ -375,7 +375,6 @@ s.waitForBoot({ measureLengths = 284.collect({4}); playbackData.add(\jaendel -> [jaendelCreatePatternsForLive.value(seqs, 0, 1, 55, group), createTransportData.value(measureLengths), measureLengths]); - OSCdef(\mixer, {arg msg, time, addr, port; [msg, time, addr, port].postln; if((msg[1].asString == "volume_master") || (msg[1].asString == "volume_click") || (msg[1].asString[..2] == "out"), { From 033343908da872b7c1e920447baa96ec29664f91 Mon Sep 17 00:00:00 2001 From: mwinter Date: Mon, 18 Sep 2023 13:54:21 +0200 Subject: [PATCH 5/6] fixing berger parts and adding my new primary click --- .../supercollider/live_utilities.scd | 1 + .../music_data/primary_click.wav | Bin 8810254 -> 8802558 bytes 2 files changed, 1 insertion(+) diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index d8148a4..13d1e75 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -352,6 +352,7 @@ s.waitForBoot({ playbackData = Dictionary.new(n: 6); seqs = File.readAllString((dir +/+ "music_data" +/+ "berger.txt").standardizePath).interpret; + seqs.size.postln; measureLengths = seqs[0][6]; playbackData.add(\berger -> [bergerCreatePatternsForLive.value(seqs, group), createTransportData.value(measureLengths), measureLengths]); diff --git a/live_utilities/supercollider/music_data/primary_click.wav b/live_utilities/supercollider/music_data/primary_click.wav index bd5b7765f62111b340f885353d983b7b4e30f665..20d0076a6d4aeb52f676660b8ae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 Sep 2023 14:26:39 +0200 Subject: [PATCH 6/6] actually committing fix to berger parts --- live_utilities/supercollider/live_utilities.scd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live_utilities/supercollider/live_utilities.scd b/live_utilities/supercollider/live_utilities.scd index 13d1e75..1e483b7 100644 --- a/live_utilities/supercollider/live_utilities.scd +++ b/live_utilities/supercollider/live_utilities.scd @@ -123,7 +123,7 @@ s.waitForBoot({ //create patterns bergerCreatePatternsForLive = {arg seqs, group; var pBinds, cleanSeqs; - cleanSeqs = [seqs[5], seqs[6], seqs[7], seqs[0], seqs[1], seqs[2]]; + cleanSeqs = [seqs[5], seqs[6], seqs[7], seqs[1], seqs[2], seqs[3]]; pBinds = cleanSeqs.collect({arg r, i; Pbind(\instrument, \berger, //\buf, Pseq((i - ((0..(r.slice(nil, 2).flat.size - 1)) / 10).trunc.asInteger) % 8),