Skip to content

Conversation

@NicolasHug
Copy link
Contributor

This PR adds docstrings and a tutorial for the AudioEncoder, plus some minor changes listed in the comments below

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 9, 2025
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed in this file, as well as the files renaming, are meant to separate our "tutorials" page into 2 separate sections: one for decoding, one for encoding.

order = [
"audio_encoding.py",
]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a comment explaining that we have two top-level galleries, and for that reason, we need to figure out which gallery we're using (decoding versus encoding)? I was real confused until I concluded that must be what's going on.

@scotts
Copy link
Contributor

scotts commented Jun 9, 2025

Moving the examples into decoding and encoding subdirectories makes sense, but I'm curious: will that change the resulting tutorial URL? We already have some pointers to these tutorials floating around blogs and social media.

@NicolasHug NicolasHug merged commit 7945e6a into meta-pytorch:main Jul 4, 2025
42 of 44 checks passed
Dan-Flores pushed a commit to Dan-Flores/torchcodec that referenced this pull request Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants