Bill's Music mess

This commit is contained in:
Bill Verplank
2013-01-29 12:09:22 +01:00
parent 62b7761e9a
commit 8600cbd3e0
3 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ void MMusic::setGain3(uint16_t value)
float MMusic::getGainFloat()
{
return float(gain);
return float(gain)/65535.0;
}
+1 -1
View File
@@ -31,7 +31,7 @@
// SHOULD BE 1, 2 or 3
//
////////////////////////////////////
#define NUM_OSCILLATORS 2
#define NUM_OSCILLATORS 3 //edited BV 29Jan13.
// current sample rate is 15625 as defined in the init() section