faroit / stempeg

Python I/O for STEM audio files
https://faroit.github.io/stempeg
MIT License
96 stars 13 forks source link

Reading is too slow #25

Closed faroit closed 4 years ago

faroit commented 4 years ago

currently stempeg loads stems by

For each stream extraction a os.call is used. For small files this could slows down stempeg loading significantly.

faroit commented 4 years ago

One attempt was made in #17, however it turns out to be even slower. I am open to better ideas to speed up the reading

faroit commented 4 years ago

using pipes from stdin improved reading speed significantly This is implemented in #28