-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Can I play audio in background with AnalogSynthX? #288
Comments
Turns out you need to put this line in the in Conductor's init() before you call AudioKit.start():
This causes AudioKit to use the proper audio session category to actually keep the engine alive in the background. This should be added as an option in a configuration page in the app, so that it doesn't always just stick around if people don't want it to. It goes well with the Virtual MIDI port support that was just merged into the develop branch. To use it, you just need to call |
If anyone wants to add a configuration page for Analog Synth X, we'd happily accept a pull request for that. Matt and I already have a long list of improvements were making, so help is welcomed. |
After discussing it with @swiftcodex I think it is a good idea to include this as a configuration option, but the default behavior is okay for now. So, I will close this as a Github issue, but add it to our internal updates list. |
Hi there
Can I play in background? I see that keys in plist are ok but when I touch ADSR to get a very long sound and I go to background AnalogSynthX stops and when it comes back to first plane it continues playing.
Is this a bug or I am missing something?
Best Regards,
The text was updated successfully, but these errors were encountered: