Page 1 of 1

MIDI not reconnecting when waking from sleep

Posted: Mon Apr 26, 2021 3:23 pm
by TomW1605
hi

i am working on a new midi controller using a teensy 4.1. i have noticed that voicemeeter is losing its connection with it when the computer goes to sleep and not reconnecting when it wakes up.

initially i thought it was the teensy or my code however i have tested with MIDI-OX and it maintains a constant signal the whole time.

im not sure how well this could be tested as it is inconsistent and may be hardware dependant. i think it has something to do with the feedback system. when i turn off all the feedback it stops disconnecting. unfortunately the catalyst for this project was the addition feedback as it is centered around a powered fader.

im not sure what other info i should add but let me know if you need more.

Re: MIDI not reconnecting when waking from sleep

Posted: Tue Apr 27, 2021 9:12 am
by Vincent Burel
you may make a RESTART AUDIO ENGINE (in Voicemeeter Menu), no ?

Re: MIDI not reconnecting when waking from sleep

Posted: Tue Apr 27, 2021 10:08 am
by TomW1605
hi

unfortunately the problem has decided to hide this afternoon so i can't reproduce it right now to test but i did try using the "restart audio engine" option before and it did not work. i also have the auto restart enabled but i don't think that would detect it anyway

Re: MIDI not reconnecting when waking from sleep

Posted: Tue Apr 27, 2021 3:34 pm
by TomW1605
ok it happened again but this time restarting the audio engine worked. unfortunately the point of the project is to not have to open the app as often as i do so having to open it after waking up somewhat defeats the purpose. are there any log files i can send you that might help you track down the issue?