izzyreal / vmpc-juce

JUCE implementation of VMPC2000XL
GNU General Public License v3.0
86 stars 7 forks source link

No audio input in some scenarios #12

Closed izzyreal closed 4 years ago

izzyreal commented 4 years ago

Sergio Frias reports that vMPC2000XL standalone on his Windows 10 machine has just silence on the audio inputs. When wrapping the plugin in Tone2 NanoHost everything's working fine, same for when running the plugin in Reaper.

Currently no clear indication as to root cause. A possible one is https://docs.juce.com/master/tutorial_audio_bus_layouts.html

Let's create a debug executable that logs bus layout details from bool VmpcAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const and ask Sergio to run it and send ~/vMPC/vmpc.log to me for analysis.

izzyreal commented 4 years ago

Turned out to be related to a recent JUCE upgrade where the new StandaloneFilterWindow doesn't have a way to tweak the shouldMuteInput field. The only workaround I found was:

Edit `vmpc.settings` and make sure you have `<VALUE name="shouldMuteInput" val="0"/>` (it defaults to 1).
On Windows you can find this file in for example C:\Users\Izmar\AppData\Roaming\vmpc
On OSX it is in for example /Users/izmar/Library/Application Support
On Linux it is in ~/.config

A permanent solution was found by slightly customizing StandaloneFilterWindow, as is resolved in 8c61c6dc5f0424c4b71ace669751841efda543b6.