now using symlinked samples folder from repl

This commit is contained in:
Felix Roos
2022-07-01 10:41:11 +02:00
parent 6b3687357e
commit 4cce65c9fe
4 changed files with 10 additions and 9 deletions
+1 -2
View File
@@ -23,5 +23,4 @@ dist-ssr
*.sln
*.sw?
samples
EmuSP12
samples
+2 -2
View File
@@ -28,8 +28,8 @@ const init = evalScope(
);
loadWebDirt({
sampleMapUrl: './samples.json',
sampleFolder: './EmuSP12',
sampleMapUrl: './samples/EmuSP12.json',
sampleFolder: './samples/EmuSP12/',
});
prebake();
+5 -4
View File
@@ -167,13 +167,14 @@ import ImgTile from './ImgTile';
canvasHeight={600}
code={[
`"<0 2 [4 6](3,4,1) 3*2>"
.scale('D minor')
.color('salmon')
.off(1/4, x=>x.scaleTranspose(2).color('green'))
.off(1/2, x=>x.scaleTranspose(6).color('steelblue'))
.off(1/4, x=>x.add(2).color('green'))
.off(1/2, x=>x.add(6).color('steelblue'))
.scale('D minor')
.legato(.5)
.echo(2, 1/8, .5)
.pianoroll()`,
.pianoroll()
.note().piano().out()`,
//
`// froos - xylophone on the floor
const t = x => x.scaleTranspose("<0 2 4 3>/4").transpose(-2)
+2 -1
View File
@@ -6,7 +6,8 @@
"dev": "vite",
"start": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"symlink-samples": "ln -s ../../repl/public/samples/ ./public/"
},
"type": "module",
"dependencies": {