aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-17 03:15:44 +0000
committerDavid Robillard <d@drobilla.net>2007-03-17 03:15:44 +0000
commita716b2c0571f5bdcd817835cecb30cb7a4c745e0 (patch)
tree138a04f89579a435c5f6d93b2bf5e6d9e61ca466 /src/gui
parentcb6ecc0c93b7ea7624dba5d633ff0f15980c4274 (diff)
downloadmachina-a716b2c0571f5bdcd817835cecb30cb7a4c745e0.tar.gz
machina-a716b2c0571f5bdcd817835cecb30cb7a4c745e0.tar.bz2
machina-a716b2c0571f5bdcd817835cecb30cb7a4c745e0.zip
Nicer automata diagrams from machina2dot.py.
Added midi2machina program. git-svn-id: http://svn.drobilla.net/lad/machina@362 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 20f75b9..b6dea9c 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -38,7 +38,7 @@ main(int argc, char** argv)
string filename = argv[1];
cout << "Building machine from MIDI file " << filename << endl;
SharedPtr<Machina::SMFDriver> file_driver(new Machina::SMFDriver());
- machine = file_driver->learn(string("file://") + filename, 0.0);
+ machine = file_driver->learn(filename, 0.0);
}
// Build engine