← 开源
acids-ircam

ddsp_pytorch

Implementation of Differentiable Digital Signal Processing (DDSP) in Pytorch

ModelsAudio/Speech modelsC
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
517
Star
62
Fork
+0
本周
2
贡献者
创建于 2019-10-06 · 更新于 2026-09-07 · 今日第 17922 名
主要开发者
caillonantoineacids-ircam

acids-ircam/ddsp_pytorch 排名第 17,922,有 517 个星标。

同类别比较

acids-ircam/ddsp_pytorch 排名第 17,922,此处有 8 个同类条目;zhuyu-cs/MeanFlow 排名第 17,938。

同类别比较
名称排名指标
rshaojimmy/MultiModal-DeepFake17,860
语言:
Python
星标数:
520
分叉数:
44
简介:
[TPAMI 2024 & CVPR 2023] PyTorch code for DGM4: Detecting and Grounding Multi-Modal Media Manipulation and beyond
NVlabs/DiffiT17,868
语言:
Python
星标数:
519
分叉数:
21
简介:
[ECCV 2024] Official Repository for DiffiT: Diffusion Vision Transformers for Image Generation
SCIR-TG/FengZhengLLM17,893
语言:
Python
星标数:
518
分叉数:
1
r9y9/gantts17,903
语言:
Jupyter Notebook
星标数:
518
分叉数:
116
简介:
PyTorch implementation of GAN-based text-to-speech synthesis and voice conversion (VC)
zhuyu-cs/MeanFlow17,938
语言:
Python
星标数:
517
分叉数:
38
简介:
Pytorch implementation of MeanFlow on ImageNet and CIFAR10
MAGICS-LAB/DNABERT_217,942
语言:
Shell
星标数:
516
分叉数:
103
简介:
[ICLR 2024] DNABERT-2: Efficient Foundation Model and Benchmark for Multi-Species Genome
KangLiao929/Puffin17,962
语言:
Python
星标数:
515
分叉数:
23
简介:
Puffin Series: Towards Unified Multimodal 3D World Models
Atten4Vis/LW-DETR17,980
语言:
Python
星标数:
514
分叉数:
47
简介:
This repository is an official implementation of the paper "LW-DETR: A Transformer Replacement to YOLO for Real-Time Detection".
关键参数与规格
关键参数与规格
参数值
语言C
类别Models
子类别Audio/Speech models
关键词Audio production, Model architecture, Music
星标数517
分叉数62
贡献者2
创建日期2019-10-06
更新日期2026-09-07
1 天星标数0
7 天星标数0
排名17,922
上次排名17,699
排名变化-223
7 天星标排名16,372
上次 7 天星标排名16,382
7 天星标排名变化10
总星标排名18,867
上次总星标排名18,846
总星标排名变化-21
国家France
README 摘录

Differentiable Digital Signal Processing Implementation of the DDSP model using PyTorch. This implementation can be exported to a torchscript model, ready to be used inside a realtime environment (see this video). ), then preprocess your data using You can then train your model using Once trained, export it using It will produce a file named , that you can use inside a python environment like that Realtime usage **Be sure that the defined in is a power of 2 if you want

to use the model in realtime! ** If you want to use DDSP in realtime (yeah), we provide a pure data external wrapping everything. Export your trained model using This will disable the reverb and enable the use of the model in realtime. For now the external works on CPU, but you can enable GPU accelerated inference by changing to . The first inlet must be a pitch signal, the second a loudness signal. It can be directly plugged to the object

for real-time timbre transfer. You can then apply the exported impulse response using a convolution reverb (such as from the library). Compilation You will need , a C++ compiler, and somewhere on your computer. Then, run If you already have installed via pip inside a virtual environment, you can use the following : By default, it will install the external in .

常见问题

记录了多少星标和分叉?

acids-ircam/ddsp_pytorch 有 517 个星标和 62 个分叉。

仓库排名是多少?

acids-ircam/ddsp_pytorch 排名第 17,922。

记录的语言和类别是什么?

acids-ircam/ddsp_pytorch 有 517 个星标,语言为 C,类别为 Models。

哪个仓库排名最接近?

acids-ircam/ddsp_pytorch 与 zhuyu-cs/MeanFlow 比较,后者排名第 17,938,有 517 个星标。

README

Differentiable Digital Signal Processing

Implementation of the DDSP model using PyTorch. This implementation can be exported to a torchscript model, ready to be used inside a realtime environment (see this video).

Pretrained models

instrument realtime preprocessing sampling rate link
saxophone true sigmund~ 48kHz download
violin true sigmund~ 48kHz download

Usage

Edit the config.yaml file to fit your needs (audio location, preprocess folder, sampling rate, model parameters...), then preprocess your data using

python preprocess.py

You can then train your model using

python train.py --name mytraining --steps 10000000 --batch 16 --lr .001

Once trained, export it using

python export.py --run runs/mytraining/

It will produce a file named ddsp_pretrained_mytraining.ts, that you can use inside a python environment like that

import torch

model = torch.jit.load("ddsp_pretrained_mytraining.ts")

pitch = torch.randn(1, 200, 1)
loudness = torch.randn(1, 200, 1)

audio = model(pitch, loudness)

Realtime usage

Be sure that the block_size defined in config.yaml is a power of 2 if you want to use the model in realtime!

If you want to use DDSP in realtime (yeah), we provide a pure data external wrapping everything. Export your trained model using

python export.py --run runs/mytraining/ --realtime true

This will disable the reverb and enable the use of the model in realtime. For now the external works on CPU, but you can enable GPU accelerated inference by changing realtime/ddsp_tilde/ddsp_model.h DEVICE to torch::kCUDA. Inside Pd, simply send load your_model.ts to the ddsp~ object. The first inlet must be a pitch signal, the second a loudness signal. It can be directly plugged to the sigmund~ object for real-time timbre transfer.

You can then apply the exported impulse response using a convolution reverb (such as partconv~ from the bsaylor library).

Compilation

You will need cmake, a C++ compiler, and libtorch somewhere on your computer. Then, run

cd realtime
mkdir build
cd build
cmake ../ -DCMAKE_PREFIX_PATH=/path/to/libtorch -DCMAKE_BUILD_TYPE=Release
make install

If you already have pytorch installed via pip inside a virtual environment, you can use the following PREFIX_PATH:

cmake ../ -DCMAKE_PREFIX_PATH=~/miniconda3/lib/python3.X/site-packages/torch -DCMAKE_BUILD_TYPE=Release
make install

By default, it will install the external in ~/Documents/Pd/externals.

排名相邻
同类项目