https://github.com/iann0036/deepcomposer-upload
Upload a single-track MIDI to the AWS DeepComposer service
https://github.com/iann0036/deepcomposer-upload
aws deepcomposer
Last synced: 6 months ago
JSON representation
Upload a single-track MIDI to the AWS DeepComposer service
- Host: GitHub
- URL: https://github.com/iann0036/deepcomposer-upload
- Owner: iann0036
- License: mit
- Created: 2020-06-02T04:19:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T08:26:52.000Z (over 3 years ago)
- Last Synced: 2025-02-13T15:14:35.864Z (over 1 year ago)
- Topics: aws, deepcomposer
- Language: JavaScript
- Size: 42 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deepcomposer-upload
> Upload a single-track MIDI to the AWS DeepComposer service
## Installation
```
npm i -g deepcomposer-upload
```
## Usage
Input MIDI files should have a tempo that remains static. Only the first 8 bars will be processed.
```
deepcomposer-upload -i input.mid -n nameoftrack -m genre-rock-1 -o output.mid
```
```
deepcomposer-upload \
-i input.mid \
-n nameoftrack \
-m ar-cnn-bach \
-o output.mid \
--max-percentage-removed 100 \
--max-notes-added 50 \
--sampling-iterations 100 \
--creative-risk 1.5
```
#### -i, --input-filename <filename> (Required)
The filename of the input MIDI file
#### -n, --sample-name <name>
The name of the sample, used to register in Music studio (required when uploading)
#### -m, --model-id <id>
The ID of the model used to generate new tracks, defaults to `genre-rock-1`
###### GAN-based
* `genre-rock-1`
* `genre-pop-1`
* `genre-jazz-1`
* `genre-joco-1`
* `genre-symphony-1`
###### Autoregressive-based
* `ar-cnn-bach`
#### -o, --output-filename <filename>
The name of the output filename of the generated MIDI file, if you wish to save it
#### --max-percentage-removed <number>
_Autoregressive only_
The maximum percentage of initial notes removed (0-100)
#### --max-notes-added <number>
_Autoregressive only_
The maximum notes to be added (50-1000)
#### --sampling-iterations <number>
_Autoregressive only_
The sampling iterations (0-100)
#### --creative-risk <number>
_Autoregressive only_
As risk increases, compositions will become more experimental (0.5-6)
#### --list-tracks
Lists tracks in the input MIDI file, and ignores uploading to the DeepComposer service
#### --track-number <number>
Selects the track number to process, as shown by `--list-tracks`