From 9de593d8780ec6fec43703df7a532e65baa44510 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Mar 2007 23:16:47 +0000 Subject: Learn quantization. RDF serialziation to a C FILE*. Machina graph drawing improvements. git-svn-id: http://svn.drobilla.net/lad/machina@364 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/MachinaGUI.cpp | 2 +- src/gui/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/MachinaGUI.cpp b/src/gui/MachinaGUI.cpp index 3d4676e..83a7504 100644 --- a/src/gui/MachinaGUI.cpp +++ b/src/gui/MachinaGUI.cpp @@ -424,7 +424,7 @@ MachinaGUI::menu_import_midi() SharedPtr file_driver(new Machina::SMFDriver()); //SharedPtr machine = file_driver->learn(dialog.get_uri(), // track_sb->get_value_as_int()); - SharedPtr machine = file_driver->learn(dialog.get_filename(), 16.0); + SharedPtr machine = file_driver->learn(dialog.get_filename(), 0.0, 16.0); if (machine) { dialog.hide(); diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 4185c45..5f208b4 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -42,7 +42,7 @@ main(int argc, char** argv) string filename = argv[1]; cout << "Building machine from MIDI file " << filename << endl; SharedPtr file_driver(new Machina::SMFDriver()); - machine = file_driver->learn(filename, 0.0); + machine = file_driver->learn(filename); } // Build engine -- cgit v1.2.1