TomRB22 commited on
Commit
1c046b0
1 Parent(s): 98f67f9

Updated default parameters

Browse files
Files changed (1) hide show
  1. README.md +3 -3
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=100) -> 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,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=100,
157
- seconds: int=120) -> display.Audio:
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