Using sonic Pi on Raspberry Pi to control i2c based audio switcher

I am building a sixteen channel audio switcher with volume control which has audio amps which I can control via the i2c bus. Is there a way I can hav Sonic Pi send commands (maybe through Python) to control the amplifiers? I need to control which speaker(s) are on via volume control levels (0-63).

Thanks in advance.