https://github.com/moutend/csv2midi
The command line tool for converting CSV to standard MIDI file.
https://github.com/moutend/csv2midi
csv midi
Last synced: 25 days ago
JSON representation
The command line tool for converting CSV to standard MIDI file.
- Host: GitHub
- URL: https://github.com/moutend/csv2midi
- Owner: moutend
- Created: 2017-12-16T13:21:06.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2020-11-03T23:11:35.000Z (over 5 years ago)
- Last Synced: 2026-05-24T07:36:19.057Z (25 days ago)
- Topics: csv, midi
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
csv2midi
========
`csv2midi` converts CSV to standard MIDI file.
## Install
```console
go get -u github.com/moutend/csv2midi/cmd/csv2midi
```
## Usage
```console
csv2midi music.csv
```
Then you'll get the standard MIDI file named `music.mid`.
## CSV specification
The CSV file must have 3 columns at least. The first column is delta time which defines when the event play. The second column is event type and the third column is value for that event.
## Supported events
| Event Type | Values |
|:---|:---|
| `on` | note name | velocity |
## Example
The following CSV is 8 beat.
## Contributing
1. Fork ([https://github.com/moutend/csv2midi/fork](https://github.com/moutend/csv2midi/fork))
1. Create a feature branch
1. Add changes
1. Run `go fmt`
1. Commit your changes
1. Open a new Pull Request
## LICENSE
MIT
## Author
[Yoshiyuki Koyanagi](https://github.com/moutend)