summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
authordeva <deva>2008-07-21 15:32:54 +0000
committerdeva <deva>2008-07-21 15:32:54 +0000
commit217a8a1aa8eba3611d5ba6abefb502fb041e13cb (patch)
treefe80b09f306e0c83d0e4a0eb5ef5f476183b5fbc /src/drumgizmo.cc
parent981cd50a83e67f5471ee1e1ad0c0575506f14da0 (diff)
Made midi mapper.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index f423bb0..936c231 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -47,7 +47,7 @@ int process(jack_nframes_t nframes, void *arg)
jack_midi_event_write(port_buf, time, all_notes_off, size);
timer = 0;
- next = (size_t)(((float)rand() / (float)RAND_MAX) * 0.3 * 44100);
+ next = (size_t)(((float)rand() / (float)RAND_MAX) * 0.2 * 44100);
}
timer += nframes;
@@ -83,7 +83,7 @@ int main(int argc, char *argv[])
client.activate();
- sendMidi();
+ // sendMidi();
while(1) sleep(1);