Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working (on a Windows PC) in VS 2019, and VB, creating a program to generate new simple Bach chorale style music. I have been working on this project off and on over the decades. It is now starting to produce some very simple chord sequences in the correct harmonic style. I want the program to be able to send out data to one of my virtual synthesizers so I can hear the results of the composition.

I see some Midi implementations/libraries that are not for VB or are outdated (i.e., calling DirectSound and Directx7). I am not a good enough programmer to be able to make use of these.

Can anyone recommend a straight forward way for me to implement sending Midi out from a VB project? I need a bit of hand-holding here.

What I have tried:

I have not been able to find VB code that I can understand for this use.
Posted
Updated 5-Apr-20 7:11am

1 solution

 
Share this answer
 
Comments
Stewart Lindenberger 5-Apr-20 16:46pm    
I appreciate the fast and obviously applicable reply from Richard MacCutchan.
There is certainly a lot of relevant information in the link he provided.
But, as I addressed in my question, unfortunately, this material also seems to be outdated. It applies to a much older version of the programming platform. I tried to follow the steps in the section: First Step: Setting up the Development Environment, but they do not correspond to the options I have in VS2019, and I can't figure out how to proceed.
As I said, I need a bit of hand-holding here.
The sample executable demo found in the link he sent does run on my system and does have most of the functionality I need (and more). I do not see a way to load the project that made that executable into my current VS. That would be a start. I might be able to modify that code to meet my needs. Can anyone help with this, or suggest an alternative approach?
Richard MacCutchan 6-Apr-20 3:27am    
Start by creating a new project in VS 2019. You can then add the relevant source code files manually if necessary. Since this is the Quick Answers forum there is not the space (or time) to teach you the specifics of Visual Studio. For that you need to go to the visual Studio web pages at Microsoft.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900