From c67b02b7b02fe1a9c780e3180bc6ed196a0a48b5 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 2 Dec 2022 12:09:58 +0100 Subject: [PATCH] update tunes --- repl/src/tunes.mjs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/repl/src/tunes.mjs b/repl/src/tunes.mjs index ba7811e2..4f268901 100644 --- a/repl/src/tunes.mjs +++ b/repl/src/tunes.mjs @@ -992,7 +992,9 @@ export const juxUndTollerei = `note("c3 eb3 g3 bb3").palindrome() .delay(.5).delaytime(.1).delayfeedback(.4) .pianoroll()`; -export const csoundDemo = `await csound\` +export const csoundDemo = `// licensed with CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/ +// by Felix Roos +await csound\` instr CoolSynth iduration = p3 ifreq = p4 @@ -1022,9 +1024,13 @@ endin\` .scale('D minor') .note() //.pianoroll() -.csound("/4")`; +.csound('CoolSynth')`; -export const loungeSponge = `await csound() +export const loungeSponge = ` +// licensed with CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/ +// by Felix Roos +// livecode.orc by Steven Yi +await loadOrc('github:kunstmusik/csound-live-code/master/livecode.orc') stack( note("/2".voicings()) @@ -1038,4 +1044,4 @@ stack( .legato(.25).csound('SynHarp') , s("bd*2,[~ hh]*2,~ cp").bank('RolandTR909') - )`; +)`;