-
-
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
I have following the cookbook Miniapp/Recorder sample to create an audioKit recorder but can not record... #2904
Comments
If you remove this code it executes properly:
It looks like accessing |
Thank you so much. The reason is that the NodeRecorder.audioFile explicitly close the file in the method. |
Because of the limitations you described, I think NodeRecorder is best used as an example starting point to create your own Recorder class. That's how I use it. |
@nick - you deserve a Nobel prize for this answer 👍👍👍👍👍👍. I have spent hours trying to figure out why AudioKit Node Recorder continues to record zero-length files. Sure enough, I was accessing the file's URL and when I stopped doing that everything worked. This is the most brain-dead issue I've experienced in a long time and I have zero idea as to why NodeRecorder is designed like this. Thanks again ... |
Thanks @DavidMurphy1088! 🙌 |
macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
Xcode 15, IOS 17,
Development environment: Mac os 14.5.
I am trying to learn to use AudioKit and AudioKitUI, at first to make a small audio recorder and audio memo.
And I followed the Miniapp/Recorder to write a test app recorder, and save audio file. But the caf file is 4k and is empty!
Is there any issue with the AudioKit.NodeRecorder?
The following is part of the code:
Crash Logs, Screenshots or Other Attachments (if applicable)
No response
The text was updated successfully, but these errors were encountered: