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

Where to find the timestamp for each segmented audio clip? #6

Closed
deepspike opened this issue Sep 10, 2021 · 2 comments
Closed

Where to find the timestamp for each segmented audio clip? #6

deepspike opened this issue Sep 10, 2021 · 2 comments

Comments

@deepspike
Copy link

According to the dataset description on the Zenodo, I suppose the timestamp for each audio clip should be included in the label.csv file. While within this file, only the clip index within a particular song can be found. Did you segment the whole song with equal length? If so what is the duration for each clip, otherwise, how can I determine the timestamp?

@annahung31
Copy link
Owner

Hi,

  1. For the timestamp information, please get the latest version of EMOPIA: EMOPIA 2.2. It contains a file called timestamps.json for easier usage. It records all the timestamps in dict format. The notebook scripts/load_timestamp.ipynb shows the format example. Or you can also access tagging_lists/ for timestamps of each file. Also, you can use scripts/timestamp2clip.py to get audio clips using timestamps.

  2. We don't segment the whole song with equal length. We choose the segment with a specific emotion and try to cut the endpoint at the end of the music sentence. As a result, there might be 1 or more segments per song.

  3. A reminder: if you want to use the data for full-song analysis, you might need to notice that there are a few songs that are actually playlists on YouTube. So if a song contains many segments (for example 10+), it might be a playlist from YouTube.

@deepspike
Copy link
Author

Thanks a lot for the quick update.

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

2 participants