-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63406ca
commit 6cdac1b
Showing
3 changed files
with
333 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# boa tarde!!!! Algorave Brasil 2024 | ||
|
||
|
||
# MUITO OBRIGADO!!!!! | ||
|
||
var.r = var(P[0,3,2], dur=[4,2,2]) | ||
|
||
p2 >> rlead(var.r + P[0:7], dur=4, spin=4, bend=0.5).penta().shuffle() | ||
|
||
|
||
|
||
p2 >> pianovel(var.r + [P(0,2,4,0), P(0,2,4,6)], dur=8, shape=0.5, amp=0.4, formant=4).stop() | ||
|
||
p3 >> pluck(var.r +P(0,2,4), dur=PDur(5,8)*2, sus=1/2, amp=0.05, shape=0.9, formant=1) | ||
|
||
b1 >> bass(var.r, dur=1/2, amp=0.3, chop=2) | ||
|
||
~b1 >> bass(var.r + P[0,4], dur=PDur(3,8), amp=0.4, chop=2, sus=0.5).every([6,2], "offadd",3) | ||
|
||
~p5 >> karp(var.r + P[0,4], dur=PDur(3,8), amp=0.9, chop=2, sus=0.5).every([6,2], "offadd",3) | ||
|
||
~p1 >> rlead(var.r + P[0,4], dur=PDur(3,8), amp=0.9, chop=2, sus=0.5, echo=0.5, echotime=2).every([6,2], "offadd",3) | ||
|
||
Group(p2,b1).solo() | ||
|
||
p4 >> nylon(b1.pitch, sus=0.2, dur=PDur(3,8), amp=0.4, drive=0.1, pan=linvar([-1,1], 8), fmod=linvar([-10,10],8)).stop() | ||
|
||
p3.stop() | ||
|
||
p3 >> pluck(fmod=linvar([-10,10], 8), dur=1/4, sus=1, amp=0.3, pan=linvar([-1,1], 8), bend=0.5, slide=0.5, formant=1) | ||
|
||
b1.amplify = var([0,1], dur=PDur(7,8)/2) | ||
|
||
Group(d4,p1, p2).solo() | ||
|
||
~d4 >> donk(var.r + P[0,2,4,6], dur=PDur(var([3,5,8], dur=1),8)*2, amp=0.7, formant=0).shuffle().often("offadd",3).every(2, "stutter",3) | ||
|
||
Group(d2,d3).stop() | ||
|
||
d1 >> play("xs") | ||
d2 >> play(" o ") | ||
|
||
|
||
d3 >> play("[--]-[---]-", amp=[0.2, 0.8]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
d1 >> play("x ") | ||
|
||
|
||
Scale.default = "minor" | ||
Root.default = "d" | ||
|
||
def planet(): | ||
d1 >> play("-", dur=[1/2,1/4,1/4,1/2,1/4,1/4,1/2,1/4,1/4,1/4,1/4,1/4,1/4], pan=-0.6, amp=0.8) | ||
d2 >> play("X", sample=2, dur=[1,rest(1/2),1/2,rest(2),1,rest(1/2),1/2,rest(1/2),1/2,rest(1/4),3/4], amp=0.6) | ||
d3 >> play("O", sample=0,dur=[rest(1), 1], amp=0.35) | ||
def cowbell(): | ||
d4 >> play("T", dur=[1/2,1/2,1/4,1/2,1/4,rest(1/4),1/2,1/4,1/2,1/2], amp=0.3, pan=0.8) | ||
|
||
|
||
planet() | ||
|
||
################# esta que ta aqui atras | ||
def solta(): | ||
Clock.set_time(-1) | ||
d1 >> play("o", sample=0, dur=[rest(3/4),1/4, rest(1/2),1/2, rest(1),1], drive=0.05, rate=1) | ||
d2 >> play("X", sample=1,dur=[3/4,rest(1/4), rest(1),1/2,1/2, rest(3/4),1/4, 3/4,rest(1/4), rest(1),1/2,1/2, rest(3/4),rest(1/4),], amp=0.8) | ||
f3 >> play("V", sample=0,dur=8, room=1, mix=0.5) | ||
f4 >> play("x", sample=0,dur=8, room=1, mix=0.5) | ||
f5 >> play("X", sample=1,dur=8, room=1, mix=0.5) | ||
s4.stop() | ||
|
||
s_all.stop() | ||
|
||
Samples.addAPath('/home/diego/Music/samples') | ||
~s2 >> loop('chegou-o-momento-da-verdade', dur=[1.7, rest(2.3), rest(4)], rate=1, amp=0.8) | ||
|
||
planet() | ||
|
||
s2.stop() | ||
|
||
s2 >> loop('chegou-o-momento-da-verdade', dur=[4, rest(4)], rate=1) | ||
|
||
s2.stop() | ||
Group(d4,d3,p1,p2,b1,s1,f3,f4,f5).stop() | ||
~s4 >> loop('qual-voce-acha-que-e', dur=[4, rest(4)], rate=0.8) | ||
|
||
|
||
#planet() | ||
Clock.set_time(-1) | ||
Group(f3,f4,f5,d2,b1).stop() | ||
s_all.stop() | ||
~s4 >> loop('bom-pra-mim-e-esta-que-ta-aqui-atras', dur=[6,rest(10)], rate=0.8) | ||
Clock.schedule(solta, Clock.now() + 5) | ||
|
||
|
||
~s2 >> loop('esta-que-ta-aqui-atras', dur=[rest(4),rest(1.8),2.2], rate=0.8) | ||
|
||
~s2 >> loop('esta-que-ta-aqui-atras', dur=[rest(2),1.1,rest(0.9),1.1,rest(0.8),2.1], amp=0.8, rate=0.8) | ||
|
||
~s4 >> loop('qual', dur=[1, rest(7)], rate=0.8, amp=0.4) | ||
|
||
s3.stop() | ||
|
||
s_all.stop() | ||
|
||
|
||
s_all.stop() | ||
|
||
~s4 >> loop('bom-pra-mim-e-esta-que-ta-aqui-atras', dur=[2,rest(2)], rate=0.8) | ||
|
||
s1.stop() | ||
|
||
s_all.stop() | ||
|
||
~s2 >> loop('esta-que-ta-aqui-atras', dur=[rest(2),2], amp=0.6) | ||
|
||
s3 >> loop('eh-esta-que-ta-aqui-atras', dur=[rest(2),2], rate=1).stop() | ||
|
||
s2 >> loop('qual-voce-acha-que-e', dur=[4, rest(2), 0.75, rest(0.25), 0.75, rest(0.25), 4, rest(4)], beat_stretch=0, rate=0.8) | ||
|
||
s2.stop() | ||
|
||
s_all.stop() | ||
|
||
|
||
print(dir(Scale)) | ||
|
||
solta() | ||
|
||
s_all.stop() | ||
p_all.stop() | ||
|
||
############## frank fito | ||
Root.default = "d" | ||
Scale.default = "minor" | ||
|
||
var.r= var(P[0,0.5,1,0.8],dur=[1.5,1,0.5,1]) | ||
def pancada(): | ||
f3 >> play("V", sample=0,dur=8, room=1, mix=0.5) | ||
f4 >> play("x", sample=0,dur=8, room=1, mix=0.5) | ||
f5 >> play("X", sample=1,dur=8, room=1, mix=0.5) | ||
|
||
pancada() | ||
|
||
s_all.stop() | ||
|
||
p1 >> pluck(var.r +P[0]-7, dur=[1/2,1/2, rest(1/2),1/2, 1/2,1/4,1/4, 1/2,1/2, | ||
rest(1/2),1/2, 1/2,1/2, 1/2,1/4,1/4, 1/2,1/2,], pan=0, amp=0.7) | ||
|
||
b1 >> bass(var.r + P[0], dur=[3/4,rest(1/4), rest(1),1/2,1/2, rest(3/4),rest(1/4), 3/4,rest(1/4), rest(1),1/2,1/2, 1/2,rest(1/2),], sus=[3/4,rest(1/4), rest(1),1/2,1/2, rest(3/4),rest(1/4), 3/4,rest(1/4), rest(1),1/2,1/2, 1,rest(1/2),], amp=0.15, lpf=0) | ||
|
||
d1 >> play("o", sample=0, dur=[rest(3/4),1/4, rest(1/2),1/2, rest(1),1], drive=0.05, rate=1) | ||
d2 >> play("X", sample=1,dur=[3/4,rest(1/4), rest(1),1/2,1/2, rest(3/4),1/4, 3/4,rest(1/4), rest(1),1/2,1/2, rest(3/4),rest(1/4),], amp=0.8) | ||
f3 >> play("V", sample=0,dur=8, room=1, mix=0.5) | ||
f4 >> play("x", sample=0,dur=8, room=1, mix=0.5) | ||
f5 >> play("X", sample=1,dur=8, room=1, mix=0.5) | ||
|
||
p2 >> play("[ss]", amplify=var([1,0], dur=[4,2,1,1]), pan=0.4, amp=0.5) | ||
|
||
p_all.stop() | ||
|
||
p1.stop() | ||
p3 >> bell(var.r + P[0], dur=PDur(var([5,3,4],1),8)*2, sus=1/4, amp=0.2, pan=[-0.7]) | ||
|
||
p_all.stop() | ||
|
||
p4 >> saw(var.r + P[0:7], dur=b1.dur*8, amp=0.3, pan=linvar([-1,1]), chop=linvar(40)).penta().every(3,"offadd",-1) | ||
|
||
p4 >> saw(var.r+ P[0:7], dur=b1.dur*8, amp=0.4, chop=linvar(40), pan=0.8).penta().every(3, "offadd",-1) | ||
|
||
p2.stop() | ||
|
||
Group(d1,d2,b1).solo() | ||
|
||
p_all.stop() | ||
b1.stop() | ||
############################# | ||
|
||
Scale.default = "minor" | ||
|
||
var.r = var([0,4,0,5],dur=8) | ||
|
||
Clock.bpm =126 | ||
|
||
Clock.set_time(-1) | ||
|
||
|
||
|
||
s3.stop() | ||
f_all.stop() | ||
|
||
|
||
d3 >> play("X", dur=[3/4,1/4,rest(1/2),1/2,rest(1/2),1/2,rest(1/4),1/2,rest(1/4)], amp=0.6) | ||
# volt mix | ||
d1 >> play("-", dur=1/2, pan=-0.8, amp=[0.8,0.5]) | ||
d2 >> play("m", dur=[1/4,1/4,1/2,rest(1),rest(1/2),1/4,1/4], amp=0.3) | ||
d4 >> play("o", dur=[rest(1),1], amp=0.5) | ||
|
||
d5 >> play("t", dur=[rest(3/4),1/4,rest(1/4),3/4,3/4,1/4,rest(1/2),1/2], pan=0.8, amp=0.9).stop() | ||
|
||
~b1 >> bass(var.r -7, dur=[3/4,1/4,rest(1/2),1/2,rest(1/2),1/2,rest(1/4),1/2,rest(1/4)], sus=[1/4,1/4,1/4,1,1/4,1/4,1/4], amp=0.3) | ||
|
||
|
||
|
||
p1 >> saw(var.r + P(0,2+7,4,6) - 7, dur=PDur(3,8,1)*2, amp=0.3, sus=1/2, pan=0, room=1) | ||
|
||
p2 >> soprano(var.r + P[0,2+7,4,6], dur=4, amp=0.2, pan=-0.7) | ||
|
||
Group(p1,p2,b1,d1,d5).solo(0) | ||
|
||
d3.amplify = 0 | ||
d4.amplify = 0 | ||
|
||
p_all.stop() | ||
|
||
b_all.stop() | ||
|
||
s_all.stop() | ||
|
||
f_all.stop() | ||
|
||
Samples.addPath('/home/diego/MusicProjects/algoclub-samples/export') | ||
|
||
~s3 >> loop("guerreiros2", dur=[rest(8),rest(3.5), 4.5], beat_stretch=1, amp=0.2, room=1) | ||
|
||
~s2 >> loop("voces-sacaram", dur=[4,3.4,rest(8.6)], amp=0.2) | ||
|
||
s_all.stop() | ||
|
||
s1 >> loop("sacaram", dur=[rest(4),rest(4),1,2,1,1,2,rest(1), ], amp=0.2, rate=1) | ||
|
||
s1 >> loop("sacaram2", dur=[1, rest(7)], beat_stretch=1).stop() | ||
|
||
~s2 >> loop("e-claro", dur=[2, rest(2)], amp=0.2, beat_stretch=1) | ||
|
||
s4 >> loop("venham-aqui", dur=[2, rest(2)], amp=0.2).stop() | ||
|
||
############################################################# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
Scale.default = "minor" | ||
|
||
var.r = var(P[0], dur=8) | ||
|
||
~p1 >> rlead(dur=4, spin=4) | ||
|
||
p2 >> pianovel(var.r + [P(0,2,4,0), P(0,2,4,6)], shape=0.5, dur=8, formant=4, amp=0.5) | ||
|
||
b1 >> bass(var.r, dur=1/2, sus=1/2, amp=0.3, chop=2) | ||
|
||
b1 >> bass(var.r, dur=PDur(5,8), sus=1/2, amp=0.3, chop=2).every([6,2],"offadd", 3) | ||
|
||
~d4 >> donk(var.r + P[0,2,4], dur=PDur(3,8), room=0.4, echo=0.75, echotime=6).shuffle().often("offadd", 3) | ||
|
||
Group(b1, d4, p1).solo(0) | ||
|
||
d4.stop() | ||
Group(b1, d4, p1).solo(0) | ||
~d1 >> play("xs") | ||
d2 >> play(" o ") | ||
d3 >> play("[--]-[---]-", amp=[0.2,0.8]) | ||
|
||
+++++++++++++++++++++++++++++++++ | ||
|
||
p3 >> pluck(fmod=linvar([-10,10],8), dur=1/4, sus=1, amp=0.1) | ||
|
||
|
||
p2 >> dirt(P[0] + P(0,4), shape=0.5, dur=8, amp=1, amplify=0.5) | ||
|
||
|
||
p2 >> dirt([0,5], shape=0.5, dur=8, amp=1, amplify=0.5) + (0,4) | ||
|
||
|
||
print(SynthDefs) | ||
|
||
p1 >> pluck(formant=7) | ||
|
||
|
||
# Shift a synth's pitch | ||
p1 >> rhodes(pshift=[0,1,2,3]) | ||
|
||
|
||
# Glide to and from the 5th note in the scale (7th semitone) | ||
p1 >> pluck([0, 4], dur=4, glide=[7,-7]) | ||
|
||
# Shift a sample's pitch | ||
p2 >> play("C", dur=2, pshift=[0,1,2,3]) | ||
|
||
# Can be used to make chords | ||
p2 >> play("C", dur=2, pshift=[0, (0,4,7)], sample=3) | ||
|
||
b1 >> bass(P[0,3,5], dur=PDur(3,8), sus=0.5) | ||
|
||
|
||
p1 >> pluck(dur=4, vib=4) | ||
|
||
p1 >> pluck(dur=4, slide=-1) | ||
|
||
# Delay the slide effect to start half way through the note | ||
p1 >> pluck(dur=4, slidefrom=0.5, slidedelay=0.5) | ||
|
||
# Bend to 0 and back again | ||
p1 >> pluck(dur=4, bend=-1) | ||
|
||
p1 >> pluck(dur=4, slide=0.5, bend=0.5) | ||
|
||
|
||
b1 >> bass(var([0,-2], dur=8),dur=2, chop=4, coarse=0) | ||
|
||
d1 >> play("x-o-", hpf=linvar([0,2000],32)) | ||
|
||
d1 >> play("x-o-", hpf=linvar([0,2000],32), hpr=linvar([1,0.1],28)) | ||
|
||
# Apply the bit-crusher effect | ||
d1 >> play("X O ", crush=4) | ||
|
||
# Reduce the number of bits for more distortion | ||
d1 >> play("X O ", crush=4, bits=4) | ||
|
||
# Or reduce the sample rate for a different style of distortion! | ||
d1 >> play("X O ", crush=32, bits=8) | ||
|
||
|
||
d1 >> play("x * ", shape=0.5) | ||
|
||
|
||
|
||
# We can use echo to make drum loops more interesting too | ||
d1 >> play("(x )( x)o ", room=0.1, echo=0.75/2, echotime=4) | ||
|
||
|
||
print(SynthDefs) | ||
|
||
# Move the pan left to right 4 times across 1 beat | ||
p1 >> rlead(dur=4, sus=1, spin=4) |