AudioKit / Cookbook

Canonical Examples for Using the AudioKit Framework
MIT License
639 stars 103 forks source link

Cookbook Recorder Demo fails with "No file URL/settings to record to" #98

Closed DrBilitski closed 2 years ago

DrBilitski commented 2 years ago

To reproduce: open Recorder, tap record Output console shows: "NodeRecorder.swift:record():155:๐Ÿ›‘ Error: No file URL/settings to record to (NodeRecorder.swift:record():155)"

Cookbook version is Latest version as of May 20, 2022 using AudioKit 5.4.2.

Sorry I don't know this project that well but it looks like the temp audio file created in createAudioFile() does not get updated to the variable recordedFileURL

emurray2 commented 2 years ago

There were some recent changes to NodeRecorder. Try using the main branch of AudioKit, and let me know if that works. Thanks.

DrBilitski commented 2 years ago

The record demo works now using the main branch.

emurray2 commented 2 years ago

The record demo works now using the main branch.

Thatโ€™s great to hear ๐Ÿ™‚! Iโ€™ll close this for now, but feel free to re-open if it starts acting up again.