Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Commit 91f682e

Browse files
repo structure, delete old examples
1 parent 789b3b6 commit 91f682e

8 files changed

Lines changed: 16 additions & 57 deletions

File tree

Readme.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
11
# Structure
22

3-
- clients: templates for SuperCollider, Bela (C++), Pure Data, ...
4-
- pytorch-osc: app with OSC server + event loops
3+
- iipyper: python package for easy MIDI, OSC, event loops
54
- notepredictor: python package for defining+training pytorch RNN models
6-
- notebooks: jupyter notebooks
7-
- scripts: helper scripts for training, data preprocessing etc
5+
- notebooks: jupyter notebooks
6+
- scripts: helper scripts for training, data preprocessing etc
7+
- examples:
8+
- iipyper: basic usage for iipyper
9+
- notepredictor: interactive MIDI apps with notepredictor
10+
<!-- - clients: templates for SuperCollider, Bela (C++), Pure Data, ... -->
811

912
# Setup
1013

1114
```
1215
conda env create -f environment.yml
13-
conda activate pytorch-osc
16+
conda activate iil-python-tools
1417
pip install -e notepredictor
18+
pip install -e iipyper
1519
```
1620

17-
# Train a model
18-
21+
# notepredictor
22+
## Train a model
1923
```
20-
python scipts/lakh_prep.py --data_path /path/to/midi/files --dest_path /path/to/data/storage
24+
python scripts/lakh_prep.py --data_path /path/to/midi/files --dest_path /path/to/data/storage
2125
python scripts/train_pitch.py --data_dir /path/to/data/storage --log_dir /path/for/tensorboard logs --model_dir /path/for/checkpoints train
2226
```
2327

24-
# Run OSC app
28+
## Run OSC app
2529

2630
```
27-
python pytorch-osc/pytorch-osc.py --checkpoint /path/to/my/model.ckpt
31+
python examples/notepredictor/server.py --checkpoint /path/to/my/model.ckpt
2832
```
33+
open `examples/notepredictor/midi-duet.scd` in SuperCollider
2934

3035
# Develop
3136

clients/pytorch-osc.cpp

Lines changed: 0 additions & 1 deletion
This file was deleted.

clients/pytorch-osc.pd

Lines changed: 0 additions & 1 deletion
This file was deleted.

clients/pytorch-osc.scd

Lines changed: 0 additions & 44 deletions
This file was deleted.

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pytorch-osc
1+
name: iil-python-tools
22
channels:
33
- pytorch
44
- defaults

0 commit comments

Comments
 (0)