1
0
mirror of https://github.com/safiire/n65.git synced 2024-12-13 06:29:16 +00:00
n65/utils/midi/source/convert.cpp

17 lines
251 B
C++

#include <stdio.h>
#include "file.h"
int main(int argc, char **argv){
if(argc < 1){
printf("Need a midi file argument\n");
exit(1);
}
Midi::File midi_file;
midi_file.init_from_file(argv[1]);
midi_file.print_yaml();
return 0;
}