# Jabberjay
🦜 Synthetic Voice Detection
## Models
### Vision Transformer
| **Name** | **Model** | **Dataset** | **Visualisation** | **Model** |
|----------------------------------------------------------------------|-----------|---------------|-------------------|-------------------------------------------------------------------------------------------------------------|
| MattyB95/VIT-ASVspoof2019-ConstantQ-Synthetic-Voice-Detection | ViT | ASVspoof2019 | ConstantQ | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof2019-ConstantQ-Synthetic-Voice-Detection) |
| MattyB95/VIT-ASVspoof2019-Mel_Spectrogram-Synthetic-Voice-Detection | ViT | ASVspoof2019 | MelSpectrogram | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof2019-Mel_Spectrogram-Synthetic-Voice-Detection) |
| MattyB95/VIT-ASVspoof2019-MFCC-Synthetic-Voice-Detection | ViT | ASVspoof2019 | MFCC | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof2019-MFCC-Synthetic-Voice-Detection) |
| MattyB95/VIT-ASVspoof5-ConstantQ-Synthetic-Voice-Detection | ViT | ASVspoof5 | ConstantQ | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof5-ConstantQ-Synthetic-Voice-Detection) |
| MattyB95/VIT-ASVspoof5-Mel_Spectrogram-Synthetic-Voice-Detection | ViT | ASVspoof5 | MelSpectrogram | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof5-Mel_Spectrogram-Synthetic-Voice-Detection) |
| MattyB95/VIT-ASVspoof5-MFCC-Synthetic-Voice-Detection | ViT | ASVspoof5 | MFCC | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof5-MFCC-Synthetic-Voice-Detection) |
| MattyB95/VIT-VoxCelebSpoof-ConstantQ-Synthetic-Voice-Detection | ViT | VoxCelebSpoof | ConstantQ | [Hugging Face](https://huggingface.co/MattyB95/VIT-VoxCelebSpoof-ConstantQ-Synthetic-Voice-Detection) |
| MattyB95/VIT-VoxCelebSpoof-Mel_Spectrogram-Synthetic-Voice-Detection | ViT | VoxCelebSpoof | MelSpectrogram | [Hugging Face](https://huggingface.co/MattyB95/VIT-VoxCelebSpoof-Mel_Spectrogram-Synthetic-Voice-Detection) |
| MattyB95/VIT-VoxCelebSpoof-MFCC-Synthetic-Voice-Detection | ViT | VoxCelebSpoof | MFCC | [Hugging Face](https://huggingface.co/MattyB95/VIT-VoxCelebSpoof-MFCC-Synthetic-Voice-Detection) |
### Audio Spectrogram Transformer
| **Name** | **Model** | **Dataset** | **Model** |
|------------------------------------------------------|-----------|---------------|---------------------------------------------------------------------------------------------|
| MattyB95/AST-ASVspoof2019-Synthetic-Voice-Detection | AST | ASVspoof2019 | [Hugging Face](https://huggingface.co/MattyB95/AST-ASVspoof2019-Synthetic-Voice-Detection) |
| MattyB95/AST-ASVspoof5-Synthetic-Voice-Detection | AST | ASVspoof5 | [Hugging Face](https://huggingface.co/MattyB95/AST-ASVspoof5-Synthetic-Voice-Detection) |
| MattyB95/AST-VoxCelebSpoof-Synthetic-Voice-Detection | AST | VoxCelebSpoof | [Hugging Face](https://huggingface.co/MattyB95/AST-VoxCelebSpoof-Synthetic-Voice-Detection) |
### Other
| Name | Paper | Codebase | Model |
|-----------|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| Classical | Placeholder | Placeholder | Placeholder |
| RawNet2 | [End-to-End anti-spoofing with RawNet2](https://doi.org/10.1109/ICASSP39728.2021.9414234) | [rawnet2-antispoofing](https://github.com/eurecom-asp/rawnet2-antispoofing) | [pre_trained_DF_RawNet2.zip](https://www.asvspoof.org/asvspoof2021/pre_trained_DF_RawNet2.zip) |
## Usage
### Command Line Interface
```
usage: Jabberjay [-h] [-m {AST,Classical,RawNet2,VIT}]
[-d {ASVspoof2019,ASVspoof5,VoxCelebSpoof}]
[-vis {ConstantQ,MelSpectrogram,MFCC}] [-v]
audio
```
### Python API
```
from Jabberjay.Utilities.enum_handler import Visualisation, Model, Dataset
from Jabberjay.jabberjay import Jabberjay
jabberjay = Jabberjay()
bonafide = jabberjay.load(filename="../res/bonafide/bonafide.flac")
spoof = jabberjay.load(filename="../res/spoof/spoof.flac")
jabberjay.detect(audio=bonafide, model=Model.VIT, visualisation=Visualisation.ConstantQ, dataset=Dataset.VoxCelebSpoof)
jabberjay.detect(audio=spoof, model=Model.VIT, visualisation=Visualisation.ConstantQ, dataset=Dataset.VoxCelebSpoof)
```
## Contributing to Jabberjay
🌟 We value your contributions!
Whether you're fixing a bug, improving the documentation,
or proposing a new feature, we're delighted to have you as part of the Jabberjay community.
Your efforts help us make Synthetic Voice Detection even better for everyone.
We especially welcome and encourage additional models for speech deepfake (bonafide vs. spoof) detection,
with the aim of making Jabberjay the one-stop shop for state-of-the-art models in the field.
We are truly grateful for your interest in improving Jabberjay.
Your contributions, no matter how big or small, make our open-source community a vibrant place to learn, inspire,
and create.
Let's make Jabberjay the best tool for Synthetic Voice Detection together! 🚀
## Acknowledgement
This work was supported, in whole or in part, by the Bill & Melinda Gates Foundation [INV-001309].
Raw data
{
"_id": null,
"home_page": null,
"name": "Jabberjay",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.12,>=3.10",
"maintainer_email": null,
"keywords": "Detection, Synthetic, Voice",
"author": null,
"author_email": "Matthew Boakes <mboakes@turing.ac.uk>",
"download_url": "https://files.pythonhosted.org/packages/cf/a7/d0875a4d097ef7767ff3457c1b1cdf155f61661b6e86b45dc54d47ea94ef/jabberjay-0.0.4.tar.gz",
"platform": null,
"description": "# Jabberjay\n\n\ud83e\udd9c Synthetic Voice Detection\n\n## Models\n\n### Vision Transformer\n\n| **Name** | **Model** | **Dataset** | **Visualisation** | **Model** |\n|----------------------------------------------------------------------|-----------|---------------|-------------------|-------------------------------------------------------------------------------------------------------------|\n| MattyB95/VIT-ASVspoof2019-ConstantQ-Synthetic-Voice-Detection | ViT | ASVspoof2019 | ConstantQ | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof2019-ConstantQ-Synthetic-Voice-Detection) |\n| MattyB95/VIT-ASVspoof2019-Mel_Spectrogram-Synthetic-Voice-Detection | ViT | ASVspoof2019 | MelSpectrogram | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof2019-Mel_Spectrogram-Synthetic-Voice-Detection) |\n| MattyB95/VIT-ASVspoof2019-MFCC-Synthetic-Voice-Detection | ViT | ASVspoof2019 | MFCC | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof2019-MFCC-Synthetic-Voice-Detection) |\n| MattyB95/VIT-ASVspoof5-ConstantQ-Synthetic-Voice-Detection | ViT | ASVspoof5 | ConstantQ | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof5-ConstantQ-Synthetic-Voice-Detection) |\n| MattyB95/VIT-ASVspoof5-Mel_Spectrogram-Synthetic-Voice-Detection | ViT | ASVspoof5 | MelSpectrogram | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof5-Mel_Spectrogram-Synthetic-Voice-Detection) |\n| MattyB95/VIT-ASVspoof5-MFCC-Synthetic-Voice-Detection | ViT | ASVspoof5 | MFCC | [Hugging Face](https://huggingface.co/MattyB95/VIT-ASVspoof5-MFCC-Synthetic-Voice-Detection) |\n| MattyB95/VIT-VoxCelebSpoof-ConstantQ-Synthetic-Voice-Detection | ViT | VoxCelebSpoof | ConstantQ | [Hugging Face](https://huggingface.co/MattyB95/VIT-VoxCelebSpoof-ConstantQ-Synthetic-Voice-Detection) |\n| MattyB95/VIT-VoxCelebSpoof-Mel_Spectrogram-Synthetic-Voice-Detection | ViT | VoxCelebSpoof | MelSpectrogram | [Hugging Face](https://huggingface.co/MattyB95/VIT-VoxCelebSpoof-Mel_Spectrogram-Synthetic-Voice-Detection) |\n| MattyB95/VIT-VoxCelebSpoof-MFCC-Synthetic-Voice-Detection | ViT | VoxCelebSpoof | MFCC | [Hugging Face](https://huggingface.co/MattyB95/VIT-VoxCelebSpoof-MFCC-Synthetic-Voice-Detection) |\n\n### Audio Spectrogram Transformer\n\n| **Name** | **Model** | **Dataset** | **Model** |\n|------------------------------------------------------|-----------|---------------|---------------------------------------------------------------------------------------------|\n| MattyB95/AST-ASVspoof2019-Synthetic-Voice-Detection | AST | ASVspoof2019 | [Hugging Face](https://huggingface.co/MattyB95/AST-ASVspoof2019-Synthetic-Voice-Detection) |\n| MattyB95/AST-ASVspoof5-Synthetic-Voice-Detection | AST | ASVspoof5 | [Hugging Face](https://huggingface.co/MattyB95/AST-ASVspoof5-Synthetic-Voice-Detection) |\n| MattyB95/AST-VoxCelebSpoof-Synthetic-Voice-Detection | AST | VoxCelebSpoof | [Hugging Face](https://huggingface.co/MattyB95/AST-VoxCelebSpoof-Synthetic-Voice-Detection) |\n\n### Other\n\n| Name | Paper | Codebase | Model |\n|-----------|-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| Classical | Placeholder | Placeholder | Placeholder |\n| RawNet2 | [End-to-End anti-spoofing with RawNet2](https://doi.org/10.1109/ICASSP39728.2021.9414234) | [rawnet2-antispoofing](https://github.com/eurecom-asp/rawnet2-antispoofing) | [pre_trained_DF_RawNet2.zip](https://www.asvspoof.org/asvspoof2021/pre_trained_DF_RawNet2.zip) |\n\n## Usage\n\n### Command Line Interface\n\n``` \nusage: Jabberjay [-h] [-m {AST,Classical,RawNet2,VIT}]\n [-d {ASVspoof2019,ASVspoof5,VoxCelebSpoof}]\n [-vis {ConstantQ,MelSpectrogram,MFCC}] [-v]\n audio\n```\n\n### Python API\n\n```\nfrom Jabberjay.Utilities.enum_handler import Visualisation, Model, Dataset\nfrom Jabberjay.jabberjay import Jabberjay\n\njabberjay = Jabberjay()\n\nbonafide = jabberjay.load(filename=\"../res/bonafide/bonafide.flac\")\nspoof = jabberjay.load(filename=\"../res/spoof/spoof.flac\")\n\njabberjay.detect(audio=bonafide, model=Model.VIT, visualisation=Visualisation.ConstantQ, dataset=Dataset.VoxCelebSpoof)\njabberjay.detect(audio=spoof, model=Model.VIT, visualisation=Visualisation.ConstantQ, dataset=Dataset.VoxCelebSpoof)\n```\n\n## Contributing to Jabberjay\n\n\ud83c\udf1f We value your contributions!\n\nWhether you're fixing a bug, improving the documentation,\nor proposing a new feature, we're delighted to have you as part of the Jabberjay community.\nYour efforts help us make Synthetic Voice Detection even better for everyone.\n\nWe especially welcome and encourage additional models for speech deepfake (bonafide vs. spoof) detection,\nwith the aim of making Jabberjay the one-stop shop for state-of-the-art models in the field.\n\nWe are truly grateful for your interest in improving Jabberjay.\nYour contributions, no matter how big or small, make our open-source community a vibrant place to learn, inspire,\nand create.\n\nLet's make Jabberjay the best tool for Synthetic Voice Detection together! \ud83d\ude80\n\n## Acknowledgement\n\nThis work was supported, in whole or in part, by the Bill & Melinda Gates Foundation [INV-001309].\n",
"bugtrack_url": null,
"license": null,
"summary": "\ud83e\udd9c Synthetic Voice Detection",
"version": "0.0.4",
"project_urls": {
"Bug Tracker": "https://github.com/MattyB95/Jabberjay/issues",
"Homepage": "https://github.com/MattyB95/Jabberjay"
},
"split_keywords": [
"detection",
" synthetic",
" voice"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "24033b849f4ff5eb3681106e730a2d4998eefb7c75bfbb3ea188c5ab8573e52f",
"md5": "64a005a632dc173b688175894449fc21",
"sha256": "4d41b9d3676e83342a921ed9691e6380dd08d590eac7f15a025bb9bd9de2267b"
},
"downloads": -1,
"filename": "jabberjay-0.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64a005a632dc173b688175894449fc21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.12,>=3.10",
"size": 14517,
"upload_time": "2024-08-15T12:26:03",
"upload_time_iso_8601": "2024-08-15T12:26:03.112815Z",
"url": "https://files.pythonhosted.org/packages/24/03/3b849f4ff5eb3681106e730a2d4998eefb7c75bfbb3ea188c5ab8573e52f/jabberjay-0.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cfa7d0875a4d097ef7767ff3457c1b1cdf155f61661b6e86b45dc54d47ea94ef",
"md5": "9b2f5469e13102873ff0a1ee02e7f4f1",
"sha256": "7fe8bc67f124f095bd22b39ed29344d0909578c29a6d905e82d5a60f813f165a"
},
"downloads": -1,
"filename": "jabberjay-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "9b2f5469e13102873ff0a1ee02e7f4f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.12,>=3.10",
"size": 204317,
"upload_time": "2024-08-15T12:26:04",
"upload_time_iso_8601": "2024-08-15T12:26:04.325168Z",
"url": "https://files.pythonhosted.org/packages/cf/a7/d0875a4d097ef7767ff3457c1b1cdf155f61661b6e86b45dc54d47ea94ef/jabberjay-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-15 12:26:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "MattyB95",
"github_project": "Jabberjay",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "huggingface-hub",
"specs": []
},
{
"name": "joblib",
"specs": []
},
{
"name": "librosa",
"specs": []
},
{
"name": "matplotlib",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "Pillow",
"specs": []
},
{
"name": "PyYAML",
"specs": []
},
{
"name": "scikit-learn",
"specs": []
},
{
"name": "torch",
"specs": []
},
{
"name": "transformers",
"specs": []
}
],
"lcname": "jabberjay"
}