Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MIDI Events not working properly on most plugins #1

Closed
dylanrenwick opened this issue Nov 5, 2017 · 1 comment
Closed

MIDI Events not working properly on most plugins #1

dylanrenwick opened this issue Nov 5, 2017 · 1 comment

Comments

@dylanrenwick
Copy link

I'm working on a barebones VST Host, and I've noticed that, after setting up VST.NET and NAudio (using NAudio to handle MIDI data and Audio output), MIDI events are not working correctly on any of my 64bit Plugins except for Serum.

On Image-Line plugins such as Harmor and Sytrus, there is a buzzing note that plays while a midi key is held down, assuming the plugin is already outputting audio. The buzzing note is always F4 regardless of the MIDI note or plugin's note being played.

In FabFilter One, no sound is given
In FabFilter Twin 2, a very very short saw is played

I have tried bypassing NAudio completely and sending note number and velocity directly, I have tried altering the Note length being passed to VstMidiEvent, I have tried altering the NoteOffVelocity being passed as well, both to no effect.

I also managed to reproduce this same issue using perivar's MidiVstTest project, which also uses NAudio and VST.NET

I can only assume this is due to Midi Events being sent in some format that most VSTs do not support.

@dylanrenwick
Copy link
Author

Nevermind, fixed the issue with all ImageLine plugins by simply writing a proper implementation for GetTimeInfo()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant