Should be simple to change the code to control two plugs, not just one.
The general idea is to control the state of the amp based on the playback state. In camillaDSP, the playback state switches from Running to Paused after the configurable silence_timeout value, so you can choose to make the...