An open API service indexing awesome lists of open source software.

https://github.com/henrixounez/v-midi

V Midi File Parser / Player
https://github.com/henrixounez/v-midi

midi v vlang

Last synced: about 1 month ago
JSON representation

V Midi File Parser / Player

Awesome Lists containing this project

README

        

# V MIDI Files Parser / Player

#### Thank you @spaceface777 and @spytheman for the help with the sinewave Audio Generator :heart:


## How to use :
You have easy access interface for parsing and playing the midi file :
```v
import vmidi

midi := vmidi.parse(file) or { return }
midi.play()
```


## Methods
|Method|use|
|-|-|
|`.parse(filename string) ?Midi`| Returns an optional `Midi` structure with the parsed `filename` file|
|`.play(midi Midi)`| Plays the tunes of the `Midi` file|