-
Notifications
You must be signed in to change notification settings - Fork 65
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
Feature request: writing wav to stdout and other !Seek sinks. #33
Comments
What do you want to achieve exactly? Do the samples ever end, and should the output be a valid wav file at that point? Is there a specific reason for choosing a maximal duration, or does your use case ignore the duration anyway? One thing that might be possible is to only require |
Just do like other multimedia command-line tools do: use Hound also fails to properly read wav pipes:
This allows using Hound-based programs in pipeline, like this:
|
It is one of options. But Another option may be to split it to higher-level |
I know you've already merged the solution, but FWIW, this is what DAWs do when recording audio, so that if the program crashes, you have something. A while back I saved an hour's worth of live Ableton recordings thanks to this. (Incidentally, Logic couldn't handle the infinite-duration header Ableton wrote and wouldn't import it, so I actually had to hexedit all the files and edit the duration value myself. Also it was AIFF-C, as this technique is not limited to WAV. But it worked!) |
This feature would be great! Not sure what's needed for streaming all the bytes, I suppose also updated header would be good for such a stream-like approach. |
Just set duration in header to maximum possible.
The text was updated successfully, but these errors were encountered: