I thought maybe it is a good idea to collect Emscripten behavior / bugs that differ from Ofelia without Emscripten.
Five things for now:
[cos~] does not work, [expr~ cos(2 * 3.14159 * $v1)] does.
[array] does not work, but [array define] does.
ofSetLineWidth() does not work.
I need to set the ticksPerBuffer in ofApp.cpp from 8 to between 16 and 64, depending on the complexity of the patch and the power of the computer for avoiding audio glitches and artifacts (maybe there is a way to optimize it).
Shader need to be ported from GLSL to GLES or directly written in GLES.