-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
How to use DryWetMidi in Visual Basic (VS 2022) ? #295
Comments
Hi Gitanova, click on my icon. Write me ir you like. |
Thank you very much indeed! This is a great help for me! |
DRYWETMIDI its simple the Best ! |
Sorry, your mailadress seems to have some problems ... So please answer her in Github! Thank you! |
In any case, I would really appreciate your help. It would be best if you could help me with a few lines of code to realize my project! |
Hi @gitanova, I'm the author of the library. But my main programming language is C#. @CIRCE-EYES has a lot of experience with DryWetMIDI in VB.NET. @CIRCE-EYES I really appreciate your assistance since I have no coding at VB.NET at all :-) If you need my help, please ask your questions. |
@melanchall
I would be extremely grateful if you could send me a few lines of code for the 4 tasks mentioned above. With the very best regards Michael |
In fact your questions are too common. Be more specific please. I recommend you to start writing your code and I'll try to help with problem places. |
Hello Michael, first of all I would like to know what your knowledge is about graphics in the VB environment. Net, have you made programs with graphical functions? In my examples you will see a very simple syntax to be able to do everything you want, except the list of events in a Midi file, but don't worry, I have two solutions for you. These three programs list the Midi events. And the best thing is that two of them are made in VB. Net!!! I hope they are useful for you. VB. Net https://github.com/operatortwo/Mmultitool C# https://github.com/jeffbourdier/MIDIopsy.git Greetings and I wait news about the first question I asked you about graphics. Greetings |
I forgot to say that my e-mail runs well. |
@melanchall: Thanks again! Of course, if I'm "successful", I will also publish my source code here and perhaps help others benefit from it too! |
@CIRCE-EYES: Thank you anyway! Unfortunately, my graphics experience in VB.net is not particularly good - you would have to be a game programmer to have such expertise - unfortunately! Nevertheless many thanks! Michael |
This is a good approach! Because we will be able to see real problems and solve them quickly. |
Thanks to your very good documentation, I was able to get a large part of my project running! But where I'm stuck is the following: I would like to change the tempo while playing back a midi file. This also works quite well with: _playback.Speed = _playback.Speed * 1.02 But this also shifts the current position and if I increase the speed, some midi events are "skipped". It shouldn't be like that... Is there a solution where the playback position remains the same and only the other events are played back at a faster or slower tempo? Where can I download the latest drywetmidi.dll? Many thanks! |
The proper way is to install the library via NuGet. Just please search on the Web how to install NuGet packages from Visual Studio (or other IDE if you use them). Latest version of the library is 7.0.2 and available via NuGet: https://www.nuget.org/packages/Melanchall.DryWetMidi |
I am using the drywetmidi.dll vom CIRCE's-VB.NET project. It is version 5.1.3. |
When I use NuGet (version 7.02) I'm getting a lot of error while compiling in VB.NET... :-( |
I've found the reason why I was getting errors! The line: Imports Melanchall.DryWetMidi.Devices result: No errors while compiling! |
Tempo changes work like a charm now too! |
Yes, that has been fixed in the 7.0.1 release. @gitanova Thank you for using the library! I don't know how old are you, but honestly you solve programming problems better than some young programmers. I believe the skill of researching is much more important than a programming language knowledge. You can learn a language pretty quickly, but how to search for information, how to investigate problems, how to use docs and so on - the thing that is much harder. And you're successful with that :-) |
DryWetMidi is definitely the best thing I have found on my long journey so far. Unfortunately, I have little experience with C# and so I have to switch to VB.NET (2022). It would be a huge help if someone had already made finished examples using drywetmidi under VB.NET and could share them.
It would be a big help for me if someone could give me a working VB example for creating a list with all the events of a midi file. Despite my old age, I am actually still capable of learning - and have created many projects in VB - but unfortunately I can no longer manage the switch to C.
I was VERY THANKFUL for some DryWetMidi examples in VB!
Special greetings from Austria!
Michael
The text was updated successfully, but these errors were encountered: