--env:SSDIR+=../../SourceMaterials -odac sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 instr 1 Sfile = "ClassGuit.wav" ifilchnls filenchnls Sfile if ifilchnls == 1 igoto mono; condition if true igoto stereo; else condition mono: prints "The file is mono!%n" igoto continue stereo: prints "The file is stereo!%n" continue: endin i 1 0 0 ;example by joachim heintz