From cbca4bac0dfa639a51636c48346619b3da04bad3 Mon Sep 17 00:00:00 2001 From: Eugene Petkevich Date: Wed, 6 Dec 2023 23:17:07 +0100 Subject: [PATCH] Add log drum connection and sequencing --- ...0\270\321\201\320\265\321\201\321\216.scd" | 18 +++++++++ ...0\260\324\211\321\217\324\203\320\276.scd" | 40 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 "\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\320\237\320\270\321\201\320\265\321\201\321\216/\320\237\320\270\321\201\320\265\321\201\321\216.scd" create mode 100644 "\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\324\212\320\260\324\211\321\217\324\203\320\276/\324\212\320\260\324\211\321\217\324\203\320\276.scd" diff --git "a/\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\320\237\320\270\321\201\320\265\321\201\321\216/\320\237\320\270\321\201\320\265\321\201\321\216.scd" "b/\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\320\237\320\270\321\201\320\265\321\201\321\216/\320\237\320\270\321\201\320\265\321\201\321\216.scd" new file mode 100644 index 0000000..a57043c --- /dev/null +++ "b/\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\320\237\320\270\321\201\320\265\321\201\321\216/\320\237\320\270\321\201\320\265\321\201\321\216.scd" @@ -0,0 +1,18 @@ +( +~beat = 1.split(3); +) +( +Pdef(\pobitopy, Pbind(*[ + type: \midi, + midiout: m.arout1, + chan: 0, + midicmd: \noteOn, + midinote: Pshuf([0, 0, 2, 5, 7, 7].wrapExtend(~beat.size)+36, inf), + dur: Pseq(~beat, inf), + db: Pseq([-3], inf), + legato: 0.9, + hasGate: true, +])).quant_(4).play; +) + +Pdef(\pobitopy).stop; \ No newline at end of file diff --git "a/\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\324\212\320\260\324\211\321\217\324\203\320\276/\324\212\320\260\324\211\321\217\324\203\320\276.scd" "b/\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\324\212\320\260\324\211\321\217\324\203\320\276/\324\212\320\260\324\211\321\217\324\203\320\276.scd" new file mode 100644 index 0000000..0a6cd04 --- /dev/null +++ "b/\320\232\320\260/\320\232\320\260\320\274\320\265\320\274-\324\212\320\260\324\211\321\217\324\203\320\276/\324\212\320\260\324\211\321\217\324\203\320\276.scd" @@ -0,0 +1,40 @@ +( +~beat = 1.split(3); +) + +( +~melody = [0, 0, 2, 5, 7, 7]; +Pdef(\pobitopy, Pbind(*[ + type: \midi, + midiout: m.arout1, + chan: 0, + midicmd: \noteOn, + midinote: Pshuf(~melody.wrapExtend(~beat.size)+36, inf), + dur: Pseq(~beat, inf), + db: Pwhite(-2, 0, inf), + legato: 0.9, + hasGate: true, +])).quant_(1).play; +) + +Pdef(\pobitopy).stop; + +( +~melodyBeat = 4.split(7); +) +( +~melodyPad = [0, 2, 4, 5, 7, 9, 11].scramble; +Pdef(\dytesexu, Pbind(*[ + type: \midi, + midiout: m.arout2, + chan: 0, + midicmd: \noteOn, + midinote: Pshuf(~melodyPad.wrapExtend(~melodyBeat.size)+60, inf), + dur: Pseq(~melodyBeat, inf), + db: Pwhite(-2, 0, inf), + legato: 0.9, + hasGate: true, +])).quant_(1).play; +) + +Pdef(\dytesexu).stop; \ No newline at end of file -- 2.17.1