Hey! I’m working on an text to speech plugin for TD. I’m using the python request library to download an audio file / stream. I’m wondering if there’s a way that I can immediately start streaming the audio into a CHOP in TouchDesigner, so the seconds there’s data it will start playing back audio?
Currently I’m writing the audio to a temporary file and then loading the audio through an AudioFileIn CHOP. The problem is that the audio can take a long time to generate and download which causes a significant delay. Any thoughts on passing along the audio data to a CHOP as it’s being downloaded?