• Stars
    star
    333
  • Rank 126,599 (Top 3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Deep Learning for Guitar Effect Emulation

PedalNet

Re-creation of model from Real-Time Guitar Amplifier Emulation with Deep Learning

See my blog post for a more in depth description along with song demos.

Data

data/in.wav - Concatenation of a few samples from the IDMT-SMT-Guitar dataset
data/ts9_out.wav - Recorded output of in.wav after being passed through an Ibanez TS9 Tube Screamer (all knobs at 12 o'clock).
models/pedalnet.ckpt - Pretrained model weights

Usage

Run effect on .wav file: Must be single channel, 44.1 kHz

# must be same data used to train
python prepare_data.py data/in.wav data/out_ts9.wav 

# specify input file and desired output file
python predict.py my_input_guitar.wav my_output.wav 

# if you trained you own model you can pass --model flag
# with path to .ckpt

Train:

python prepare_data.py data/in.wav data/out_ts9.wav # or use your own!
python train.py 
python train.py --gpus "0,1"  # for multiple gpus
python train.py -h  # help (see for other hyperparameters)

Test:

python test.py # test pretrained model
python test.py --model lightning_logs/version_{X}/epoch={EPOCH}.ckpt  # test trained model

Creates files y_test.wav, y_pred.wav, and x_test.wav, for the ground truth output, predicted output, and input signal respectively.

More Repositories

1

torchsort

Fast, differentiable sorting and ranking in PyTorch
Python
756
star
2

image-gpt

PyTorch Implementation of OpenAI's Image GPT
Python
250
star
3

blog

Source code for my personal blog
Jupyter Notebook
180
star
4

survivorship-free-spy

Python
108
star
5

cryptopunks-gan

Simple SN-GAN to generate CryptoPunks
Python
71
star
6

unsupervised-deep-homography

PyTorch implementation of Unsupervised Deep Homography: https://arxiv.org/abs/1709.03966
Python
61
star
7

tinyloader

Python
54
star
8

u-noise

Official PyTorch code for U-Noise: Learnable Noise Masks for Interpretable Image Segmentation (ICIP 2021)
Python
39
star
9

performer

Simply Numpy implementation of the FAVOR+ attention mechanism, https://teddykoker.com/2020/11/performers/
Python
36
star
10

evidential-learning-pytorch

Evidential Deep Learning in PyTorch
Python
35
star
11

grokking

PyTorch implementation of "Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets"
Python
30
star
12

learning-to-learn-jax

JAX implementation of Learning to learn by gradient descent by gradient descent
Python
25
star
13

bookflip

Textbook trading website built with Flask and Vue.js
Python
20
star
14

image-forensics

PyTorch implementation of ImageForensics: https://hms-idac.github.io/ImageForensics/
Python
12
star
15

mpnn-for-quantum-chem

Pytorch implementation of MPNN for Quantum Chemistry
Python
12
star
16

e3nn.c

Pure C implementation of e3nn
C
11
star
17

trumpy

A command line program for impersonating people on Twitter, in this case Donald Trump.
Python
6
star
18

pipedal

HTML
4
star
19

go-react

Boilerplate to get started with React and Golang
Go
3
star
20

crappermapper

A website for rating and locating toilets.
JavaScript
3
star
21

lift

A new way to share fitness programs and measure progress. Golang + React + MongoDB
JavaScript
2
star
22

representme

A simple application to see your local representives based on location.
Objective-C
2
star
23

thenetwork

Highschool capstone project.
PHP
2
star
24

webswitch

Control LEDs over web sockets.
HTML
2
star
25

photocell-graph

Graph a live feed of RCtime readings from a photocell over web sockets.
HTML
2
star
26

teddykoker

1
star
27

llama-rs-server

Rust
1
star
28

nodebike

JavaScript
1
star