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.
-odac -d ; Required settings for WebAudio: sr = 48000 ksmps = 128 nchnls = 2 nchnls_i = 1 ; sr = 44100 ; ksmps = 64 ; nchnls = 1 0dbfs = 1 gifw ftgen 0,0,1024,20,2,1 instr 1 a1 diskin "fox.wav",1,0,1 kcfs[],krms,kerr,kcps lpcanal a1,1,512,1024,50,gifw a2 rand 0dbfs kpar[] apoleparams kcfs kmin expseg 8000,p3/4,200,3*p3/4,600 a3 resonbnk a2*krms*kerr/4,kpar,kmin,16000-kmin,512,1 out a3 endin i1 0 32