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/engine/machina/SMFDriver.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/engine/machina') diff --git a/src/engine/machina/SMFDriver.hpp b/src/engine/machina/SMFDriver.hpp index 0d58db3..090eb02 100644 --- a/src/engine/machina/SMFDriver.hpp +++ b/src/engine/machina/SMFDriver.hpp @@ -37,8 +37,8 @@ class SMFDriver : public Driver, public: SMFDriver(SharedPtr machine = SharedPtr()); - SharedPtr learn(const std::string& filename, Raul::BeatTime max_duration=0); - SharedPtr learn(const std::string& filename, unsigned track, Raul::BeatTime max_duration=0); + SharedPtr learn(const std::string& filename, double q=0.0, Raul::BeatTime max_duration=0); + SharedPtr learn(const std::string& filename, unsigned track, double q=0.0, Raul::BeatTime max_duration=0); void run(SharedPtr machine, Raul::BeatTime max_time); @@ -58,6 +58,7 @@ private: void learn_track(SharedPtr machine, Raul::SMFReader& reader, unsigned track, + double q, Raul::BeatTime max_duration=0); }; -- cgit v1.2.1