Update README.md
Browse files
README.md
CHANGED
|
@@ -40,7 +40,7 @@ print(txt)
|
|
| 40 |
```
|
| 41 |
|
| 42 |
|
| 43 |
-
To convert the text back to a midi file, try this:
|
| 44 |
|
| 45 |
```bash
|
| 46 |
# install this midi library
|
|
@@ -75,7 +75,6 @@ def postprocess(txt, path):
|
|
| 75 |
# assert txt.startswith(prompt)
|
| 76 |
txt = txt.split('\n\n')[-1]
|
| 77 |
|
| 78 |
-
# track = symusic.core.TrackSecond()
|
| 79 |
tracks = {}
|
| 80 |
|
| 81 |
now = 0
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
|
| 43 |
+
To convert the text representation back to a midi file, try this:
|
| 44 |
|
| 45 |
```bash
|
| 46 |
# install this midi library
|
|
|
|
| 75 |
# assert txt.startswith(prompt)
|
| 76 |
txt = txt.split('\n\n')[-1]
|
| 77 |
|
|
|
|
| 78 |
tracks = {}
|
| 79 |
|
| 80 |
now = 0
|