A python package for dmel log mel-filterbanks discretization.
Project description
This software project accompanies the research paper, dMel: Speech Tokenization Made Simple by Bai, He and Likhomanenko, Tatiana and Zhang, Ruixiang and Gu, Zijin and Aldeneh, Zakaria and Jaitly, Navdeep on speech tokenization for speech generation and speech recognition.
Repository contains the dmel pytorch-based package which performs discretization of the log mel-filterbanks for the given audio to prepare speech representations for decoder model training which will be generative model of speech.
Installation
- from pypi
pip install dmel
- from source
pip install .
Example of usage
We have a snipped of code to run feature extraction for both dMel and Mel and plotting their representations. To run example:
pip install torchaudio matplotlib dmel
python run_example.py
The example will generate example_mel.png and example_dmel.png
License
Repository is under LICENSE.
Citation
@article{bai2024dmel,
title={dMel: Speech Tokenization Made Simple},
author={Bai, He and Likhomanenko, Tatiana and Zhang, Ruixiang and Gu, Zijin and Aldeneh, Zakaria and Jaitly, Navdeep},
journal={arXiv preprint arXiv:2407.15835},
year={2024}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dmel-1.0.1.tar.gz.
File metadata
- Download URL: dmel-1.0.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30307dccecb1633bc6835af6eaf99a3f7626826cd1243596289fd42d22b77b8c
|
|
| MD5 |
7d69493153ae597ba7754e79d763e77d
|
|
| BLAKE2b-256 |
49dadcf13b250d6b1f7051c6d0e55a3ddd6d42f249cca9e7290cc822a11b4bf2
|
File details
Details for the file dmel-1.0.1-py3-none-any.whl.
File metadata
- Download URL: dmel-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50f2f92df33d8a2982a1d36968a497aed269eddd5a3dd08f7f6b79703a5ee6bc
|
|
| MD5 |
7dded88a6fb1118892f5af767976da06
|
|
| BLAKE2b-256 |
b5edba0b968f84941786257f8111afc75e5f860a48753afc6e9bcfb1d60b30e6
|