diff --git a/README.md b/README.md index 977ef35..2e7a7a4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # strudel + +## Samples + +Samples to start with + +## Songs + +More or less draft trashcan diff --git a/someSongs/sampleWahWahTest.js b/someSongs/sampleWahWahTest.js new file mode 100644 index 0000000..56f18f1 --- /dev/null +++ b/someSongs/sampleWahWahTest.js @@ -0,0 +1,13 @@ +setCps(150/60/4) + +const MAINGAIN = slider(0.8627,.1,3) + +samples('github:dexta/strudel/main/') + +$: s("bd:1!4").note("<0 2 4 <3 5 7>>").gain(.8) + ._scope() + + +$: note("*2").s("wahgtr:5 wahgtr:6 wahgtr:7 wahgtr:8").trans(-12) + .gain(MAINGAIN) + ._pianoroll() \ No newline at end of file diff --git a/someSongs/slowBackground.js b/someSongs/slowBackground.js new file mode 100644 index 0000000..d5908d5 --- /dev/null +++ b/someSongs/slowBackground.js @@ -0,0 +1,53 @@ +// ################ ---- MAIN -------------- +const mainClearAcidEnv = slider(0.194) +const mainClearVolume = slider(1.134,0,2) +// ################ ---- PINK -------------- +const mainPinkAcidEnv = slider(0.456) +const mainPinkVolume = slider(0,0,2) +// ################ ---- MORE -------------- +const mainMoreAcidEnv = slider(0.713) +const mainMoreVolume = slider(0,0,2) + +// ################ ---- TOP ON ------------ +const topOnVolume = slider(1.431,0,3) + +// ################ ---- BASE DRUM---------- +const baseDrumVolume = slider(0) +const dirtyDrumVolume = slider(1) + +// ################ ---- WHITE RISER ------- +const whiteRiserVolume = slider(0.1474,.1,.4) + +setCps(70/64/4) + +$mainClear: n("<0 4 0 9 7>*16").scale("g:minor").trans(-12).orbit(3).s("sawtooth").acidenv(mainClearAcidEnv) + .delay(.4).vib("<.1 .1 .2 .1 .8 1>").gain(mainClearVolume) + ._pianoroll() +$mainPink: n("<0 _ _ 2 _ _ 0 5 _ _ 7 0>*16").scale("g:minor").trans(-24).orbit(3).s("sawtooth").acidenv(mainPinkAcidEnv) + .delay(.8).fm(.2).fmwave("pink").gain(mainPinkVolume) + ._pianoroll() + + + + +$more: n("<7 _ _ 6 5 _ < 5 3>*2 <6 4>*2 <4 3>*2>*2").scale("g:minor").trans(-24).detune(rand).orbit(4).s("sawtooth").acidenv(mainMoreAcidEnv) + .gain(mainMoreVolume) + ._pianoroll() + + + + +$topOn: n("<3 _ 3 _ 4 _ 3 _ 1 _>*2").s("wind:1/2").fit().orbit(2).gain(topOnVolume).pan("<.5 1 0 .5>") + ._pianoroll() + + +$bdrum: s("bd:6!4").duck("3:4:5:2").duckdepth(.2).duckattack(.2).gain(baseDrumVolume) + ._scope(); + +$dirtybdrum: s("bd:7!4").duck("3:4:5:2").duckdepth(.1).duckattack(.1).gain(dirtyDrumVolume) +._scope(); + + + +$whiteRiser: s("white!4").att(.4).o(6).gain(whiteRiserVolume).pan(sine.slow(2)) + ._scope();