MIDI Sequencer Development | Registration Problems | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
MIDI Sequencer Development
Avatar
New Member
Members
February 8, 2022 - 10:52 pm
Member Since: February 8, 2022
Forum Posts: 1
sp_UserOfflineSmall Offline
Avatar
Admin
February 15, 2022 - 8:12 am
Member Since: January 1, 2020
Forum Posts: 107
sp_UserOfflineSmall Offline

Extremely odd that Gary's post has disappeared and that the data encoding and header of this forum are also now corrupted. 

I think Gary wanted to know if/how it was possible to send MIDI note and CC data out from his VST3. 

I actually don't know this answer. Has anyone tried this before?

Avatar
Admin
February 15, 2022 - 11:46 am
Member Since: January 29, 2017
Forum Posts: 698
sp_UserOfflineSmall Offline

I don't know what happened as I did nothing to the website, but the provider (Dream Host) just did an update of wordpress, so guessing that may have something to do with it. I will look into what is going on...

For MIDI output - the answer is yes, and also this is a very contentious issue.

First, MIDI CCs are handled strangely in VST3 (IMO) - CCs are not allowed to enter the MIDI event queue but rather must be processed through the parameter queue and there are several blistering threads on the Steinberg Dev Forum about this. See:

https://forums.steinberg.net/t/vst3-and-midi-cc-pitfall/201879

For MIDI output, the original VST3 spec was just as limiting, only allowing you to send MIDI note on/off and a few other messages. Developers were angry and frustrated, so Steinberg created what they call "Legacy CC" to allow outputting CCs from the plugin.

If you build the SDK example plugins, you will see one called "legacymidiccout" which you can use as an example for your own stuff.

The process( ) function accepts a structure that has the MIDI input queue - you can see in my VST3Plugin.cpp implementation where I parse that queue of MIDI events. That same structure includes a MIDI output queue and that is were you will place your MIDI messages for output. 

You should definitely hit the Steinberg Dev Forum as there are several threads related to MIDI in and out of VSt3 plugins.

Will 

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 2

Members: 786

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 853

Posts: 3385

Moderators: W Pirkle: 698