aboutsummaryrefslogtreecommitdiff
path: root/BUG6/instruments.udo
diff options
context:
space:
mode:
Diffstat (limited to 'BUG6/instruments.udo')
-rw-r--r--BUG6/instruments.udo11
1 files changed, 6 insertions, 5 deletions
diff --git a/BUG6/instruments.udo b/BUG6/instruments.udo
index a6d3458..0b91a1e 100644
--- a/BUG6/instruments.udo
+++ b/BUG6/instruments.udo
@@ -78,10 +78,10 @@ endin
instr play_blip
iamp = bid_getparameter(p4, p5, 2)
- inote1 = table(p4+3, gibid_chordfn, 0, 0, 1) +12
- inote2 = table(p4+5, gibid_chordfn, 0, 0, 1) +12
- a1 oscil 1, cpsmidinn(inote1)
- a2 oscil 1, cpsmidinn(inote2)
+ inote1 = table(p4+3, gibid_chordfn, 0, 0, 1) + 12
+ inote2 = table(p4+5, gibid_chordfn, 0, 0, 1) + 12
+ a1 oscil 1.2, cpsmidinn(inote1)
+ a2 oscil 1.2, cpsmidinn(inote2)
kamp linseg 1, p3*0.2, 0, p3*0.8, 0
aL = a1 * kamp
aR = a2 * kamp
@@ -160,7 +160,8 @@ instr play_hat2
aout = a808 * aenv * iamp * 1.1
aL delay aout, idel1
aR delay aout, idel2
- if (i(gksection) == 1 && random(0, 1) > 0.7) then
+ isection = i(gksection)
+ if ((isection == 1 || isection == 9) && random(0, 1) > 0.7) then
bus_mix("delay2", aL*0.4, aR*0.4)
endif
bus_mix("master", aL, aR)