summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/midi/midiutil.h2
-rw-r--r--apps/plugins/midi/synth.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/midi/midiutil.h b/apps/plugins/midi/midiutil.h
index f5a369700c..ba34fe206f 100644
--- a/apps/plugins/midi/midiutil.h
+++ b/apps/plugins/midi/midiutil.h
@@ -31,7 +31,7 @@
#define SAMPLE_RATE SAMPR_44 // 44100 22050 11025
#endif
-#define MAX_VOICES 20 // Note: 24 midi channels is the minimum general midi
+#define MAX_VOICES 25 // Note: 24 midi channels is the minimum general midi
// spec implementation
#else // Simulator requires 44100, and we can afford to use more voices
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c
index acf300fb44..44d42c0c78 100644
--- a/apps/plugins/midi/synth.c
+++ b/apps/plugins/midi/synth.c
@@ -229,7 +229,7 @@ void setPoint(struct SynthObject * so, int pt)
* default this to 10, and maybe later have an option to set it to 9
* for longer decays.
*/
- so->curRate = r<<11;
+ so->curRate = r<<10;
/*
* Do this here because the patches assume a 44100 sampling rate