Compare commits

..

2 Commits

Author SHA1 Message Date
Felix Roos 684216bf8c strudel cli poc 2022-07-19 23:42:33 +02:00
Felix Roos ac564000b1 ignore samples 2022-07-19 23:29:11 +02:00
118 changed files with 865 additions and 25 deletions
+7
View File
@@ -1014,6 +1014,13 @@ export class Pattern {
return this._chunk(n, func, true);
}
edit(...funcs) {
return stack(...funcs.map((func) => func(this)));
}
pipe(func) {
return func(this);
}
_bypass(on) {
on = Boolean(parseInt(on));
return on ? silence : this;
+2 -2
View File
@@ -6,6 +6,6 @@ This package adds [webdirt](https://github.com/dktr0/WebDirt) support to strudel
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.
2. run `./makeSampleMap.sh ../../repl/public/samples/EmuSP12 > ../../repl/public/samples/EmuSP12.json`
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/EmuSP12 > ../../repl/public/EmuSP12.json`
3. adapt `loadWebDirt` in App.jsx + MiniRepl.jsx to use the generated json file
+2 -1
View File
@@ -23,4 +23,5 @@ dist-ssr
*.sln
*.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