def add_send(self, destination=None): """ Add send to track and return it. Parameters ---------- destination : Track or None Send destination (default=None). If None, destination is set to hardware output. Returns ------- send : Send New send on track. """ if isinstance(destination, Track): destination = destination.id send_id = RPR.CreateTrackSend(self.id, destination) type = "hardware" if destination is None else "send" send = reapy.Send(self, send_id, type=type) return send
def sends(self): return [reapy.Send(self, i, type="send") for i in range(self.n_sends)]
def receives(self): return [ reapy.Send(self, i, type="receive") for i in range(self.n_receives) ]