mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-21 20:55:12 -04:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b7ff17e01 | |||
| 71dc108b2d | |||
| 82728be44b | |||
| bebfa23cc9 |
@@ -1014,13 +1014,6 @@ 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` 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/samples` 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/EmuSP12 > ../../repl/public/EmuSP12.json`
|
2. run `./makeSampleMap.sh ../../repl/public/samples/EmuSP12 > ../../repl/public/samples/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,4 +24,3 @@ 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