mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-27 05:28:41 +00:00
build
This commit is contained in:
parent
3fb4582d61
commit
f2acc12174
5
docs/dist/groove.js
vendored
Normal file
5
docs/dist/groove.js
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import {Pattern as _Pattern} from "../_snowpack/link/strudel.js";
|
||||||
|
const Pattern = _Pattern;
|
||||||
|
Pattern.prototype.groove = function(groove) {
|
||||||
|
return groove.fmap(() => (v) => v).appLeft(this);
|
||||||
|
};
|
||||||
1
docs/dist/parse.js
vendored
1
docs/dist/parse.js
vendored
@ -5,6 +5,7 @@ import "./tone.js";
|
|||||||
import "./midi.js";
|
import "./midi.js";
|
||||||
import "./voicings.js";
|
import "./voicings.js";
|
||||||
import "./tonal.js";
|
import "./tonal.js";
|
||||||
|
import "./groove.js";
|
||||||
import * as toneStuff from "./tone.js";
|
import * as toneStuff from "./tone.js";
|
||||||
import shapeshifter from "./shapeshifter.js";
|
import shapeshifter from "./shapeshifter.js";
|
||||||
const {
|
const {
|
||||||
|
|||||||
13
docs/dist/tunes.js
vendored
13
docs/dist/tunes.js
vendored
@ -267,4 +267,17 @@ export const scaleTranspose = `stack(f2, f3, c4, ab4)
|
|||||||
.synth('sawtooth')
|
.synth('sawtooth')
|
||||||
.filter(800)
|
.filter(800)
|
||||||
.gain(0.5)`;
|
.gain(0.5)`;
|
||||||
|
export const groove = `stack(
|
||||||
|
m('c2 g2 a2 [e2@2 eb2] d2 a2 g2 [d2 ~ db2]')
|
||||||
|
.synth('sawtooth')
|
||||||
|
.filter(500)
|
||||||
|
.gain(.6),
|
||||||
|
m('[C^7 A7] [Dm7 G7]')
|
||||||
|
.groove(m('[x@2 x] [~@2 x] [~ x@2]@2 [x ~@2] ~ [~@2 x@4]@2'))
|
||||||
|
.voicings(['G3','A4'])
|
||||||
|
.synth('square')
|
||||||
|
.filter(1000)
|
||||||
|
.adsr(.1,.1,.2)
|
||||||
|
.gain(0.25)
|
||||||
|
).slow(4.5)`;
|
||||||
export default swimming;
|
export default swimming;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user