From 3d19bb157e1184c29392381c9a2afd0ae2ab180c Mon Sep 17 00:00:00 2001 From: Leo Coogan Date: Sat, 26 Apr 2025 02:56:28 -0400 Subject: [PATCH] finalized 808 patch --- neo-hasidic_brainsex/808.scd | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/neo-hasidic_brainsex/808.scd b/neo-hasidic_brainsex/808.scd index 7c5855e..fa2339e 100644 --- a/neo-hasidic_brainsex/808.scd +++ b/neo-hasidic_brainsex/808.scd @@ -18,7 +18,7 @@ MIDIdef.cc(\ccTest, { // Load samples ( -~sampleDir = PathName("/home/lcoogan/snd/samples/seq/@808").fullPath; +~sampleDir = PathName("/home/lcoogan/snd/live/2025-04-26.Basic_City_Brewery/seq/borrowed_flesh/808").fullPath; ~samples = Dictionary.newFrom( ( @@ -38,7 +38,7 @@ MIDIdef.cc(\ccTest, { ~samples[39].class; ( -~sampleDir = PathName("/home/lcoogan/snd/samples/seq/@808"); +~sampleDir = PathName("/home/lcoogan/snd/live/2025-04-26.Basic_City_Brewery/seq/borrowed_flesh/808"); ~sample = (); ~sampleDir.entries.do({ |pn| var sym; @@ -48,11 +48,11 @@ MIDIdef.cc(\ccTest, { ) // Define the Synth for sample triggering with amp bus and drum bus -("/home/lcoogan/snd/live/2025-04-26.Basic_City_Brewery/trax/05-Cantor_Zavel_Kwartin_Ribono_Shel_Olam.wav""/home/lcoogan/snd/live/20"/home/lcoogan/snd/live/2025-04-26.Basic_City_Brewery/trax/02-Cantor_Mordechai_Hershman_Baruch_Hashem_Bayom.wav"25"/home/lcoogan/snd/live/2025-04-26.Basic_City_Brewery/trax/05-Cantor_Zavel_Kwartin_Ribono_Shel_Olam.wav"-04-26.Basic_City_Brewery/trax/05-Cantor_Zavel_Kwartin_Ribono_Shel_Olam.wav" +( SynthDef(\sampleTrigger, { |buf, ampin = 0, outbus = 0| var sound, amp; amp = In.kr(ampin, 1); - sound = PlayBuf.ar(1, buf, BufRateScale.ir(buf), doneAction: 2);"/home/lcoogan/snd/live/2025-04-26.Basic_City_Brewery/trax/05-Cantor_Zavel_Kwartin_Ribono_Shel_Olam.wav" + sound = PlayBuf.ar(1, buf, BufRateScale.ir(buf), doneAction: 2); sound = sound * amp; Out.ar(outbus, sound.dup); }).add; @@ -119,7 +119,8 @@ MIDIdef.cc('808amp', { |val, num| }, ccNum: [24, 29, 48, 51, 54, 57, 60, 63, 82, 85, 88], chan: [1]); MIDIdef.cc('drumBusAmp', { |val| - ~drumAmpBus.set(val / 127) -}, ccNum: 2, chan: 2); + ~drumAmpBus.set(val / 127); + ["808 volume", val/127].postln; +}, ccNum: 0, chan: 3); ) MIDIFunc.trace(true); \ No newline at end of file