aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
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/engine/machina
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/engine/machina')
-rw-r--r--src/engine/machina/SMFDriver.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/machina/SMFDriver.hpp b/src/engine/machina/SMFDriver.hpp
index 17c196e..3e74726 100644
--- a/src/engine/machina/SMFDriver.hpp
+++ b/src/engine/machina/SMFDriver.hpp
@@ -35,8 +35,8 @@ class Machine;
class SMFDriver : public Raul::SMFWriter,
public boost::enable_shared_from_this<SMFDriver> {
public:
- SharedPtr<Machine> learn(const Glib::ustring& uri, Raul::BeatTime max_duration=0);
- SharedPtr<Machine> learn(const Glib::ustring& uri, unsigned track, Raul::BeatTime max_duration=0);
+ 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);
void run(SharedPtr<Machine> machine, Raul::BeatTime max_time);