diff options
author | David Robillard <d@drobilla.net> | 2007-03-19 23:16:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-03-19 23:16:47 +0000 |
commit | 9de593d8780ec6fec43703df7a532e65baa44510 (patch) | |
tree | 8aea0a26a3ee201ef1bdf3a11995976c4ad4ea0a /src/gui | |
parent | 47f59aaad7a5ab8c189905544a761940ae9f8509 (diff) | |
download | machina-9de593d8780ec6fec43703df7a532e65baa44510.tar.gz machina-9de593d8780ec6fec43703df7a532e65baa44510.tar.bz2 machina-9de593d8780ec6fec43703df7a532e65baa44510.zip |
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
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/MachinaGUI.cpp | 2 | ||||
-rw-r--r-- | src/gui/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<Machina::SMFDriver> file_driver(new Machina::SMFDriver()); //SharedPtr<Machina::Machine> machine = file_driver->learn(dialog.get_uri(), // track_sb->get_value_as_int()); - SharedPtr<Machina::Machine> machine = file_driver->learn(dialog.get_filename(), 16.0); + SharedPtr<Machina::Machine> 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<Machina::SMFDriver> file_driver(new Machina::SMFDriver()); - machine = file_driver->learn(filename, 0.0); + machine = file_driver->learn(filename); } // Build engine |