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.
; Select audio/midi flags here according to platform ; Audio out Audio in No messages -odac ;;;RT audio out ;-iadc ;;;uncomment -iadc if RT audio input is needed too ; sr = 44100 ; ksmps = 32 ; nchnls = 2 instr 1 inum = p4 iceil = ceil(inum) print iceil endin i 1 0 0 1 i . . . 0.999999 i . . . 0.000001 i . . . 0 i . . . -0.0000001 i . . . -0.9999999 i . . . -1 e