signal
signal copied to clipboard
MIDI playback breaks when alt-tabbing on Chrome
Describe the bug When using a MIDI output to play back a file, the playback stutters and skips when alt-tabbing to a different window. The events are all executed at once in around 1 second intervals. Firefox is unaffected Video: https://github.com/ryohey/signal/assets/95608008/b1a04e6c-8684-4c21-b1e6-081c6d7e2d13
To Reproduce Steps to reproduce the behavior:
- Open signal, select a MIDI output instead of Signal Factory Sound. (SpessaSynth is the synthesizer in my example)
- Upload a MIDI file
- Play it normally
- Alt-tab to a different window (Firefox in my example)
- Hear playback stutter. (I have confirmed that this is not a bug with SpessaSynth, it happens with other synthesizers such as fluidsynth too)
Expected behavior The file should play back normally.
Screenshots See video.
Desktop (please complete the following information):
- OS: Microsoft Windows 10 (64-bit)
- Browser: Chromium
- Version: Version 115.0.5790.99
Smartphone (please complete the following information): N/A
Additional context N/A