File size: 3,554 Bytes
68c2e32
e970c41
68c2e32
 
 
 
 
 
 
 
 
 
e970c41
 
 
57b839f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8b0ed14
57b839f
8b0ed14
fe450c5
 
 
 
68c2e32
8b0ed14
 
 
 
 
 
 
 
57b839f
8b0ed14
 
 
 
 
 
 
57b839f
8b0ed14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57b839f
8b0ed14
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---
title: AutoTab 🎸
emoji: 🎸
colorFrom: pink
colorTo: indigo
sdk: streamlit
app_file: app.py
---

# AutoTab 🎸
Eine App zur Vorhersage von Gitarren-Tabs basierend auf Audioaufnahmen.

# Steps to test the installation


- pip install -e .
  The above line installs autotab onto your machine

- make first_npz
  the above line makes the first npz with two annotation files already stored in the guitarset annotation folder and two audio files already stored in your guitarset audio mic folder
  The output of this command is the npz files saved in data/spec_repr/c folder

- make run_first_model
  The above line runs the first train of the model, only on the one file provided to you. NOTE : The Test phase of the model will fail, because you have only one file

# Next steps

- Download the entire GuitarSet from
  https://zenodo.org/record/1422265#.YZ0JEdBBwnK
  Make sure to select the GuitarSet_audio_and_annotation.zip 7.5GB
  Unzip and place into the GuitarSet Folder inside data folder. A place holder has already been made for you

- If you wish to make new npz files, at the bottom of TabDataReprGen file, provide two numbers between 0 and 359 as n(must be even) and n + 1 in place of the 0 and 1 currently provided. Then
- make first_npz

- If you wish to train on this new npz file, search from the beginning of the file name in the data/spec_repr/full_id.csv file, and copy all lines connected to that file into the data/spec_repr/id.csv file. You can then
- make run_first_model

- (In Progress/TO DO) Parallel_Tab generation for all wav files
- (In Progress/TO DO) Train model on multiple files

# Data analysis

- Document here the project: autotab
- Description: This Project focuses on creating a CNN-Model to predict guitar tabluature based on a .wave input file.
So far the model only detects a single instrument.
- Data Source: Data from Audio Research Lab, along the Center for Digital Music at Queen Mary University.
GuitarSet, a dataset that provides high quality guitar recordings alongside rich annotations and metadata. https://guitarset.weebly.com/
- Type of analysis: Training a model based on the Data and trying to predict an accurate tabluatur.

Please document the project the better you can.

# Startup the project

The initial setup.

Create virtualenv and install the project:

```bash
sudo apt-get install virtualenv python-pip python-dev
deactivate; virtualenv ~/venv ; source ~/venv/bin/activate ;\
    pip install pip -U; pip install -r requirements.txt
```

Unittest test:

```bash
make clean install test
```

Check for autotab in gitlab.com/{group}.
If your project is not set please add it:

- Create a new project on `gitlab.com/{group}/autotab`
- Then populate it:

```bash
##   e.g. if group is "{group}" and project_name is "autotab"
git remote add origin git@github.com:{group}/autotab.git
git push -u origin master
git push -u origin --tags
```

Functionnal test with a script:

```bash
cd
mkdir tmp
cd tmp
autotab-run
```

# Install

Go to `https://github.com/{group}/autotab` to see the project, manage issues,
setup you ssh public key, ...

Create a python3 virtualenv and activate it:

```bash
sudo apt-get install virtualenv python-pip python-dev
deactivate; virtualenv -ppython3 ~/venv ; source ~/venv/bin/activate
```

Clone the project and install it:

```bash
git clone git@github.com:{group}/autotab.git
cd autotab
pip install -r requirements.txt
make clean install test                # install and test
```

Functionnal test with a script:

```bash
cd
mkdir tmp
cd tmp
autotab-run
```