"resting session" and audio buffer
-
@dustbro -1 = no disk streaming, so everything is loaded into RAM
-
200000 is about 5 seconds so you just don‘t hear the cutoff.
Is this also „solving“ the export issue?
-
@Christoph-Hart said in "resting session" and audio buffer:
Is this also „solving“ the export issue?
It's gotten much better. Realtime export is still much more reliable, but non-realtime is considerably better. I'm gonna crank up the buffer more and see what happens.
-
I'm experiencing the same issue on export - the instrument plays fine but when I render from Ableton, I'm getting these drops in the audio. What's the best way to remedy this? I'd rather not set the preload to -1 because the samples I'm loading are quite heavy at times.
-
@tomekslesicki Increase the buffer and preload time. That worked for me
-
Alright, I try to come up with a proper solution. AFAIK there's an API call
isRenderingOffline()
and if yes I can make the audio rendering stall until the streaming thread is ready. -
@Christoph-Hart ok, so would it be possible to add a script that would increase the preload and buffer during rendering and keep it lower for normal use? If so, how?
Thanks!
-
No, the proper solution is to query the host whether the rendering is being done in realtime and if it isn't, make the rendering wait until the streaming thread has fetched the samples.
Everything else is just shifting the point where it starts to break.
-
@Christoph-Hart said in "resting session" and audio buffer:
No, the proper solution is to query the host whether the rendering is being done in realtime and if it isn't, make the rendering wait until the streaming thread has fetched the samples.
Everything else is just shifting the point where it starts to break.
Ok! How can I do that?
-
...or is it something @Christoph-Hart has to do behind the scenes?
-
...or is it something @Christoph-Hart has to do behind the scenes?
@Christoph-Hart said in "resting session" and audio buffer:
I try to come up with a proper solution
I take that to mean Christoph will implement a solution.
-
@Dan-Korneff said in "resting session" and audio buffer:
Increase the buffer and preload time. That worked for me
Is this safe to release a plugin like that? A user is having problems with the plugin's audio in the DAW.
Or is it safer to create a combobox in the GUI to increase the buffer and preload if they have problems?
-
@bendurso I can't remember. It's been years since I dealt with sample libraries.