You're looking at a specific version of this model. Jump to the model overview.
malerlab /u-must-midi-to-audio:bbd6cc9d
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| midi |
string
|
Piano MIDI file (.mid).
|
|
| window_sec |
number
|
18
Min: 8 Max: 20 |
Generation window length in seconds (the model was trained on 19-20 s slices).
|
| overlap_sec |
number
|
2
Max: 6 |
Overlap between windows; its generated audio primes the next window.
|
| max_duration_sec |
number
|
0
|
Only render the first N seconds of the MIDI; 0 = whole file.
|
| seed |
integer
|
0
|
Random seed.
|
| reference |
boolean
|
True
|
Also return the input MIDI rendered with a General MIDI soundfont, for comparison.
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'items': {'format': 'uri', 'type': 'string'},
'title': 'Output',
'type': 'array'}