diff options
Diffstat (limited to 'src/gui/main.cpp')
-rw-r--r-- | src/gui/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp index c522898..e1e86ea 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -51,6 +51,11 @@ main(int argc, char** argv) cout << "No quantization." << endl; machine = file_driver->learn(filename); } + + if (!machine) { + cout << "Not a MIDI file. Attempting to load as Machina file." << endl; + machine = Loader().load(filename); + } } if (!machine) |