AVAudioEngine - How to archive configured nodes to file?

I’m looking to add DAW-like capabilities to my macOS music app, and AVAudioEngine seems like the right tool for the job.

However, I haven’t been able to find any documentation on how to save the user’s AVAudioEngine configuration—specifically the connections between nodes and the internal states of each node—to a file.

Does AVAudioEngine provide any API for saving and restoring this state, or does it need to be handled manually? If it’s manual, are there any sample "DAW" apps or resources that demonstrate how this can be implemented?

Any guidance would be greatly appreciated.

Thanks, BD

Hello @BDegazio, thank you for your post. AVAudioEngine has no API to save its configuration to a file. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

To implement this manually, you might want to consider Developing a Document-Based App. You can then define your app's document behavior and use it to store details about the audio engine's configuration.

AVAudioEngine - How to archive configured nodes to file?
 
 
Q