arteme / pod-ui

A modern GTK+ UI for controlling Line6 POD family of devices via MIDI. Supported devices: POD 1.0, POD 2.0, POD Pro, PocketPOD, PODxt, PODxt Pro, PODxt Live, Bass PODxt, Bass PODxt Pro, Bass PODxt Live
https://arteme.github.io/pod-ui/
GNU General Public License v3.0
31 stars 2 forks source link

Bug: Autodetect freezes the program #33

Closed MidnightRetro closed 1 year ago

MidnightRetro commented 1 year ago

I don't know what the button is supposed to do, but as soon as I press it, the program freezes and I have to close it.

Windows 11, Pod 2.0, latest pod-ui version

arteme commented 1 year ago

Hi! Awesome username there!

The "autodetect" button is supposed to open all possible MIDI ports and send device inquiry messages out to figure out, where the POD answers from. You can manually select the MIDI in/out ports, select that and press "test" to test if the POD is communicating correctly.

I haven't tried the app on Windows 11, only on Windows 10, but it works correctly here. You can also try the "winrt" build if you haven't tried it already.

MidnightRetro commented 1 year ago

Wow, super responsive! Yup, winrt version works. What's the difference?

arteme commented 1 year ago

Great news!

The "winrt" build uses a set of newer APIs (UWP, https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/midi) which are a part of a newer WinRT runtime available in since Windows 8 and everyone in Windows 10+ should probably be using this.

The other build uses the legacy Windows Multimedia API (WinMM) which has been in Windows since the beginning.

I'll try if I can get my setup to work with Windows 11 and maybe I'll be able to reproduce this problem there. What sound card do you use to plug the MIDI cables into?