Send class added to shared module

Send mixed into Strip, AuxRtn, FxRtn classes.

addresses #4
This commit is contained in:
2024-02-08 13:43:15 +00:00
parent df2d158618
commit 27d0811091
3 changed files with 116 additions and 47 deletions

View File

@@ -2,7 +2,19 @@ import abc
from .errors import XAirRemoteError
from .meta import mute_prop
from .shared import EQ, GEQ, Automix, Config, Dyn, Gate, Group, Insert, Mix, Preamp
from .shared import (
EQ,
GEQ,
Automix,
Config,
Dyn,
Gate,
Group,
Insert,
Mix,
Preamp,
Send,
)
class IStrip(abc.ABC):
@@ -56,6 +68,10 @@ class Strip(IStrip):
Automix,
)
},
"send": tuple(
Send.make(cls, remote, i, index)
for i in range(remote.kind.num_bus + remote.kind.num_fx)
),
"mute": mute_prop(),
},
)