-
Notifications
You must be signed in to change notification settings - Fork 46
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
Luppp doesn't save nicely in NSM #301
Comments
Something with saving the samples in the NSM folder? This is a 'showstopper' for me at the moment. |
Hi, The issue here is that the UI thread does the disk writes. So any audiobuffers (loaded or recorded, doesn't matter) will need to be written to disk. The RealTime thread cannot do this safely (real-time gaurantees and disk-access are not a good combination..) so instead the UI thread does the work. In practice, it is possible to spawn off a background thread to perform the actual work itself, and put the thread back to sleep when done. To get really fancy (crawl,walk,run...) a seperate thread could do each AudioBuffer instance, which whould mean shorter-save times too. This is not a very complex chance, but would require somebody with good threading/real-time understandings, as we can't sacrifice the real-time gaurantees (obviously I hope :) The Are you using a very large amount, or very long audio-clips? |
I think it went wrong when having load 2 instead of just one beat.
Probably these ones:
https://freesound.org/people/FREDIOHEAD/packs/10529/
|
Luppp doesn't save nicely in NSM
Luppp GUI interface freezes when saving a NSM session with Luppp (kxstudio) included. It's takes minuts to get the app work again, if you get it working again at all. Something is going wrong there.
->GUI ringbuffer full
says the terminal in which I started Non-Session-Manager
Outside NSM it seems to save well
The text was updated successfully, but these errors were encountered: