This is the kind of note the official docs do not need to own, but the community benefits from keeping around.
Quick translation table
fragCoordstill represents the pixel you are shading.iResolutionmaps to the output resolution you get from syn.iTimemaps to your time uniform.iChannel0style inputs usually turn into explicit syn textures or uniforms.
First-pass checklist
- Replace Shadertoy texture reads with the syn input you actually have.
- Move any setup assumptions out of the shader and into the JS or patch layer.
- Smooth raw audio before using it for motion or thresholds.
vec2 uv = (fragCoord - 0.5 * resolution.xy) / resolution.y;