I have downloaded the latest 1.0.6 Arduino and teensyduino 1.20 r6 and all works OK.
But the headset volume was very loud compared to using Arduino 1.0.5 and Teensyduino 1.19
In the older setup I would have had audioShield.volume(20);
Now I have audioShield.volume(0.3):
For roughly the same volume.
I was looking at control_sgtl5000.cpp and see there is AudioControlSGTL5000::volume(float left, float right) for controlling the volume of each channel separately.
I tried using audioShield.volume(0.3, 0.5) and it didn't work...infact no volume at all.
Then I tried .......
float vleft = 0.3;
float vright = 0.5;
audioShield.volume(0.3):
audioShield.volume(vleft, vright);
And it did work, left and right had different volume..............
but I needed the volume with the single parameter first to allow the 2 parameter statement to work....
I was wondering how that is since both are "audioShield.volume"
or maybe this is not the correct way to be using it.....? ? ?
But the headset volume was very loud compared to using Arduino 1.0.5 and Teensyduino 1.19
In the older setup I would have had audioShield.volume(20);
Now I have audioShield.volume(0.3):
For roughly the same volume.
I was looking at control_sgtl5000.cpp and see there is AudioControlSGTL5000::volume(float left, float right) for controlling the volume of each channel separately.
I tried using audioShield.volume(0.3, 0.5) and it didn't work...infact no volume at all.
Then I tried .......
float vleft = 0.3;
float vright = 0.5;
audioShield.volume(0.3):
audioShield.volume(vleft, vright);
And it did work, left and right had different volume..............
but I needed the volume with the single parameter first to allow the 2 parameter statement to work....
I was wondering how that is since both are "audioShield.volume"
or maybe this is not the correct way to be using it.....? ? ?