midi and setup files added
parent
9019b99243
commit
2cbdacd99f
22
gtr.scd
22
gtr.scd
|
@ -1,3 +1,5 @@
|
|||
/*RUN*/
|
||||
|
||||
// RUNME 0 =========================================
|
||||
|
||||
Server.default.waitForBoot { // see below .bundle timings for starting synths etc.
|
||||
|
@ -169,7 +171,7 @@ s.makeBundle(2.0, {
|
|||
|
||||
// START SYNTHS -------------------------------------
|
||||
|
||||
Synth(\mic, [\in, 0, \out, ~micBus], ~micGrp);
|
||||
~mic = Synth(\mic, [\in, 0, \out, ~micBus], ~micGrp);
|
||||
~pointer = Synth(\ptr, [\buf, b, \out, ~ptrBus], ~ptrGrp);
|
||||
// todo make togglable between fx and dry feeding sampler
|
||||
r = Synth(\recBuf, [\ptrIn, ~ptrBus, \micIn, ~micBus, \buf, b, \t_trig, 0], ~recGrp); // recorder
|
||||
|
@ -177,7 +179,7 @@ r = Synth(\recBuf, [\ptrIn, ~ptrBus, \micIn, ~micBus, \buf, b, \t_trig, 0], ~re
|
|||
~reverbFX = Synth(\freeVerb, [\in, ~reverbBus], ~fxGrp);
|
||||
~ringMod = Synth(\ringModulator, [\in, ~ringModBus], ~fxGrp);
|
||||
|
||||
b.zero;
|
||||
|
||||
|
||||
~g = 1.collect({
|
||||
arg n;
|
||||
|
@ -242,11 +244,12 @@ r.set(\l, 1);
|
|||
if ( ~pitchMode == 7,
|
||||
{
|
||||
//"it's 7".postln;
|
||||
msg.postln;
|
||||
~g.do({arg n; n.set(
|
||||
\rate, msg[2].linlin(-0.5, 0.5, 0.125,2);
|
||||
// msg.postln;
|
||||
~g.do({arg n; n.set( \rateRand, 1)}; );
|
||||
~g.do({arg n; n.set( \rate, msg[2].linlin(-0.5, 0.5, 0.125,2);
|
||||
//\rateRand, msg[3].linlin(0, -0.5, 1, 10);
|
||||
)}; );
|
||||
|
||||
},
|
||||
{} );
|
||||
|
||||
|
@ -319,7 +322,9 @@ p = OSCdef(\keys, { arg msg, time, addr, recvPort;
|
|||
|
||||
// BUTTON X ----- TRIGGER ONESHOT BUFFER RECORD
|
||||
if (msg[10] == 1, {
|
||||
r.set( \in, 0, \l, 0, \t_trig, 1); "/////////// SAMPLING!".postln; { ~recTrigButton.value_(0) }.defer;
|
||||
//r.set( \in, 0, \l, 0, \t_trig, 1); "/////////// SAMPLING!".postln; { ~recTrigButton.value_(0) }.defer;
|
||||
r.set(\t_trig, 1); "/////////// SAMPLING!".postln; { ~recTrigButton.value_(0) }.defer;
|
||||
|
||||
|
||||
}, {
|
||||
{~recTrigButton.value_(1) }.defer
|
||||
|
@ -633,12 +638,11 @@ p = OSCdef(\keys, { arg msg, time, addr, recvPort;
|
|||
|
||||
}); // SHIFT ONE LOGIC ENDS HERE ================
|
||||
|
||||
//} , '/keys');
|
||||
} , '/localhostInLevels');
|
||||
} , '/keys');
|
||||
// } , '/localhostInLevels');
|
||||
);
|
||||
);
|
||||
}); // end makeBundle for OSC code
|
||||
}; // end wait for boot
|
||||
|
||||
// todo countdown on density voices
|
||||
y
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,228 @@
|
|||
<!DOCTYPE qjackctlSession>
|
||||
<session name="jacksession">
|
||||
<client name="vlc_2963">
|
||||
<port name="vlc_2963_out_1" type="out">
|
||||
<connect client="system" port="playback_1"/>
|
||||
</port>
|
||||
<port name="vlc_2963_out_2" type="out">
|
||||
<connect client="system" port="playback_2"/>
|
||||
</port>
|
||||
</client>
|
||||
<client name="ardour">
|
||||
<port name="MTC in" type="in"/>
|
||||
<port name="LTC in" type="in"/>
|
||||
<port name="MIDI Clock in" type="in"/>
|
||||
<port name="LTC-Out" type="out"/>
|
||||
<port name="Click/audio_out 1" type="out"/>
|
||||
<port name="Click/audio_out 2" type="out"/>
|
||||
<port name="MMC in" type="in"/>
|
||||
<port name="MMC out" type="out"/>
|
||||
<port name="Scene in" type="in"/>
|
||||
<port name="Scene out" type="out"/>
|
||||
<port name="Virtual Keyboard" type="out"/>
|
||||
<port name="MTC out" type="out"/>
|
||||
<port name="MIDI Clock out" type="out"/>
|
||||
<port name="Master/audio_in 1" type="in">
|
||||
<connect client="ardour" port="SC 4CHAN/audio_out 1"/>
|
||||
<connect client="ardour" port="SC 4CHAN/audio_out 3"/>
|
||||
<connect client="ardour" port=" GuitarX/audio_out 1"/>
|
||||
<connect client="ardour" port="GTR DRY/audio_out 1"/>
|
||||
<connect client="ardour" port="SUPERCOLLIDER/audio_out 1"/>
|
||||
<connect client="ardour" port="SC GTR/audio_out 1"/>
|
||||
</port>
|
||||
<port name="Master/audio_in 2" type="in">
|
||||
<connect client="ardour" port="SC 4CHAN/audio_out 2"/>
|
||||
<connect client="ardour" port="SC 4CHAN/audio_out 4"/>
|
||||
<connect client="ardour" port=" GuitarX/audio_out 2"/>
|
||||
<connect client="ardour" port="GTR DRY/audio_out 2"/>
|
||||
<connect client="ardour" port="SUPERCOLLIDER/audio_out 2"/>
|
||||
<connect client="ardour" port="SC GTR/audio_out 2"/>
|
||||
</port>
|
||||
<port name="Master/audio_out 1" type="out">
|
||||
<connect client="system" port="playback_1"/>
|
||||
</port>
|
||||
<port name="Master/audio_out 2" type="out">
|
||||
<connect client="system" port="playback_2"/>
|
||||
</port>
|
||||
<port name=" GuitarX/audio_in 1" type="in">
|
||||
<connect client="gx_head_fx" port="out_0"/>
|
||||
</port>
|
||||
<port name=" GuitarX/audio_in 2" type="in">
|
||||
<connect client="gx_head_fx" port="out_1"/>
|
||||
</port>
|
||||
<port name=" GuitarX/audio_out 1" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 1"/>
|
||||
</port>
|
||||
<port name=" GuitarX/audio_out 2" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 2"/>
|
||||
</port>
|
||||
<port name="SUPERCOLLIDER/audio_in 1" type="in">
|
||||
<connect client="SuperCollider" port="out_1"/>
|
||||
</port>
|
||||
<port name="SUPERCOLLIDER/audio_in 2" type="in">
|
||||
<connect client="SuperCollider" port="out_2"/>
|
||||
</port>
|
||||
<port name="SUPERCOLLIDER/audio_out 1" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 1"/>
|
||||
</port>
|
||||
<port name="SUPERCOLLIDER/audio_out 2" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 2"/>
|
||||
</port>
|
||||
<port name="GTR DRY/audio_in 1" type="in">
|
||||
<connect client="system" port="capture_1"/>
|
||||
</port>
|
||||
<port name="GTR DRY/audio_out 1" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 1"/>
|
||||
</port>
|
||||
<port name="GTR DRY/audio_out 2" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 2"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_in 1" type="in">
|
||||
<connect client="SuperCollider" port="out_1"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_in 2" type="in">
|
||||
<connect client="SuperCollider" port="out_2"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_in 3" type="in">
|
||||
<connect client="SuperCollider" port="out_3"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_in 4" type="in">
|
||||
<connect client="SuperCollider" port="out_4"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_out 1" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 1"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_out 2" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 2"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_out 3" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 1"/>
|
||||
</port>
|
||||
<port name="SC 4CHAN/audio_out 4" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 2"/>
|
||||
</port>
|
||||
<port name="auditioner/audio_out 1" type="out">
|
||||
<connect client="system" port="playback_1"/>
|
||||
</port>
|
||||
<port name="auditioner/audio_out 2" type="out">
|
||||
<connect client="system" port="playback_2"/>
|
||||
</port>
|
||||
<port name="auditioner/midi_out 1" type="out"/>
|
||||
<port name="SC GTR/audio_in 1" type="in">
|
||||
<connect client="SuperCollider" port="out_3"/>
|
||||
</port>
|
||||
<port name="SC GTR/audio_in 2" type="in">
|
||||
<connect client="SuperCollider" port="out_4"/>
|
||||
</port>
|
||||
<port name="SC GTR/audio_out 1" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 1"/>
|
||||
</port>
|
||||
<port name="SC GTR/audio_out 2" type="out">
|
||||
<connect client="ardour" port="Master/audio_in 2"/>
|
||||
</port>
|
||||
</client>
|
||||
<client name="gx_head_fx" uuid="8589934610">
|
||||
<command>true ${SESSION_DIR}</command>
|
||||
<port name="in_0" type="in">
|
||||
<connect client="gx_head_amp" port="out_0"/>
|
||||
</port>
|
||||
<port name="out_0" type="out">
|
||||
<connect client="SuperCollider" port="in_1"/>
|
||||
<connect client="ardour" port=" GuitarX/audio_in 1"/>
|
||||
</port>
|
||||
<port name="out_1" type="out">
|
||||
<connect client="SuperCollider" port="in_2"/>
|
||||
<connect client="ardour" port=" GuitarX/audio_in 2"/>
|
||||
</port>
|
||||
</client>
|
||||
<client name="gx_head_amp" uuid="8589934609">
|
||||
<command>guitarix -U 8589934609 -A 8589934610 -f ${SESSION_DIR}gx_head.state</command>
|
||||
<port name="in_0" type="in">
|
||||
<connect client="system" port="capture_1"/>
|
||||
</port>
|
||||
<port name="midi_in_1" type="in"/>
|
||||
<port name="out_0" type="out">
|
||||
<connect client="gx_head_fx" port="in_0"/>
|
||||
</port>
|
||||
<port name="midi_out_1" type="out"/>
|
||||
</client>
|
||||
<client name="SuperCollider">
|
||||
<port name="in_1" type="in">
|
||||
<connect client="system" port="capture_1"/>
|
||||
<connect client="gx_head_fx" port="out_0"/>
|
||||
</port>
|
||||
<port name="in_2" type="in">
|
||||
<connect client="system" port="capture_2"/>
|
||||
<connect client="gx_head_fx" port="out_1"/>
|
||||
</port>
|
||||
<port name="in_3" type="in">
|
||||
<connect client="system" port="capture_3"/>
|
||||
</port>
|
||||
<port name="in_4" type="in">
|
||||
<connect client="system" port="capture_4"/>
|
||||
</port>
|
||||
<port name="in_5" type="in"/>
|
||||
<port name="in_6" type="in"/>
|
||||
<port name="in_7" type="in"/>
|
||||
<port name="in_8" type="in"/>
|
||||
<port name="out_1" type="out">
|
||||
<connect client="system" port="playback_1"/>
|
||||
<connect client="ardour" port="SC 4CHAN/audio_in 1"/>
|
||||
<connect client="ardour" port="SUPERCOLLIDER/audio_in 1"/>
|
||||
</port>
|
||||
<port name="out_2" type="out">
|
||||
<connect client="system" port="playback_2"/>
|
||||
<connect client="ardour" port="SC 4CHAN/audio_in 2"/>
|
||||
<connect client="ardour" port="SUPERCOLLIDER/audio_in 2"/>
|
||||
</port>
|
||||
<port name="out_3" type="out">
|
||||
<connect client="system" port="playback_3"/>
|
||||
<connect client="ardour" port="SC 4CHAN/audio_in 3"/>
|
||||
<connect client="ardour" port="SC GTR/audio_in 1"/>
|
||||
</port>
|
||||
<port name="out_4" type="out">
|
||||
<connect client="system" port="playback_4"/>
|
||||
<connect client="ardour" port="SC 4CHAN/audio_in 4"/>
|
||||
<connect client="ardour" port="SC GTR/audio_in 2"/>
|
||||
</port>
|
||||
<port name="out_5" type="out"/>
|
||||
<port name="out_6" type="out"/>
|
||||
<port name="out_7" type="out"/>
|
||||
<port name="out_8" type="out"/>
|
||||
</client>
|
||||
<client name="system">
|
||||
<port name="capture_1" type="out">
|
||||
<connect client="SuperCollider" port="in_1"/>
|
||||
<connect client="ardour" port="GTR DRY/audio_in 1"/>
|
||||
<connect client="gx_head_amp" port="in_0"/>
|
||||
</port>
|
||||
<port name="capture_2" type="out">
|
||||
<connect client="SuperCollider" port="in_2"/>
|
||||
</port>
|
||||
<port name="capture_3" type="out">
|
||||
<connect client="SuperCollider" port="in_3"/>
|
||||
</port>
|
||||
<port name="capture_4" type="out">
|
||||
<connect client="SuperCollider" port="in_4"/>
|
||||
</port>
|
||||
<port name="playback_1" type="in">
|
||||
<connect client="SuperCollider" port="out_1"/>
|
||||
<connect client="ardour" port="auditioner/audio_out 1"/>
|
||||
<connect client="vlc_2963" port="vlc_2963_out_1"/>
|
||||
<connect client="ardour" port="Master/audio_out 1"/>
|
||||
</port>
|
||||
<port name="playback_2" type="in">
|
||||
<connect client="SuperCollider" port="out_2"/>
|
||||
<connect client="ardour" port="auditioner/audio_out 2"/>
|
||||
<connect client="vlc_2963" port="vlc_2963_out_2"/>
|
||||
<connect client="ardour" port="Master/audio_out 2"/>
|
||||
</port>
|
||||
<port name="playback_3" type="in">
|
||||
<connect client="SuperCollider" port="out_3"/>
|
||||
</port>
|
||||
<port name="playback_4" type="in">
|
||||
<connect client="SuperCollider" port="out_4"/>
|
||||
</port>
|
||||
</client>
|
||||
</session>
|
||||
|
29
livecode.scd
29
livecode.scd
|
@ -4,13 +4,35 @@ OSCFunc.trace(false); // Turn posting off
|
|||
// ----------------------------------------------------
|
||||
// LIVE CODE / PERFORMABLE PARAMETERS /////////////////
|
||||
// ----------------------------------------------------
|
||||
// set recorder loop and overdub modes ////////////
|
||||
|
||||
~gtrIn.set(\in, 0); r.set(\in, 0); ~mic.set(\in, 0);
|
||||
|
||||
~gtrIn.set(\in, 2); r.set(\in, 2); ~mic.set(\in, 2);
|
||||
|
||||
~gtrIn.set(\in, 3); r.set(\in, 3); ~mic.set(\in, 3);
|
||||
|
||||
// set recorder loop and overdub modes ////////////
|
||||
// start recording (without button)
|
||||
|
||||
r.set(\in, 0, \l, 1, \overdub, 0.2, \t_trig, 1);
|
||||
r.set(\l, 0); // looping record on/off 0/1 - MAPPED TO SWITCH 3
|
||||
r.set(\overdub, 0.9); // overdub mode 0 - 0.99 - MAPPED TO SWITCH 4
|
||||
r.set(\in, 3, \l, 1, \overdub, 0.2, \t_trig, 1);
|
||||
|
||||
~g.do({arg n; n.set(\dens,33)});
|
||||
|
||||
|
||||
~overdubMode= 0;
|
||||
~pitchMode = 0;
|
||||
~posMode = 6;
|
||||
~densMode= 10;
|
||||
~impulseMode = 0;
|
||||
~gdurMode=0;
|
||||
~gpanMode=0;
|
||||
~channelmode=0;
|
||||
~instrPanMode=0;
|
||||
|
||||
|
||||
r.set(\l, 1); // looping record on/off 0/1 - MAPPED TO SWITCH 3
|
||||
r.set(\overdub, 0.7); // overdub mode 0 - 0.99 - MAPPED TO SWITCH 4
|
||||
|
||||
// todo at gate on off to button control
|
||||
~g.do({arg n; n.set(\gate, 1 )});
|
||||
|
@ -25,7 +47,6 @@ b.plot;
|
|||
~gdurMode = 0;
|
||||
~pitchMode = 0;
|
||||
|
||||
Buffer
|
||||
|
||||
~pointer.set(\rate, 0);
|
||||
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
"/home/rob/gtr/motherMIDISetup.scd".load;
|
||||
TempoClock.default.tempo = 60/60;
|
||||
////////////////////////////////////////
|
||||
Pdef(\m_1).play(quant: 4); // TOP MOTHER
|
||||
Pdef(\m_1).stop; // NOTEON
|
||||
Pdef(\m_1_CC).play(quant:4); // CC 1
|
||||
Pdef(\m_1_CC).stop;
|
||||
// --------------- /
|
||||
Pdef(\m_2).play(quant: 4); // BTM MOTHER NOTEON
|
||||
Pdef(\m_2).stop; // NOTEON
|
||||
Pdef(\m_2_CC).play(quant:4); // CC 1
|
||||
Pdef(\m_2_CC).stop;
|
||||
//////////////////////////////
|
||||
Pbindef(\m_1,\scale,~s1,\degree,~d4,\dur,~r1,\octave,~o2, \mtranspose,0);
|
||||
Pbindef(\m_2,\scale,~s1,\degree,~d4,\dur,~r2,\octave,~o2, \mtranspose,0);
|
||||
// indiviudal controls //////////////
|
||||
Pbindef(\m_1, \root, 4); Pbindef(\m_2, \root, 4);
|
||||
Pbindef(\m_1, \mtranspose, 0); Pbindef(\m_2, \mtranspose, 0);
|
||||
Pbindef(\m_1, \scale, ~s1 ); Pbindef(\m_2, \scale, ~s1);
|
||||
Pbindef(\m_1, \octave, ~o0); Pbindef(\m_2, \octave, 2);
|
||||
Pbindef(\m_1, \dur, ~r4); Pbindef(\m_2, \dur, ~r0);
|
||||
Pbindef(\m_1, \degree, ~d6); Pbindef(\m_2, \degree, ~d3);
|
||||
// ground bass figure // chromatic //
|
||||
Pbindef(\m_1, \dur, 8, \octave, 3, \scale,~s4,\degree,~d8, inf);
|
||||
Pbindef(\m_2, \dur, 9, \octave, 2, \scale,~s4,\degree,~d8, inf);
|
||||
// quasi-extended serialism
|
||||
Pbindef(\m_1, \scale,~s4,\degree,~d6,\octave,~o3,\dur,~phrase);
|
||||
Pbindef(\m_2, \scale,~s4,\degree,~d6,\octave,~o1,\dur,~phrase);
|
||||
// chiptune minmalismo in melodic minor /////////////////////////////// r 0,1,3
|
||||
Pbindef(\m_1, \scale,~s0,\degree,~d4,\octave,~o3,\dur,~rrr );
|
||||
Pbindef(\m_2, \scale,~s0,\degree,~d4,\octave,~o3,\dur,~rrr );
|
||||
|
||||
////////$$$/////////
|
||||
Pbindef(\m_1, \octave, 1, \scale, ~s3 )
|
||||
Pbindef(\m_2, \scale,~s0, \mtranspose,0)
|
||||
|
||||
|
||||
//// new
|
||||
Pbindef(\m_1, \scale,~s0,\degree,~ddd,\octave, ~o3,\dur,~rr );
|
||||
Pbindef(\m_2, \scale,~s0,\degree,~ddd,\octave, ~o2,\dur,~rrr );
|
||||
|
||||
|
||||
// CC Control Message 1 ---> TOP Mother32 ASSIGN OUT
|
||||
( Pdef(\m_1_CC, Pbind( \type, \midi, \midicmd, \control, \midiout, ~m32_1,
|
||||
\ctlNum, 1, \control,
|
||||
//Pexprand(7,100, inf),
|
||||
\dur, ~r0)).play(quant:4));
|
||||
|
||||
// CC Control Message 1 ---> BOTTOM Mother32 ASSIGN OUT
|
||||
Pdef(\m_2_CC, Pbind( \type, \midi, \midicmd, \control, \midiout, ~m32_2, \ctlNum, 1, \control, Pexprand(77,127, inf), \dur, 1/8 )).play(quant:4);
|
|
@ -0,0 +1,21 @@
|
|||
/*RUN*/
|
||||
|
||||
"/home/rob/gtr/motherPatterns.scd".load;
|
||||
|
||||
MIDIClient.init;
|
||||
|
||||
~m32_1 = MIDIOut.newByName("MidiSport 4x4", "MidiSport 4x4 MIDI 1").latency_(Server.default.latency);
|
||||
|
||||
~m32_2 = MIDIOut.newByName("MidiSport 4x4", "MidiSport 4x4 MIDI 2").latency_(Server.default.latency);
|
||||
|
||||
// setup of mother 32 noteon events
|
||||
|
||||
Pdef(\m_1, Pbind( \type, \midi, \midicmd, \noteOn, \midiout, ~m32_1)).play(quant: 4);
|
||||
Pdef(\m_2, Pbind( \type, \midi, \midicmd, \noteOn, \midiout, ~m32_2)).play(quant: 4);
|
||||
|
||||
// CC Control Message 1 ---> TOP Mother32 ASSIGN OUT
|
||||
( Pdef(\m_1_CC, Pbind( \type, \midi, \midicmd, \control, \midiout, ~m32_1,
|
||||
\ctlNum, 1, \control, Pexprand(72,127, inf), \dur, ~r1)).play(quant:4));
|
||||
|
||||
// CC Control Message 1 ---> BOTTOM Mother32 ASSIGN OUT
|
||||
Pdef(\m_2_CC, Pbind( \type, \midi, \midicmd, \control, \midiout, ~m32_2, \ctlNum, 1, \control, Pexprand(77,127, inf), \dur, 1/8 )).play(quant:4);
|
|
@ -0,0 +1,105 @@
|
|||
/*RUN*/
|
||||
|
||||
~s0 = Scale.harmonicMinor;
|
||||
~s1 = Scale.melodicMinor;
|
||||
~s2 = Scale.gong;
|
||||
~s3 = Scale.whole;
|
||||
~s4 = Scale.chromatic;
|
||||
|
||||
~d0 = Pn(Pseries(0, 1, 2), inf);
|
||||
~d1 = Pn(Pseries(0, 1, 3), inf);
|
||||
~d2 = Pn(Pseries(0, 4, 9), inf);
|
||||
~d3 = Pn(Pseries(0, 1, 11), inf);
|
||||
~d4 = (Pexprand(1, 8, inf) - 1).round;
|
||||
~d5 = Pwrand([Pseries(0,1,inf)],[15,20,3,4,5].normalizeSum, inf);
|
||||
// repeat patterns
|
||||
~d6 = Pclutch(~d4, Pseq(#[0,0,0,0,0,0,0,0,1,1,1,1,1],inf));
|
||||
~d7 = Pstutter(Prand([1, 2, 5], inf), Pwhite(-1.0, 1.0));
|
||||
//c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65);
|
||||
~d8 = Pseq([0,6,2,4,1,3,3,7,5,11]); // ground bass
|
||||
|
||||
|
||||
~d9 = Prand([1,3,5,7],8);
|
||||
~d10 = Pseq([2,4,6,8],8);
|
||||
~d11 = Prand([0,2,4,6],8);
|
||||
~d12 = Pseq([3,5,7,9],8);
|
||||
|
||||
|
||||
~ddd = Pseq([~d9, ~d10, ~d11, ~d12],inf);
|
||||
|
||||
~r0 = 1/8;
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
~r01 = Pseq([
|
||||
1/8,
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
],1);
|
||||
|
||||
~r02 = Pseq([
|
||||
1/8,
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
1/8,
|
||||
1/8,
|
||||
Rest(1/8),
|
||||
Rest(1/8),
|
||||
],1);
|
||||
|
||||
~r03 = Pseq([
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
],1);
|
||||
|
||||
~r04 = Pseq([
|
||||
1/8,
|
||||
1/8,
|
||||
Rest(1/8),
|
||||
1/8,
|
||||
Rest(1/8),
|
||||
1/8,
|
||||
1/8,
|
||||
1/8,
|
||||
],1);
|
||||
|
||||
~rrr = NodeProxy.new.play;
|
||||
~rrr.source = Pxrand([~r01,~r02, ~r03, ~r04],inf);
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
|
||||
|
||||
~r1 = 1/4;
|
||||
~r2 = Pwrand([0.25, Rest(0.75), 1], [0.6, 0.2, 0.2], inf);
|
||||
~r3 = Pwrand(#[0.25, 0.5, 0.75, 4], #[0.4, 0.3, 0.2, 0.1], inf);
|
||||
~r4 = 8;
|
||||
~r5 = Pwrand([Pseq([1/8,1/8,1/8,1/8,1/8, Rest(3/8), Rest(1)],2), 0.25, 0.5, 0.75, 4],
|
||||
#[0.05, 0.4, 0.3, 0.2, 0.05], inf);
|
||||
|
||||
~r6 = Pwhite(1, 6, inf) * 0.125;
|
||||
|
||||
~triplet = Pseq([1,1,1,1,5] , 1) / 5 ;
|
||||
~white = Pwhite(1, 6, 5) * 0.125;
|
||||
~sync8th = Pseq([Rest(1/8), 1/8] , 4);
|
||||
~sixteen = Pseq([1/Pwhite(5,10,Pwhite(4,7))], Pwhite(1,2));
|
||||
~long = Pwhite(1,5,1) / 3;
|
||||
~rest = Rest(2);
|
||||
|
||||
~phrase = Pxrand([~white, ~sync8th, ~sixteen, ~long, ~rest, ~rest+0.7], inf);
|
||||
|
||||
~o0 = Prand([5], inf);
|
||||
~o1 = Prand([1,2,3], inf);
|
||||
~o2 = Prand([3,4,5], inf);
|
||||
~o3 = Pwrand([3,4,5,6,7],[15,20,3,4,5].normalizeSum, inf);
|
||||
|
|
@ -1,112 +1,168 @@
|
|||
<!DOCTYPE patchbay>
|
||||
<patchbay version="0.9.1" name="recording_jackpatchbay">
|
||||
<patchbay name="recording_jackpatchbay" version="0.9.1">
|
||||
<output-sockets>
|
||||
<socket client="system" type="jack-audio" name="system 1" exclusive="on">
|
||||
<socket name="system 1" client="system" type="jack-audio" exclusive="on">
|
||||
<plug>capture_1</plug>
|
||||
<plug>capture_2</plug>
|
||||
<plug>capture_3</plug>
|
||||
<plug>capture_4</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour sc4ch" exclusive="off">
|
||||
<socket name="system 3 4" client="system" type="jack-audio" exclusive="off">
|
||||
<plug>capture_3</plug>
|
||||
<plug>capture_4</plug>
|
||||
</socket>
|
||||
<socket name="system 2 3 4" client="system" type="jack-audio" exclusive="off">
|
||||
<plug>capture_2</plug>
|
||||
<plug>capture_3</plug>
|
||||
<plug>capture_4</plug>
|
||||
</socket>
|
||||
<socket name="ardour sc4ch" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SC\ 4CHAN\/audio_out\ 1</plug>
|
||||
<plug>SC\ 4CHAN\/audio_out\ 2</plug>
|
||||
<plug>SC\ 4CHAN\/audio_out\ 3</plug>
|
||||
<plug>SC\ 4CHAN\/audio_out\ 4</plug>
|
||||
</socket>
|
||||
<socket client="gx_head_amp" type="jack-audio" name="gx_head_amp 1" exclusive="off">
|
||||
<socket name="gx_head_amp 1" client="gx_head_amp" type="jack-audio" exclusive="off">
|
||||
<plug>out_0</plug>
|
||||
</socket>
|
||||
<socket client="gx_head_fx" type="jack-audio" name="gx_head_fx" exclusive="off">
|
||||
<socket name="gx_head_fx" client="gx_head_fx" type="jack-audio" exclusive="off">
|
||||
<plug>out_0</plug>
|
||||
<plug>out_1</plug>
|
||||
</socket>
|
||||
<socket client="SuperCollider" type="jack-audio" name="SC2CH" exclusive="off">
|
||||
<socket name="SC2CH" client="SuperCollider" type="jack-audio" exclusive="off">
|
||||
<plug>out_1</plug>
|
||||
<plug>out_2</plug>
|
||||
</socket>
|
||||
<socket client="SuperCollider" type="jack-audio" name="SC 3-4" exclusive="off">
|
||||
<socket name="SC 3-4" client="SuperCollider" type="jack-audio" exclusive="off">
|
||||
<plug>out_3</plug>
|
||||
<plug>out_4</plug>
|
||||
</socket>
|
||||
<socket client="SuperCollider" type="jack-audio" name="SuperCollider 4ch" exclusive="off">
|
||||
<socket name="SuperCollider 4ch" client="SuperCollider" type="jack-audio" exclusive="off">
|
||||
<plug>out_1</plug>
|
||||
<plug>out_2</plug>
|
||||
<plug>out_3</plug>
|
||||
<plug>out_4</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour master out" exclusive="off">
|
||||
<socket name="ardour master out" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>Master\/audio_out\ 1</plug>
|
||||
<plug>Master\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour sc stereo" exclusive="off">
|
||||
<socket name="ardour sc stereo" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SUPERCOLLIDER\/audio_out\ 1</plug>
|
||||
<plug>SUPERCOLLIDER\/audio_out\ 2</plug>
|
||||
<plug>SC\ GTR\/audio_out\ 1</plug>
|
||||
<plug>SC\ GTR\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour sc gtr" exclusive="off">
|
||||
<socket name="ardour sc gtr" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SC\ GTR\/audio_out\ 1</plug>
|
||||
<plug>SC\ GTR\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
<socket name="ardour MOTHER32 TOP" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>MOTHER32\ TOP\/audio_out\ 1</plug>
|
||||
<plug>MOTHER32\ TOP\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
<socket name="MOTHER32 BOTTOM" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>MOTHER32\ BOTTOM\/audio_out\ 1</plug>
|
||||
<plug>MOTHER32\ BOTTOM\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
<socket name="ardour metronome" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>Click\/audio_out\ 1</plug>
|
||||
<plug>Click\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
<socket name="SuperCollider MIDI 0" client="SuperCollider" type="alsa-midi" exclusive="off">
|
||||
<plug>out0</plug>
|
||||
<plug>out1</plug>
|
||||
<plug>out2</plug>
|
||||
<plug>out3</plug>
|
||||
</socket>
|
||||
<socket name="ardour fx bus 1" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>delay\/audio_out\ 1</plug>
|
||||
<plug>delay\/audio_out\ 2</plug>
|
||||
</socket>
|
||||
</output-sockets>
|
||||
<input-sockets>
|
||||
<socket client="gx_head_amp" type="jack-audio" name="gx_head_amp" exclusive="off">
|
||||
<socket name="gx_head_amp" client="gx_head_amp" type="jack-audio" exclusive="off">
|
||||
<plug>in_0</plug>
|
||||
</socket>
|
||||
<socket client="gx_head_fx" type="jack-audio" name="gx_head_fx 1" exclusive="off">
|
||||
<socket name="SuperCollider 2 3 4" client="SuperCollider" type="jack-audio" exclusive="off">
|
||||
<plug>in_2</plug>
|
||||
<plug>in_3</plug>
|
||||
<plug>in_4</plug>
|
||||
</socket>
|
||||
<socket name="gx_head_fx 1" client="gx_head_fx" type="jack-audio" exclusive="off">
|
||||
<plug>in_0</plug>
|
||||
</socket>
|
||||
<socket client="SuperCollider" type="jack-audio" name="SC 4CH" exclusive="off">
|
||||
<socket name="SC 4CH" client="SuperCollider" type="jack-audio" exclusive="off">
|
||||
<plug>in_1</plug>
|
||||
<plug>in_2</plug>
|
||||
<plug>in_3</plug>
|
||||
<plug>in_4</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour gtrx input" exclusive="off">
|
||||
<socket name="ardour gtrx input" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>\ GuitarX\/audio_in\ 1</plug>
|
||||
<plug>\ GuitarX\/audio_in\ 2</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour SC2CH IN" exclusive="off">
|
||||
<socket name="ardour SC2CH IN" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SUPERCOLLIDER\/audio_in\ 1</plug>
|
||||
<plug>SUPERCOLLIDER\/audio_in\ 2</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour SC GTR" exclusive="off">
|
||||
<socket name="ardour SC GTR" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SC\ GTR\/audio_in\ 1</plug>
|
||||
<plug>SC\ GTR\/audio_in\ 2</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="sc2chan" exclusive="off">
|
||||
<socket name="ardour mother32s" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>MOTHER32\ TOP\/audio_in\ 1</plug>
|
||||
<plug>MOTHER32\ BOTTOM\/audio_in\ 1</plug>
|
||||
</socket>
|
||||
<socket name="sc2chan" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SUPERCOLLIDER\/audio_in\ 1</plug>
|
||||
<plug>SUPERCOLLIDER\/audio_in\ 2</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour sc4ch" exclusive="off">
|
||||
<socket name="ardour sc4ch" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>SC\ 4CHAN\/audio_in\ 1</plug>
|
||||
<plug>SC\ 4CHAN\/audio_in\ 2</plug>
|
||||
<plug>SC\ 4CHAN\/audio_in\ 3</plug>
|
||||
<plug>SC\ 4CHAN\/audio_in\ 4</plug>
|
||||
</socket>
|
||||
<socket client="ardour" type="jack-audio" name="ardour master in" exclusive="off">
|
||||
<socket name="ardour master in" client="ardour" type="jack-audio" exclusive="off">
|
||||
<plug>Master\/audio_in\ 1</plug>
|
||||
<plug>Master\/audio_in\ 2</plug>
|
||||
</socket>
|
||||
<socket client="system" type="jack-audio" name="system 1" exclusive="off">
|
||||
<socket name="system 1" client="system" type="jack-audio" exclusive="off">
|
||||
<plug>playback_1</plug>
|
||||
<plug>playback_2</plug>
|
||||
<plug>playback_3</plug>
|
||||
<plug>playback_4</plug>
|
||||
</socket>
|
||||
<socket name="UMC404HD\ 192k 1" client="UMC404HD\ 192k" type="alsa-midi" exclusive="off">
|
||||
<plug>UMC404HD\ 192k\ UMC404HD\ 192k\ MID</plug>
|
||||
</socket>
|
||||
<socket name="MidiSport\ 4x 1" client="MidiSport\ 4x4" type="alsa-midi" exclusive="off">
|
||||
<plug>MidiSport\ 4x4\ MIDI\ 1</plug>
|
||||
<plug>MidiSport\ 4x4\ MIDI\ 2</plug>
|
||||
<plug>MidiSport\ 4x4\ MIDI\ 3</plug>
|
||||
<plug>MidiSport\ 4x4\ MIDI\ 4</plug>
|
||||
</socket>
|
||||
</input-sockets>
|
||||
<slots/>
|
||||
<cables>
|
||||
<cable type="jack-audio" output="system 1" input="gx_head_amp"/>
|
||||
<cable type="jack-audio" output="ardour master out" input="system 1"/>
|
||||
<cable type="jack-audio" output="gx_head_amp 1" input="gx_head_fx 1"/>
|
||||
<cable type="jack-audio" output="gx_head_fx" input="SC 4CH"/>
|
||||
<cable type="jack-audio" output="gx_head_fx" input="ardour gtrx input"/>
|
||||
<cable type="jack-audio" output="SC2CH" input="ardour SC2CH IN"/>
|
||||
<cable type="jack-audio" output="SC 3-4" input="ardour SC GTR"/>
|
||||
<cable type="jack-audio" output="SuperCollider 4ch" input="ardour sc4ch"/>
|
||||
<cable type="jack-audio" output="ardour sc stereo" input="ardour master in"/>
|
||||
<cable type="jack-audio" output="ardour sc gtr" input="ardour master in"/>
|
||||
<cable type="jack-audio" input="gx_head_amp" output="system 1"/>
|
||||
<cable type="jack-audio" input="ardour mother32s" output="system 3 4"/>
|
||||
<cable type="jack-audio" input="SuperCollider 2 3 4" output="system 2 3 4"/>
|
||||
<cable type="jack-audio" input="gx_head_fx 1" output="gx_head_amp 1"/>
|
||||
<cable type="jack-audio" input="SC 4CH" output="gx_head_fx"/>
|
||||
<cable type="jack-audio" input="ardour gtrx input" output="gx_head_fx"/>
|
||||
<cable type="jack-audio" input="ardour SC2CH IN" output="SC2CH"/>
|
||||
<cable type="jack-audio" input="ardour SC GTR" output="SC 3-4"/>
|
||||
<cable type="jack-audio" input="ardour sc4ch" output="SuperCollider 4ch"/>
|
||||
<cable type="jack-audio" input="system 1" output="ardour master out"/>
|
||||
<cable type="jack-audio" input="ardour master in" output="ardour sc stereo"/>
|
||||
<cable type="jack-audio" input="ardour master in" output="ardour sc gtr"/>
|
||||
<cable type="jack-audio" input="ardour master in" output="ardour MOTHER32 TOP"/>
|
||||
<cable type="jack-audio" input="ardour master in" output="MOTHER32 BOTTOM"/>
|
||||
<cable type="jack-audio" input="system 1" output="ardour metronome"/>
|
||||
<cable type="alsa-midi" input="MidiSport\ 4x 1" output="SuperCollider MIDI 0"/>
|
||||
<cable type="jack-audio" input="ardour master in" output="ardour fx bus 1"/>
|
||||
</cables>
|
||||
</patchbay>
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# turn on bluetooth device
|
||||
blueman-manager &
|
||||
sleep 1;
|
||||
killall blueman-manager blueman-applet;
|
|
@ -1,15 +1,18 @@
|
|||
|
||||
kill `pidof ardour-6.5.0~ds0`
|
||||
|
||||
killall -9 jackd guitarix sclang scide;
|
||||
killall -9 qjackctl jackd guitarix sclang scide;
|
||||
|
||||
/usr/bin/jackd -aa -u -dalsa -r44100 -p512 -n3 -D -Chw:U192k -Phw:U192k &
|
||||
/usr/bin/jackd -aa -u -dalsa -r44100 -p256 -n3 -D -Chw:U192k -Phw:U192k &
|
||||
|
||||
sleep 1;
|
||||
|
||||
guitarix &
|
||||
|
||||
sclang -D gtr.scd &
|
||||
# sclang -D gtr.scd &
|
||||
scide gtr.scd &
|
||||
|
||||
gnome-terminal --title=NODE SERVER -- sh ./setup/comms_start.sh &
|
||||
|
||||
sleep 4;
|
||||
|
||||
|
|
Loading…
Reference in New Issue