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

Basic support for non-realtime effects #26

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

silvansky
Copy link
Contributor

Non-realtime effects like time stretching require pulling more or less frames from the source node to function properly. So I added this option to the internalRenderBlock by adding framesToPull function with default implementation that returns unchanged frame count:

virtual AUAudioFrameCount framesToPull(AUAudioFrameCount requestedOutputFrameCount) { return requestedOutputFrameCount; };

For all effects that use default implementation nothing changes.

@silvansky
Copy link
Contributor Author

I'm gonna continue with non-realtime effects after AudioKit/AudioKit#2861 .

@silvansky
Copy link
Contributor Author

Added instantiate(nonRealTimeEffect code: String) func.

@aure aure merged commit 22f25ea into AudioKit:main Mar 21, 2024
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

Successfully merging this pull request may close these issues.

2 participants