aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-07 17:27:45 +0000
committerDavid Robillard <d@drobilla.net>2007-12-07 17:27:45 +0000
commitb9289b950fbfe6d72ca97e5710ab5f8b3fb926af (patch)
tree26163a3729be50a01521f47521704152d20a6e80 /src/engine
parentaa11564fef8ed9330d42081288e8f310072c67d6 (diff)
downloadmachina-b9289b950fbfe6d72ca97e5710ab5f8b3fb926af.tar.gz
machina-b9289b950fbfe6d72ca97e5710ab5f8b3fb926af.tar.bz2
machina-b9289b950fbfe6d72ca97e5710ab5f8b3fb926af.zip
Twiddle default node duration (half beat).
git-svn-id: http://svn.drobilla.net/lad/machina@964 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/Problem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Problem.cpp b/src/engine/Problem.cpp
index 0db588c..83f9d51 100644
--- a/src/engine/Problem.cpp
+++ b/src/engine/Problem.cpp
@@ -221,7 +221,7 @@ Problem::initial_population(size_t gene_size, size_t pop_size) const
for (uint8_t i=0; i < 128; ++i) {
if (_target._counts[i] > 0) {
//cout << "Initial note: " << (int)i << endl;
- SharedPtr<Node> node(new Node(1/4.0));
+ SharedPtr<Node> node(new Node(1/2.0));
node->set_enter_action(ActionFactory::note_on(i));
node->set_exit_action(ActionFactory::note_off(i));
node->set_selector(true);