Skip to content
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

fluidLoad does not free memory on Recompile #5

Open
NSDopen opened this issue Nov 9, 2021 · 0 comments
Open

fluidLoad does not free memory on Recompile #5

NSDopen opened this issue Nov 9, 2021 · 0 comments

Comments

@NSDopen
Copy link

NSDopen commented Nov 9, 2021

The manual states :

“Invoke fluidLoad in the orchestra header, any number of times. The same SoundFont may be invoked to assign programs to MIDI channels any number of times; the SoundFont is only loaded the first time.”

The problem is that every time I recompile (csoundCompileCsd() – api), the soundfont is reloaded in memory.
So, if a soundfont is p.e. 100MB, my RAM gets quickly full…

Any idea how to prevent this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant