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

Fix EmoV-DB process script description #3

Merged
merged 1 commit into from
Dec 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions datasets/EmoV-DB/process.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
"""Process the raw EMOVO dataset.
"""Process the raw EmoV-DB dataset.

This assumes the file structure from the original compressed file:
This assumes the file structure from the original sorted data:
/.../
f1/
*.wav
m1/
*.wav
bea/
Angry/
*.wav
Amused/
*.wav
...
josh/
Angry/
*.wav
...
...
"""

Expand All @@ -31,7 +37,7 @@
@click.argument("input_dir", type=PathlibPath(exists=True, file_okay=False))
@click.option("--resample/--noresample", default=True)
def main(input_dir: Path, resample: bool):
"""Process the EMOVO dataset at location INPUT_DIR and resample
"""Process the EmoV-DB dataset at location INPUT_DIR and resample
audio to 16 kHz 16-bit WAV audio.
"""
paths = list(input_dir.glob("**/*.wav"))
Expand Down