wasm is running

This commit is contained in:
Peter Salomonsen 2023-03-17 23:43:40 +01:00 committed by Peter Salomonsen
parent e282843f1f
commit aa87a9db00
6 changed files with 554 additions and 3516 deletions

1
.gitignore vendored
View File

@ -31,3 +31,4 @@ actual_output/
**/__debug_bin **/__debug_bin
node_modules node_modules
*.raw

View File

@ -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
} }

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff