noiseorchestra / jacktrip_pypatcher

Python scripts to autopatch a JackTrip hubserver
GNU General Public License v3.0
6 stars 1 forks source link

Tweak the stereo patching #88

Open madwort opened 3 years ago

madwort commented 3 years ago

Thinking about the sloth racket session, and wanting to put the bass&drums central in the mix. What if in https://github.com/noiseorchestra/jacktrip_pypatcher/blob/cd089e422b8057af9ddbfef8de761fceb0306068/jacktrip_pypatcher.py#L131-L132 we added a fixup so that the bass & drums client ip addresses are always in the middle of the list? Might not be too difficult to do... I know I said it wasn't worth doing something like this, but maybe it's tempting..... What do you think @sandreae ?

madwort commented 3 years ago

so get_current_clients returns a list like

sax
sax
guitar
bass
drums

we split into two lists

sax
sax
guitar

and

bass
drums

and then recombine then like

sax
sax
bass
drums
guitar
madwort commented 3 years ago

wouldn't be guaranteed completely central, but would on average be better?