def get_monitor_pan(self, in_ch, out_ch): if in_ch >= self.info['capture-channels']: raise ValueError('Invalid argument for capture channel') if out_ch >= self.info['playback-channels']: raise ValueError('Invalid argument for playback channel') return EftMonitor.get_param(self, 'pan', in_ch, out_ch)
def set_monitor_solo(self, in_ch, out_ch, val): if in_ch >= self.info['capture-channels']: raise ValueError('Invalid argument for capture channel') if out_ch >= self.info['playback-channels']: raise ValueError('Invalid argument for playback channel') EftMonitor.set_param(self, 'solo', in_ch, out_ch, val)