Update README.md
Browse files
README.md
CHANGED
|
@@ -120,10 +120,9 @@ postprocess(txt, './result.mid')
|
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
```
|
| 126 |
|
|
|
|
| 127 |
def preprocess(path):
|
| 128 |
# turn the midi into a custom format and write it to ./example/output.txt
|
| 129 |
# midi files may be broken
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
+
Similarly, to convert a midi file to the text representation:
|
|
|
|
|
|
|
| 124 |
|
| 125 |
+
```python
|
| 126 |
def preprocess(path):
|
| 127 |
# turn the midi into a custom format and write it to ./example/output.txt
|
| 128 |
# midi files may be broken
|