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

Maximum resources per chip: audio error with synth containing multiple generators #43

Open
inscripttech opened this issue May 28, 2020 · 4 comments

Comments

@inscripttech
Copy link

link to the relevant synth file (via Dropbox)

The above synth file contains two audio-rate noise generators and four oscillators producing low frequency sine waves. The resulting output when a note is triggered produces dropouts that sound like buffer underruns, but I'm not too sure.

Is there an upper limit on the amount of CPU that a chip can use? This patch with a few envelopes would be akin to a duophonic synth voice and it appears that the audio engine is struggling to produce even the generation portion.

Perhaps I am missing the use of another module that could optimize patches of this nature?

@kometbomb
Copy link
Owner

I think it might be the filter constantly getting a new cutoff value - how it works is that changing the filter parameters causes a small precalc to happen, which could technically cause more load even though simply using the filter is not that heavy. Or the whole filter might get unstable or something? It is not the best filter out there. I have no audio at the moment, will check later.

@kometbomb
Copy link
Owner

I just checked and it seems the CPU use is just so high that the single thread (each channel runs in its own thread) cannot process the synth fast enough. On my desktop it seems to run fast enough but it IS heavy.

@inscripttech
Copy link
Author

Interesting. Can you explain a bit about why that would be? I'm running a quad-core 16gb machine so it must be some particularity of the audio engine. I have nothing against the constraints, for the record. Just trying to figure out where exactly the limit is.

@kometbomb
Copy link
Owner

kometbomb commented May 29, 2020 via email

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

2 participants