aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-03-19 23:16:47 +0000
committerDavid Robillard <d@drobilla.net>2007-03-19 23:16:47 +0000
commit9de593d8780ec6fec43703df7a532e65baa44510 (patch)
tree8aea0a26a3ee201ef1bdf3a11995976c4ad4ea0a /src/engine/machina
parent47f59aaad7a5ab8c189905544a761940ae9f8509 (diff)
downloadmachina-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/engine/machina')
-rw-r--r--src/engine/machina/SMFDriver.hpp5
1 files changed, 3 insertions, 2 deletions
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> machine = SharedPtr<Machine>());
- SharedPtr<Machine> learn(const std::string& filename, Raul::BeatTime max_duration=0);
- SharedPtr<Machine> learn(const std::string& filename, unsigned track, Raul::BeatTime max_duration=0);
+ SharedPtr<Machine> learn(const std::string& filename, double q=0.0, Raul::BeatTime max_duration=0);
+ SharedPtr<Machine> learn(const std::string& filename, unsigned track, double q=0.0, Raul::BeatTime max_duration=0);
void run(SharedPtr<Machine> machine, Raul::BeatTime max_time);
@@ -58,6 +58,7 @@ private:
void learn_track(SharedPtr<Machine> machine,
Raul::SMFReader& reader,
unsigned track,
+ double q,
Raul::BeatTime max_duration=0);
};