Skip to content

Commit

Permalink
more stabs + set kick opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
jroitgrund committed Aug 12, 2021
1 parent c1aae02 commit 1e4b972
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
2 changes: 0 additions & 2 deletions common.scd
Expand Up @@ -154,6 +154,4 @@ Event.addEventType(\action, {});
curve: 'hold'
));
};

~basePath = "C:/Users/jonathan/Desktop/scc/sons/";
)
7 changes: 6 additions & 1 deletion osc.scd
Expand Up @@ -283,7 +283,12 @@

~setRitualPart5Layer8Opacity = {
| amp |
~sendMsg.value("/composition/layers/8/video/opacity", 0.5 + (amp * 400));
~sendMsg.value("/composition/layers/8/video/opacity", 0 + (amp * 500));
};

~setRitualPart5Layer9Opacity = {
| amp |
~sendMsg.value("/composition/layers/9/video/opacity", 0.6 + (amp * 2.5));
};

~setBassVoicePart5Rotation = {
Expand Down
20 changes: 11 additions & 9 deletions ritual.scd
Expand Up @@ -731,6 +731,7 @@ var windChimesAmpOutBus = Bus.control(s, 1);
\amp, 0.6,
\buf, ~kickBuffer,
\ampBus, Pif(fadeOut, kickAmpBus, -1),
\ampOutBus, kickAmpOutBus,
\gateRelease, 4
),
Pbind(
Expand Down Expand Up @@ -887,18 +888,15 @@ var windChimesAmpOutBus = Bus.control(s, 1);
~stabs = {
| duration |
Pbind(
\dur, Pseq([
Rest(26/4),
Pxrand([33, 76, 22, 5, 17], inf)
]),
\dur, Pxrand([4, 12, 16, 8], inf),
\legato, 1,
\instrument, Pif(Ptime() < duration, \play),
\buf, Pxrand(~stabBuffers, inf),
\gateRelease, 1,
\hardPan, Pwhite(0.0, 2.0, inf),
\ampBus, drumRackAmpBus,
\ampOutBus, stabsAmpOutBus,
\amp, 0.2
\amp, 0.2,
);
};

Expand Down Expand Up @@ -1023,17 +1021,21 @@ var windChimesAmpOutBus = Bus.control(s, 1);

~ritualPart5 = {
| fifthPhaseDuration |
var drumRackIn = 0;
var stabsIn = 32 + (2 * (fifthPhaseDuration - 32) / 6).round(4);
var grillonsIn = 32 + (3 * (fifthPhaseDuration - 32) / 6).round(4);
Ppar([
~singleActionPattern.value(~launchRitualPart5InitialClips),
~bassVoiceShaman.value(fifthPhaseDuration, withFifth: false),
Pseq([Event.silent(16), ~singleActionPattern.value(~launchRitualPart5SecondClip)]),
Pseq([Event.silent(64), ~drumRack.value(fifthPhaseDuration - 64)]),
Pseq([Event.silent(64), ~singleActionPattern.value(~launchRitualPart5KickClips)]),
Pseq([Event.silent(64), ~pollActionPattern.value({
Pseq([Event.silent(drumRackIn), ~drumRack.value(fifthPhaseDuration - drumRackIn)]),
Pseq([Event.silent(drumRackIn), ~singleActionPattern.value(~launchRitualPart5KickClips)]),
Pseq([Event.silent(drumRackIn), ~pollActionPattern.value({
bassVoiceShamanPanBus.get(~setBassVoicePart5Rotation)
}, fifthPhaseDuration - 64 - 2/10)]),
}, fifthPhaseDuration - drumRackIn - (4/10))]),
Pseq([Event.silent(drumRackIn), ~pollActionPattern.value({
kickAmpOutBus.get(~setRitualPart5Layer9Opacity)
}, fifthPhaseDuration - drumRackIn - (4/10))]),
Pseq([Event.silent(stabsIn), ~stabs.value(fifthPhaseDuration - stabsIn)]),
Pseq([Event.silent(stabsIn), ~singleActionPattern.value(~launchRitualPart5StabsClip)]),
Pseq([Event.silent(stabsIn), ~pollActionPattern.value({
Expand Down

0 comments on commit 1e4b972

Please sign in to comment.