Closed MikeiLL closed 10 years ago
Ah, excellent, then you've already found the best way to deal with lots of audio.
We thought about adding Peter's streaming magic to the main repo, and decided against it - but for those people who want tons / streaming audio, it's a great place to start.
I'm working with P. Sobots ForeverFM module, which uses customized older version of Remix (and I think pyechonest).
Wondering if it would make sense to add the LocalAudioStream class to the audio module:
`class LocalAudioStream(AudioStream): """ Like a non-seekable LocalAudioFile with vastly better memory usage and performance. Takes a file-like object (and its kind, assumed to be MP3) and supports slicing and rendering. Attempting to read from a part of the input file that has already been read will throw an exception. """ def init(self, initializer, kind="mp3"): AudioStream.init(self, initializer)
`