diff --git a/@sampler/src/main.cpp b/@sampler/src/main.cpp index 63bfbad..cda8bd5 100644 --- a/@sampler/src/main.cpp +++ b/@sampler/src/main.cpp @@ -349,8 +349,10 @@ void setup() { mixer2.gain(1,1.0); mixer2.gain(2,0); mixer2.gain(3,0); - amp1.gain(GAIN_FACTOR); - amp2.gain(GAIN_FACTOR); + // amp1.gain(GAIN_FACTOR); + // amp2.gain(GAIN_FACTOR); + amp1.gain(33.0/127.0); //default volume preset + amp2.gain(33.0/127.0); //default volume preset //let auto-poweroff speakers stay turned ON! sine1.frequency(IDLE_FREQ); diff --git a/audioooo/src/main.cpp b/audioooo/src/main.cpp index f576040..242c0d3 100644 --- a/audioooo/src/main.cpp +++ b/audioooo/src/main.cpp @@ -16,7 +16,7 @@ //======================== // #define MY_GROUP_ID (10000) -#define MY_ID (MY_GROUP_ID + 15) +#define MY_ID (MY_GROUP_ID + 7) #define MY_SIGN ("AUDIOOOO") #define ADDRESSBOOK_TITLE ("broadcast only") // @@ -495,7 +495,9 @@ void setup() { //audio(I2S) audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT); - audio.setVolume(21); // 0...21 + // audio.setVolume(21); // 0...21 + audio.setVolume(11.57); // 70 * 21 / 127 == 11.57 + // audio.connecttoFS(SD, filename.c_str()); //info diff --git a/q/src/main.cpp b/q/src/main.cpp index 352439d..3a430f4 100644 --- a/q/src/main.cpp +++ b/q/src/main.cpp @@ -670,7 +670,8 @@ void setup() { //audio(I2S) audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT); - audio.setVolume(21); // 0...21 + // audio.setVolume(21); // 0...21 + audio.setVolume(14.88); // 90 * 21 / 127 == 14.88 // audio.connecttoFS(SD, filename.c_str()); //info