shells-dw / streamdeck-totalmix

Unofficial StreamDeck RME TotalMix FX Plugin - supporting MIDI and OSC
MIT License
53 stars 6 forks source link

Mirror Function not working #11

Closed glnces closed 1 year ago

glnces commented 2 years ago

Ever since the most recent update the plugin doesn't seem to be able to read the current state of an Output channel. I'm using a few OSC Toggle channel functions as mutes, and I've tried muting all channels, exiting the Stream Deck app and having it reload, but it always shows the defaulted non-muted state on the Stream Deck button regardless of which state it's in.

shells-dw commented 2 years ago

Hi Matt, that's strange, it works on my machine (which is basically the meme response of any software developer, I know ;-) ) but all jokes aside... I've made quite some changes over time here on the GitHub release I didn't push to Elgato to update on the "Store" and I haven't changed (or touched) that function in quite a while. I know it's (basically) working for other users that didn't upgrade from that very old release on the StreamDeck. That being said, maybe the button instances weren't updated properly for whatever reason - have you tried setting up a new OSC toggle instance (button)? Try to delete an existing button from the StreamDeck manager software and add a new instance and see if works then - reading your description it appears to me you didn't try that yet. Let me know if it should still not work then.

glnces commented 2 years ago

Just tried deleting all of the buttons I had, uninstalling, then reinstalling the plugin and no dice.

shells-dw commented 2 years ago

Alright... Tried it on a second machine of mine I never had Stream Deck installed on before just to see if it would work on a different PC than my development box - and it does. So it appears it's nothing majorly wrong with the plugin itself. What Windows version do you use? I stick to Windows 10 for now, so not sure if Windows 11 would break anything, heard some strange stuff happening with it from time to time. Which Fireface interface do you use? (I can't really test any other than the UC myself as that's the only one I have access to, but who knows what I can find looking for something specific). Are you using the latest RME drivers for the device? (It shouldn't matter when it worked before, but I'm using the newest ones and I know it's working with them). Additionally, could you attach the logfile pluginlog.log from %appdata%\Elgato\StreamDeck\Plugins\de.shells.totalmix.sdPlugin\ ? It's overwritten on any start of Stream Deck so it doesn't fill up with useless crap over time hence please set a button to mono or solo for a channel, set it to mirror, push it once or twice and additionally switch mono/solo with TotalMix - then pick the log file and attach it here. I'll see what I can figure it out then.

glnces commented 2 years ago

pluginlog.log

Not sure if the logs show anything helpful. Looking through them maybe the port listening port showing as a string?

shells-dw commented 2 years ago

In this case it's more interesting what's not in the log - and that's a response from the device. As soon as the button is set to mirror, it should log that state responses for the channel queried from the device were received, even if nothing was changed in TotalMix (like mute/solo the channel you're monitoring with it). The button is still querying the device and should report the responses. well... Windows 11 eh. Great. I'll see what I can find out, I guess that's the culprit here. I can't really upgrade my dev machine (yet) I got some software that won't work with 11, sooo... yeah, I'll see what I can do anyways.

shells-dw commented 2 years ago

Well, bad news - I guess you have to live with that. I can't really figure out why this particular part is not working with Windows 11. The internet is rather full of people having all sorts of random issues with it (Windows 11 that is) but nothing specific on the libs I use. Tried upgrading a testing machine I have laying around to see if I can figure it out there, but Windows Upgrade says it can't use that CPU (it's a 2016 i5 ¯_(ツ)_/¯) to run Windows 11 so I'm not going to have a testing machine with it for the time being. As said, I won't upgrade my main machine and break all sorts of things. I'll update the docs about it partially not working with Windows 11 - and leave the issue open, maybe someone else can add anything to the matter. Sorry buddy

shells-dw commented 1 year ago

Hey Matt :) quick update - and apologies it took me so long to give this another look... I've just put a beta version in Releases that mainly uses a different approach to mirroring TotalMix. It's a bit during rewrite-in-progress as I'm planning on improving some other parts of the plugin too... but it should work as before. I had it running for a couple of hours without restarting and mirroring (as well as triggering of functions) worked fine for me (I'm on Windows 11 with the latest TotalMix version as well now). It would be awesome if you could check if out and see if it works for you too, before I spend more time on something that might not actually be the problem :-D

Make sure to check the instructions on the releases page, you'll need to enable another OSC listener in TotalMix for mirroring to work (and I haven't yet implemented any fail-safe process, so without the settings it might currently just crash), and I've moved the settings to a config file instead of having them clutter up the UI.

glnces commented 1 year ago

Hey @shells-dw! Just tested and it works basically in real time too! Great work!

shells-dw commented 1 year ago

Awesome! Thanks for the quick response

glnces commented 1 year ago

@shells-dw no problem, thanks for this amazing plugin!! How long does it usually take Elgato to push updates to the store?