You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, when writing channel-wise, the code spends a lot of time in seek() which is not a quick thing for a file.
For our part, the reading/storing/writing in the wrapper should change to be interleaved. This is not as huge a change as it seems:
Use readInterleaved from IAudioFile
In common with the BufferAdaptors for other hosts, rely on FluidTensorView to handle the layout logic (obtaining a channel -> reading a column when using interleaved layout)
Use writeInterleaved from OAudioFile
For CSV output we probably want to use the transpose of the interleaved data. I think.
It's not really in our hands. The PR code has been merged into an experimental branch on HISSTools, but I don't think that branch has yet made it to main
Activity
weefuzzy commentedon Sep 30, 2020
PR submitted, with hopefully much better performance for multichannel writes.
Still todo: at our end, keep the data in interleaved layout (this is faster still, according to my testing...)
tremblap commentedon Jun 18, 2022
should we aspire for this in v1?
weefuzzy commentedon Jun 18, 2022
It's not really in our hands. The PR code has been merged into an experimental branch on HISSTools, but I don't think that branch has yet made it to
mainAlexHarker commentedon Mar 1, 2024
I think this code is now merged, or on the way to being merged, so once we are header-only we should retest this.