Skip to content
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

Add support for writing cue chunks #31

Open
felsweg opened this issue Nov 6, 2018 · 6 comments
Open

Add support for writing cue chunks #31

felsweg opened this issue Nov 6, 2018 · 6 comments

Comments

@felsweg
Copy link

felsweg commented Nov 6, 2018

For now, I haven't found a method to write a marker to a wave file at a specific position. Markers are place din the "format "data section in the "fmt" subchunk. See here for more details.

@ruuda
Copy link
Owner

ruuda commented Nov 7, 2018

Could you elaborate? The only reference to “marker” on the linked page is

65534 | A special marker value, indicating that this is an "extended" wave file.

@felsweg
Copy link
Author

felsweg commented Nov 7, 2018

Yes. To be precise, I am looking for a method to place a "cue" point inside a wave, that is displayable through some audio software like Reaper. The "cue" chunk is explained here in more detail.

@ruuda
Copy link
Owner

ruuda commented Nov 14, 2018

Ah, that makes sense. I just merged #27 which allows writing arbitrary chunks, which enables this, although it is a bit low-level. It would be nice to have special support for writing a cue chunk too.

I hope to go over all of the new features once more soon to make sure that the API works, and being able to implement cue points on top of that would be a good test for that.

@ruuda ruuda changed the title Enable writing of markers. Add support for writing cue chunks Nov 14, 2018
@eatspaint
Copy link

Any progress on a release with this? It would be nice to be able to use hound to write cues/markers!

@felsweg
Copy link
Author

felsweg commented Apr 30, 2020

In case it might help you, there is a workaround posted on stackoverflow to have cue points being written to wav files.

@ruuda
Copy link
Owner

ruuda commented May 1, 2020

At the moment there is still no high-level API for writing cue points, the best you can do at this time is to write the chunk manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants