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 ; Required settings for WebAudio: sr = 48000 ksmps = 128 nchnls = 2 nchnls_i = 1 ; sr = 44100 ; ksmps = 32 ; nchnls = 2 0dbfs = 1 instr 1 asig diskin "fox.wav",1,0,1 air diskin "beats.wav",1,0,1 air buthp air/0dbfs,1000 k1 linseg 0,p3/3,0,0,1,2*p3/3,1 a1 oscili k1, 0.5, 1 a2 oscili k1, 0.6, 1 asig tvconv asig,air,1-a2,1-a1,256,1024 asig clip asig,1,0dbfs outs asig, asig endin f1 0 1024 7 0 512 0 1 1 511 1 i1 0 30 e