aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/machina
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-07 17:27:06 +0000
committerDavid Robillard <d@drobilla.net>2007-12-07 17:27:06 +0000
commitaa11564fef8ed9330d42081288e8f310072c67d6 (patch)
tree3d092d0117fd8a309d4ec16e158893744a777362 /src/engine/machina
parent885af895243b43220b1e99f1d3b2bebcc2ec6398 (diff)
downloadmachina-aa11564fef8ed9330d42081288e8f310072c67d6.tar.gz
machina-aa11564fef8ed9330d42081288e8f310072c67d6.tar.bz2
machina-aa11564fef8ed9330d42081288e8f310072c67d6.zip
Fix loading selector nodes.
Choosing evolution target MIDI from GUI. git-svn-id: http://svn.drobilla.net/lad/machina@963 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/machina')
-rw-r--r--src/engine/machina/Node.hpp2
-rw-r--r--src/engine/machina/Problem.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/machina/Node.hpp b/src/engine/machina/Node.hpp
index 87e14af..04e7c07 100644
--- a/src/engine/machina/Node.hpp
+++ b/src/engine/machina/Node.hpp
@@ -44,7 +44,7 @@ class Node : public Raul::Stateful {
public:
typedef std::string ID;
- Node(BeatCount duration=1.0, bool initial=false);
+ Node(BeatCount duration=1/4.0, bool initial=false);
Node(const Node& copy);
void set_enter_action(SharedPtr<Action> action);
diff --git a/src/engine/machina/Problem.hpp b/src/engine/machina/Problem.hpp
index 7605e88..067be51 100644
--- a/src/engine/machina/Problem.hpp
+++ b/src/engine/machina/Problem.hpp
@@ -81,7 +81,7 @@ private:
};*/
struct Evaluator : public Raul::MIDISink {
- Evaluator(const Problem& problem) : _problem(problem), _order(8), _n_notes(0), _first_note(0) {
+ Evaluator(const Problem& problem) : _problem(problem), _order(4), _n_notes(0), _first_note(0) {
for (uint8_t i=0; i < 128; ++i)
_counts[i] = 0;
}