From 7fab17ce48c36d21e9f8d9b8a6fec4c891fdd3a6 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sat, 2 Sep 2023 17:08:52 +0200 Subject: [PATCH] new demo song --- src/examples/excerpts.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/examples/excerpts.ts b/src/examples/excerpts.ts index 3614b9e..1146357 100644 --- a/src/examples/excerpts.ts +++ b/src/examples/excerpts.ts @@ -1,5 +1,20 @@ export const examples = [ ` +// Atarism - Bubobubobubo +bpm(85); +let modifier = [.5, 1, 2].div(8); +let othermod = [1, .5, 4].div(4); +mod(modifier / 2):: sound('STA9').n([0,2].div(.5)).speed(0.5).vel(0.5).out() +mod(.5)::sound('STA9').n([0, 20].div(.5)).speed([1,1.5].repeatAll(4).beat() / 4) + .cutoff(500 + usine(.25) * 3000).vel(0.5).out() +mod(modifier / 2):: sound('STA9') + .n([0,7].div(.5)).speed(div(othermod) ? 2 :4).vel(0.45).out() +rhythm(.25, 3, 8, 1) :: sound('STA9') + .note([30, 33].pick()).n(32).speed(0.5).out() +rhythm(othermod, 5, 8) :: sound('dr').n([0,1,2].beat()).out() +mod(1) :: sound('kick').vel(1).out() +`, +` // Ancient rhythms - Bubobubobubo mod(1)::snd('kick').out(); mod(2)::snd('sd').room(0.9).size(0.9).out();