Skip to content

h-munakata/CASTELLA-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This repository contains scripts related to audio data of CASTELLA.

  • Downloader
  • Feature extractor using MS-CLAP 2023

Due to changes in the specifications of the download source, the downloader may not function correctly. If this happens, please open an issue

How to use?

Download audio

uv sync
uv run script/download.py {JSON FILE OF CASTELLA}  # e.g., `CASTELLA/json/en/train.json`
uv run script/download.py {JSON FILE OF CASTELLA} -v  # If you want to download video
  • Download script requires FFmpeg.
  • Downloaded audio/video is in ./download.
  • yt-dlp may require a newer version than the one specified in pyploject.toml.

Feature extractor using CLAP

uv run script/extract_audio_feature.py {JSON FILE OF CASTELLA}  # e.g., `CASTELLA/json/en/train.json`
uv run script/extract_text_feature.py {AUDIO FOLDER}  # e.g., ./download/audio

About

Please also check https://github.com/line/castella

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages