New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream audio sample from disc option #772

Open
thibaudk opened this Issue Jun 4, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@thibaudk
Copy link
Member

thibaudk commented Jun 4, 2018

Ram use can be quickly saturated when loading "sound file" processes with fairly big audio tracks.
Adding an option to stream direct from disc would add a lot of flexibility.

@thibaudk thibaudk added the enhancement label Jun 4, 2018

@jcelerier

This comment has been minimized.

Copy link
Member

jcelerier commented Jul 29, 2018

just pushed a partial fix : currently sound files were loaded twice (once in the editor and once in the execution), now they will be loaded only once

@jcelerier

This comment has been minimized.

Copy link
Member

jcelerier commented Dec 18, 2018

A good start for this would be to :

Then once this part works, porting the whole thing so that it runs in the execution process instead of the UI : this certainly means reimplementing the current one : https://github.com/OSSIA/libossia/blob/master/OSSIA/ossia/dataflow/nodes/sound.hpp#L26 (the current one should stay, though, since it will be much faster if we have small files)

We also need to read the whole thing at least once to generate the waveform (and maybe have a waveform cache somewhere).

@thibaudk

This comment has been minimized.

Copy link
Member

thibaudk commented Dec 18, 2018

Great! thank you for the pointers.
I'll get on it and report my findings here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment