I’ve recently started using Dorico with Cantai. However, the project won’t close and Dorico can’t be exited normally afterwards. The only way to close it is by using the ESC + Option + Command key combination.
My computer is a MacBook Pro with an M5 Pro, 48 GB of RAM and a 1 TB SSD.
Dorico 6.2.30 and Cantai 3.0.1
Can you please check in the Activity Monitor for a process called VSTAudioEngine. Because that one actually hosts the Cantai plug-in. If that process is not around, it means it crashed and therefore Dorico waits indefinitely for an answer from that process.
Please also do Help > Create Diagnostics Report and post here the corresponding zip file. I’d like to check for crash files that may be inside.
When Dorico is playing the song, the VSTAudioEngine is running. When I stop playing and want to close Dorico then the VSTAudioEngine disappears after a few seconds.
In your diagnostics are no crash files contained and that what you describe with the VSTAudioEngine is also normal behaviour. Therefore I’d like you to do a sample of the Dorico process when it is not exiting. This is how to do that:
Open Activity Monitor via Spotlight or the Utilities folder.
Click the CPU tab.
Find and click the Dorico name.
Click the Action button (circle with 3 dots inside) in the toolbar.
It’s difficult. First of all, a plug-in shall not crash the host (audio engine). But then, what do you do in such case? The user wants to close a project and Dorico does collect the status data of all instantiated plug-ins. If during this process the audio engine dies, what can you do? The project data is incomplete and inconsistent and even if you get out of the deadlock via some timeout or interrupt, what do you do with a half baked project file?
I understand that. I did not clarify. I think a timeout or interrupt that exits that loop and closes Dorico, perhaps with a warning message about the audio engine, would work but I could be wrong.
My workaround: Before I close my project, I save it. That works. Exporting audio files works too.
The only thing that doesn’t work is closing the project.
Another thought…could it be that you are closing (clicking on the red x on a Mac) the Cantai dialog boxes when finished setting up your voices?
With most VST interfaces, that’s not really an issue but since the Cantai interfaces (one per voice) is not one’s typical VST, there may be something about that “closing” that sends something to the Audio Engine that causes it to close down prematurely.
Just a harebrained thought for what it’s worth (probably not much!)