mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-22 21:23:21 -04:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 684216bf8c | |||
| ac564000b1 |
@@ -1014,6 +1014,13 @@ export class Pattern {
|
|||||||
return this._chunk(n, func, true);
|
return this._chunk(n, func, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
edit(...funcs) {
|
||||||
|
return stack(...funcs.map((func) => func(this)));
|
||||||
|
}
|
||||||
|
pipe(func) {
|
||||||
|
return func(this);
|
||||||
|
}
|
||||||
|
|
||||||
_bypass(on) {
|
_bypass(on) {
|
||||||
on = Boolean(parseInt(on));
|
on = Boolean(parseInt(on));
|
||||||
return on ? silence : this;
|
return on ? silence : this;
|
||||||
|
|||||||
@@ -6,6 +6,6 @@ This package adds [webdirt](https://github.com/dktr0/WebDirt) support to strudel
|
|||||||
|
|
||||||
Add default samples to repl:
|
Add default samples to repl:
|
||||||
|
|
||||||
1. move samples to `repl/public/samples` folder. the samples folder is expected to have subfolders, with samples in it. the subfolders will be the names of the samples.
|
1. move samples to `repl/public` folder. the samples folder is expected to have subfolders, with samples in it. the subfolders will be the names of the samples.
|
||||||
2. run `./makeSampleMap.sh ../../repl/public/samples/EmuSP12 > ../../repl/public/samples/EmuSP12.json`
|
2. run `./makeSampleMap.sh ../../repl/public/EmuSP12 > ../../repl/public/EmuSP12.json`
|
||||||
3. adapt `loadWebDirt` in App.jsx + MiniRepl.jsx to use the generated json file
|
3. adapt `loadWebDirt` in App.jsx + MiniRepl.jsx to use the generated json file
|
||||||
|
|||||||
@@ -24,3 +24,4 @@ dist-ssr
|
|||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
oldtunes.mjs
|
oldtunes.mjs
|
||||||
|
public/samples/EMU World
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user