-
Notifications
You must be signed in to change notification settings - Fork 10
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
Saving output to file #35
Comments
Sorry for the delay in responding, I wanted to make sure everything was actually working first and it turned out things weren't. I've fixed most of the issues now, so ensure you're using a local copy of (render (pdef :beat) "/path/to/output.wav" :duration 4) ; render 4 seconds of audio
(render (pdef :beat) "/path/to/output.wav" :dur 4) ; render 4 beats of audio
(render (pdef :beat) "/path/to/output.wav" :max-length 4) ; render the first 4 events of the pattern (note that rests are included) Since your Alternatively you can make it finite in length, and as long as it has fewer than I've tested this new implementation a bit and it seems to work, but there are probably some cases where it might still be broken. Let me know if you notice any. |
FYI it fails when the path is relative. Works fine otherwise. Many
thanks!
|
How can I save an excerpt of the output to an audio file? For example, using this example:
The text was updated successfully, but these errors were encountered: