I would like to use Overtone to play a longer continuous audio file from disk.
I know Overtone has facilities for loading in samples into memory, but seeing as these files will be long and large (possibly on the order of hours), this is not the method I want to use.
SuperCollider - which Overtone uses as its audio engine - however, also has another way to load and stream files, namely using DiskIn, which Overtone also seems to have, but I wasn't able to find (docs, github) a corresponding Buffer.cueSoundFile()
function.
Does Overtone have cueSoundFile
at all? Is there another way I can use?
cueSoundFile is a fancier term for the equivalent osc message /b_read which you'll find in Overtone as
overtone.sc.buffer/buffer-cue
.As a 5 second demo, this plays a 2-channel file from disk.
And the doc for disk-in (SC DiskIn)