add makeComposable for chainable composition

- only used with transpose so far
This commit is contained in:
Felix Roos 2022-02-15 08:19:48 +01:00
parent 22baae10dd
commit 2f164649b9
5 changed files with 60 additions and 6 deletions

View file

@ -363,4 +363,16 @@ export const confusedPhoneDynamic = `stack('[g2 ~@1.3] [c3 ~@1.3]'.mini.slow(2))
.scaleTranspose(slowcat(0,1,2,1).slow(2))
.synth('triangle').gain(0.2).filter(1500)`;
export const confusedPhonePartial = `stack('[g2 ~@1.3] [c3 ~@1.3]'.mini.slow(2))
.superimpose(
transpose(-12).late(0),
transpose(7).late(0.2),
transpose(10).late(0.4),
transpose(12).late(0.6),
transpose(24).late(0.8)
)
.scale(sequence('C dorian', 'C mixolydian').slow(4))
.scaleTranspose(slowcat(0,1,2,1).slow(2))
.synth('triangle').gain(0.2).filter(1500)`;
export default swimming;