@cuinjune thanks for small update. I had distorted audio with firefox too. Now it sounds "good" / like expected.
On Android it is possible to use the GUI with the touchscreen...
I reuploaded ofelia3_toggle_slider_osc_lis_abstractions.zip in my original post (it is now exactly what I used for the Emscripten port) and http://puredata.handmadeproductions.de/
Another two questions: Is it possible to play/embed video/audio files with Emscripten?
I tried to port the video player patch with an embedded video file and I get this message when i run "emrun":
exception thrown: RuntimeError: float unrepresentable in integer range,RuntimeError: float unrepresentable in integer range
There was also a message with "broken pipe".
My second question is if shaders work with Emscripten and Ofelia. I assume if then only webGL ES shaders? I ported the displacement map example to Emscripten, it shows the map but it seems that the shader takes no effect.
Edit: I just read the comment in the ES2 shader.vert file:
// PLEASE NOTE.
// texture2D() is not supported in vertex ES2 shaders.
// so unfortunately on ES2, we can not sample the texture,
// and displace the mesh.
// Please see GL2 and GL3 examples for displacement mapping.
Is texture2D() supported in fragment ES shaders?