sr = 44100
ksmps = 1
nchnls = 2
0dbfs = 1
seed 0
/*
list the cues in the file, showing time in seconds and samples
*/
instr run
Sfile = "example1.wav"
icues[] cueextract Sfile
isr = filesr(Sfile)
index = 0
while (index < lenarray(icues)) do
prints sprintf("%f (%d)\n", icues[index] / sr, icues[index])
index += 1
od
endin
i"run" 0 1