Updated default parameters
Browse files
README.md
CHANGED
@@ -134,7 +134,7 @@ Returns:
|
|
134 |
### map_to_wav
|
135 |
|
136 |
```python
|
137 |
-
def map_to_wav(song_map: pd.DataFrame, out_file: str, velocity: int=
|
138 |
```
|
139 |
Convert "song map" to midi file (reverse process with respect to
|
140 |
midi_to_notes) and (optionally) save it, generating a PrettyMidi object in the process.
|
@@ -153,8 +153,8 @@ Returns:
|
|
153 |
def generate_and_display(model: VAE,
|
154 |
out_file: str=None,
|
155 |
z_sample: tf.Tensor=None,
|
156 |
-
velocity: int=
|
157 |
-
seconds: int
|
158 |
```
|
159 |
Generate a song, (optionally) save it and display it.
|
160 |
|
|
|
134 |
### map_to_wav
|
135 |
|
136 |
```python
|
137 |
+
def map_to_wav(song_map: pd.DataFrame, out_file: str, velocity: int=50) -> pretty_midi.PrettyMIDI:
|
138 |
```
|
139 |
Convert "song map" to midi file (reverse process with respect to
|
140 |
midi_to_notes) and (optionally) save it, generating a PrettyMidi object in the process.
|
|
|
153 |
def generate_and_display(model: VAE,
|
154 |
out_file: str=None,
|
155 |
z_sample: tf.Tensor=None,
|
156 |
+
velocity: int=50,
|
157 |
+
seconds: int=-1) -> display.Audio:
|
158 |
```
|
159 |
Generate a song, (optionally) save it and display it.
|
160 |
|