"add" example

This commit is contained in:
Felix Roos 2022-02-27 20:16:29 +01:00
parent 31319b4045
commit f361b50f7f

View File

@ -309,7 +309,6 @@ export const loungerave = `() => {
//.early("0.25 0");
}`;
export const caverave = `() => {
const delay = new FeedbackDelay(1/8, .4).chain(vol(0.5), out());
const kick = new MembraneSynth().chain(vol(.8), out());
@ -342,7 +341,6 @@ export const caverave = `() => {
).slow(2);
}`;
export const callcenterhero = `()=>{
const bpm = 90;
const lead = polysynth().set({...osc('sine4'),...adsr(.004)}).chain(vol(0.15),out())
@ -451,3 +449,12 @@ export const sowhatelse = `()=> {
"[2,4]/4".scale('D dorian').apply(t).tone(instr('pad')).mask("<x x x ~>/8")
).fast(6/8)
}`;
export const barryHarris = `piano()
.then(p => "0,7,2,[7 6]"
.add("<0 1 2 3 4 5 7 8>")
.scale('C bebop major')
.transpose("<0 1 2 1>/8")
.slow(2)
.tone(p.toDestination()))
`;