This should play if your Web browser has WebAssembly enabled (most do). Most examples will play unless they need to load files. The first time you click Play, Csound will spend a few seconds loading, then play. You can edit this code and replay it.
-n ; Required settings for WebAudio: sr = 48000 ksmps = 128 nchnls = 2 nchnls_i = 1 instr 1 isiz = 2048 ihsiz = isiz/4 S1 = "flutec3.wav" p3 = filelen(S1) ain diskin2 S1,1 ffr,fphs pvsifd ain, isiz, ihsiz, 1 ftrk partials ffr, fphs, 0.01, 1, 1, 500 part2txt "partialsh.txt",ftrk endin i1 0 1