Add docs for audio processing
MEMBER
Nice ! love it this way. I guess you can set this PR to "ready for review" ?
2021-11-09T11:36:11Z
https://github.com/huggingface/datasets/pull/3222#issuecomment-964068339
https://api.github.com/repos/huggingface/datasets/issues/3222
IC_kwDODunzps45doPz
https://api.github.com/repos/huggingface/datasets/issues/comments/964068339/reactions
2021-11-09T11:36:11Z
https://api.github.com/repos/huggingface/datasets/issues/comments/964068339
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
I guess we can merge this one now :)
2021-11-24T15:35:49Z
https://github.com/huggingface/datasets/pull/3222#issuecomment-977990071
https://api.github.com/repos/huggingface/datasets/issues/3222
IC_kwDODunzps46SvG3
https://api.github.com/repos/huggingface/datasets/issues/comments/977990071/reactions
2021-11-24T15:35:49Z
https://api.github.com/repos/huggingface/datasets/issues/comments/977990071
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
This PR adds documentation for the `Audio` feature. It describes:

- The difference between loading `path` and `audio`, as well as use-cases/best practices for each of them.
- Resampling audio files with `cast_column`, and then calling `ds[0]["audio"]` to automatically decode and resample to the desired sampling rate.
- Resampling with `map`.

Preview [here](https://52969-250213286-gh.circle-artifacts.com/0/docs/_build/html/audio_process.html), let me know if I'm missing anything!