USB and MIDI
USB and MIDI
USB and MIDI
USB and MIDI
USB and MIDI
USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI
USB and MIDI USB and MIDI
USB and MIDI
Go Back  Xtreme Visual Basic Talk > > > USB and MIDI


Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2006, 04:02 PM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default USB and MIDI


Hi,

I'm new here and just looking into the use of VB 2005. I have been programming in Basic to program PIC chips (PicBasic Pro from melabs.com), basically for making midi controllers. This is my only programming experience so far.

What I'm wondering is, should I begin to learn VB.Net or VB 2005? I read that Microsoft is ending it's support for VB soon?

Anyway, the reason I am posting here is to find out if it would be possible to receive midi data via USB, using VB. I would like to create a windows application that will receive midi from an external midi device and either produce audio or video as a result.

Could you also produce midi messages using VB and send those messages out via USB?

Thanks for any advice, I appreciate it.

Tony
Reply With Quote
  #2  
Old 04-29-2006, 05:28 PM
reboot's Avatar
rebootUSB and MIDI reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

VB 2005 *is* VB.Net. Microsoft will be ending support for VB6, not VB.
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #3  
Old 04-29-2006, 05:40 PM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

Quote:
Originally Posted by reboot
VB 2005 *is* VB.Net. Microsoft will be ending support for VB6, not VB.

Hi, Thank you for the info, I appreciate it. (Sorry for posting in the wrong spot).

Tony
Reply With Quote
  #4  
Old 04-30-2006, 04:07 AM
warrengoff warrengoff is offline
Freshman
 
Join Date: Sep 2003
Posts: 31
Default Midi

You might find the Mabry MIDI controls helpful as they are now public domain. You can find them here: http://www.moosenose.com/MABRYMIDICONTROLS.EXE

You might look at my program to see how I used them: http://www.planet-source-code.com/vb...61625&lngWId=1

As far as using USB for MIDI, There are many cheap USB adapters for MIDI input. Roland and Yamaha come to mind but Google it or check Zzsound or Music123.

Good luck

Last edited by warrengoff; 04-30-2006 at 07:50 AM.
Reply With Quote
  #5  
Old 04-30-2006, 06:19 AM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

Hi,

Thanks very much for the info. The links don't seem to work, but I'll find the stuff (hopefully). Thanks again, I appreciate it.

Tony
Reply With Quote
  #6  
Old 04-30-2006, 07:52 AM
warrengoff warrengoff is offline
Freshman
 
Join Date: Sep 2003
Posts: 31
Default

Sorry, the links now work. I had placed brackets around them and this screwed it up.
Reply With Quote
  #7  
Old 05-01-2006, 07:59 AM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

Thanks again. A very interesting program. (I have to read more about it to understand fully). Thanks again, I apprecite it.
Reply With Quote
  #8  
Old 05-01-2006, 04:14 PM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

I was wondering if your midi program receives incoming midi messages, like midi input --> to PC. Or does the PC accept sensor info and then plays midi notes from the PC sound card?

(Sorry if I have this all wrong).

Tony
Reply With Quote
  #9  
Old 05-01-2006, 04:24 PM
warrengoff warrengoff is offline
Freshman
 
Join Date: Sep 2003
Posts: 31
Default

Hi Tony...

Yes, the program accepts MIDI In, it supports MIDI Thru and MIDI Out. If you haven't installed Visual Basic 6.0 yet, you can play with the compiled version and read about it, here: http://www.moosenose.com/TUNING.HTM

You will also note that after installing the Mabry MIDI controls that they provide a bunch of VB examples which demonstrate most of the functionality.

Regards...

...Warren
Reply With Quote
  #10  
Old 05-01-2006, 04:55 PM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

Hi Warren,

That is very cool... I just ordered a book called "Microsoft Visual Basic 2005", from what I understand this is the same as VB.Net?

I've been making midi controllers, but haven't used VB yet. I was looking for a way to interface my controllers with windows. I just realized that I could probably also use serial communication (RS232, etc.) or USB instead of midi. I'm using PIC's so it would be easy for me to change midi out from the PIC to RS232, or just a USB interface.

I'm still a little confused, but it will sink in. Thanks again for that great info, I'll be studying it.

Tony
Reply With Quote
  #11  
Old 05-01-2006, 04:57 PM
reboot's Avatar
rebootUSB and MIDI reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

Not the same as, it is .Net

Microsoft Visual Basic.Net 2002
Microsoft Visual Basic.Net 2003
Microsoft Visual Basic.Net 2005

There's a progression there....
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #12  
Old 05-01-2006, 05:03 PM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

I see. So is VB 2005 different from VB 6.0 ? Which would you recommed for someone who's a complete beginner?
Reply With Quote
  #13  
Old 05-05-2006, 10:37 AM
Kayvlim's Avatar
Kayvlim Kayvlim is offline
Junior Contributor
 
Join Date: Sep 2005
Location: Lisbon, Portugal
Posts: 394
Default

Let's put the things this way: I consider VB6 quite easy, but I've never programmed in .NET yet.
VB6 is still used today, but Microsoft has already discontinued it.

VB 2005 (which language, by the way, isn't legacy VB, but VB.NET) is, basically, the future of programming!

If you want to make a living by programming, then you should begin to learn .NET

Just my 2 cents

Regards
angelofwisdom
__________________
I hear, I forget. I see, I remember. I do, I understand.
Reply With Quote
  #14  
Old 05-05-2006, 11:02 AM
warrengoff warrengoff is offline
Freshman
 
Join Date: Sep 2003
Posts: 31
Default

I agree with you about VB.Net over VB6. The only thing that has held me back from using it is that .Net framework is not included in XP (as far as I know) and in order to use a VB.Net program, users need to download a fairly large "runtime", I think about 20MB. I think after Vista becomes established, VB.Net will supplant VB6, at least it will for me. So that's my 2 cents. [Why is it that it's a penny for your thought but you have to put your 2 cents in? Someone's making a penny. ]

...Warren
Reply With Quote
  #15  
Old 05-05-2006, 11:18 AM
Kayvlim's Avatar
Kayvlim Kayvlim is offline
Junior Contributor
 
Join Date: Sep 2005
Location: Lisbon, Portugal
Posts: 394
Default

I think that WinXP already brings the .NET Framework 1.1, so you can program in .NET and execute in WinXP. Just make sure that you don't need a higher framework
Vista also brings a Framework; probably 2.0.

And, if you plan to share the framework, point it to the Microsoft site

Just my 10 euros

Regards
angelofwisdom
__________________
I hear, I forget. I see, I remember. I do, I understand.
Reply With Quote
  #16  
Old 05-05-2006, 02:10 PM
TonyA TonyA is offline
Newcomer
 
Join Date: Apr 2006
Posts: 8
Default

Hi,

I appreciate the input. I've just started to learn Visual Basic 2005. I am using windows XP with the 2.0 framework and the Visual Studio Express (for now).

You old timers should let go of the past... (Joking...!)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
USB and MIDI
USB and MIDI
USB and MIDI USB and MIDI
USB and MIDI
USB and MIDI
USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI USB and MIDI
USB and MIDI
USB and MIDI
 
USB and MIDI
USB and MIDI
 
-->