MIDI: Kick up number of voices and decrease the decay rate, taking

advantage of the recent speedups. Some instruments sound a lot more 
natural now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14910 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Stepan Moskovchenko 2007-09-30 09:01:38 +00:00
parent 80f1688423
commit 414724e2f4
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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