cardonabits / haxo-rs

Software for the haxophone
MIT License
43 stars 10 forks source link

Add volume control #5

Open jcard0na opened 3 years ago

jcard0na commented 3 years ago

Add control commands to control volume.

Ekolide commented 9 months ago

Hi! I have have field-tested the Haxophone with some guitar pedals I think this is very much worth implementing. The standard volume is just too much for my pedalboard, overloading basically every input. There's input attenuation on my digital effects pedal, but even at it's max setting of -12dB, it's still too hot and regularly distorts on the input.

And two other considerations:

"All the above means that you can't connect the output into another amplifier, it should drive the speakers directly" (Adafruit, p. 6)

Attenuation through control commands make sense.

Having control commands for the FluidSynth gain is one possibility. But is it possible to control the power supplied to the audio amplifier, or does this require hardware modifications? This could have the benefit of letting the user disable the power to the headphone out, for example if they are using the Haxophone as a MIDI instrument, simply hacking/coding, or otherwise want to conserve power.