mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-04 01:28:45 -04:00
wasm is running
This commit is contained in:
parent
e282843f1f
commit
aa87a9db00
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,3 +31,4 @@ actual_output/
|
|||||||
**/__debug_bin
|
**/__debug_bin
|
||||||
|
|
||||||
node_modules
|
node_modules
|
||||||
|
*.raw
|
||||||
|
@ -34,7 +34,9 @@ const addInstrument = (name, strdef) => {
|
|||||||
const opcode_params = opline.replace(/\s\s+/,'\t').split(/[\t]/);
|
const opcode_params = opline.replace(/\s\s+/,'\t').split(/[\t]/);
|
||||||
const opcode = opcode_params[0];
|
const opcode = opcode_params[0];
|
||||||
const params = opcode_params[1].split(',');
|
const params = opcode_params[1].split(',');
|
||||||
const parameters = {};
|
const parameters = {
|
||||||
|
stereo: 1
|
||||||
|
};
|
||||||
params.forEach(param => {
|
params.forEach(param => {
|
||||||
const paramParts = param.split('(');
|
const paramParts = param.split('(');
|
||||||
const paramName = paramParts[0];
|
const paramName = paramParts[0];
|
||||||
@ -69,7 +71,7 @@ const addInstrument = (name, strdef) => {
|
|||||||
"type": {
|
"type": {
|
||||||
"GO4K_ENV": "envelope",
|
"GO4K_ENV": "envelope",
|
||||||
"GO4K_OUT": "out",
|
"GO4K_OUT": "out",
|
||||||
//"GO4K_VCO": "oscillator"
|
"GO4K_VCO": "oscillator"
|
||||||
}[opcode],
|
}[opcode],
|
||||||
parameters
|
parameters
|
||||||
}
|
}
|
||||||
|
BIN
groove.wasm
BIN
groove.wasm
Binary file not shown.
120
groove.wat
120
groove.wat
File diff suppressed because one or more lines are too long
2329
tests/groove.yaml
2329
tests/groove.yaml
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user