worldmaking / mischmasch

https://www.alicelab.world/msvr
MIT License
9 stars 1 forks source link

mismatch in the mischmasch #228

Closed michaelpalumbo closed 1 year ago

michaelpalumbo commented 1 year ago

The scenes created in the node-gles and webxr versions differ slightly because the mischmaschops.json and genishops.json docs in each folder are slightly different. see funzo.json from each version in a mergely diff editor.

Need to resolve this so that when we load the node-gles version, it makes sound, then when we load funzo in webxr can rule out the graph for the reason audio isn't working.

node version:

paramde824969ed9540f2915d80bb0b924923_freq = param(phasor_de824969ed9540f2915d80bb0b924923_freq, -4.269799838767161, -20000, 20000);
octsub_3 = add(paramde824969ed9540f2915d80bb0b924923_freq, 1.25);
octpow4 = pow(2, octsub_3);
hz5 = mul(55, octpow4);
phase_de824969ed9540f2915d80bb0b924923 = phasor(hz5, 0);  
param29eb8c722de94e0394f06219bad6647b_width = param(train_29eb8c722de94e0394f06219bad6647b_width, 0.16684976456107503, -20000, 20000);
param29eb8c722de94e0394f06219bad6647b_freq = param(train_29eb8c722de94e0394f06219bad6647b_freq, 0.7706815213787781, 
-20000, 20000);
combine29eb8c722de94e0394f06219bad6647b_freq = add(phase_de824969ed9540f2915d80bb0b924923, param29eb8c722de94e0394f06219bad6647b_freq);
octsub_0 = add(combine29eb8c722de94e0394f06219bad6647b_freq, 1.25);
octpow1 = pow(2, octsub_0);
hz2 = mul(55, octpow1);
out1_29eb8c722de94e0394f06219bad6647b = train(hz2, param29eb8c722de94e0394f06219bad6647b_width);
speaker(out1_29eb8c722de94e0394f06219bad6647b);

webxr version:

paramde824969ed9540f2915d80bb0b924923_freq = param(phasor_de824969ed9540f2915d80bb0b924923_freq, -4.269799838767161, -20000, 20000);
octsub_3 = add(paramde824969ed9540f2915d80bb0b924923_freq, 1.25);
octpow4 = pow(2, octsub_3);
hz5 = mul(55, octpow4);
out1_de824969ed9540f2915d80bb0b924923 = phasor(hz5, 0);
param29eb8c722de94e0394f06219bad6647b_phase = param(cycle_29eb8c722de94e0394f06219bad6647b_phase, 0, -20000, 20000);
param29eb8c722de94e0394f06219bad6647b_freq = param(cycle_29eb8c722de94e0394f06219bad6647b_freq, 0.7706815213787781, -20000, 20000);
combine29eb8c722de94e0394f06219bad6647b_freq = add(out1_de824969ed9540f2915d80bb0b924923, param29eb8c722de94e0394f06219bad6647b_freq);
octsub_0 = add(combine29eb8c722de94e0394f06219bad6647b_freq, 1.25);
octpow1 = pow(2, octsub_0);
hz2 = mul(55, octpow1);
out1_29eb8c722de94e0394f06219bad6647b = cycle(hz2, param29eb8c722de94e0394f06219bad6647b_phase);
speaker(out1_29eb8c722de94e0394f06219bad6647b);
michaelpalumbo commented 1 year ago

due to a mistake i made yesterday, many op output names are mislabeled. will now go through the docs to label them correctly.

michaelpalumbo commented 1 year ago

this issue is resolved now