Welcome to the Rockbox Technical Forums!
I'd be interested to see if anyone can actually manage to make accidental triggering of this by contact noise work first. I'm not optimistic it's going to be that easy or reliable.
do{ play music at playback volume; if (volume key pressed) { adjust set volume; playback volume fades to set volume; // for ~10 seconds or something sample base Average Ambient Volume; // 'AAV' from here on } else { sample current AAV; if (current AAV < base AAV) { playback volume = set volume - ((base AAV - current AAV) * volume adjustment multiplier); } else { playback volume = set volume; } }}loop
Rather than adjusting the volume it would be much more interesting (though harder) to have noise cancellation in the software.
Page created in 0.071 seconds with 21 queries.