The DijonStock Digital Home Recording Support Forum

*** USER REGISTRATION DISABLED! FOR ACCESS TO THE BOARD, MAIL TO registration AT dijonstock DOT com. THANK YOU ***
It is currently Tue Sep 26, 2017 11:49 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Tue Jun 19, 2007 4:06 pm 
Offline
Harry the Spaceman
User avatar

Joined: Fri Dec 30, 2005 8:22 am
Posts: 1344
Location: South Africa
Favourite food: small children
Machine type: AW16G
Hi all.

Lets get this ball rolling then. I have written a simple Visual Basic program that outlines the very basics of using the MIDI-Ox Library to send messages from Windows to your MIDI devices.

I chose Visual Basic because the editor is free and the language is user friendly. I can also build a C# version for those who want it.

Step 1. Download and install MIDI-Ox from http://www.midiox.com
Step 2. Download Visual Basic Express Edition from Microsoft at http://msdn.microsoft.com/vstudio/express/downloads/default.aspx, install this too.
Step 3. Download the sample project from http://www.purpleroot.co.za/dsht.zip, Unzip the project and open the folder, open the sub folder called DijonStock HowTo, double click on the Project File.

At this point, Visual Basic will open. You may need to feel your way around the interface, but you want to open the form [top right] that is called MainForm. This form has one button on it already built for you. double click the button and you will be taken to the source code that make the program work.

Read through the comments [green text] that I have put in there for you, change the Status and Data bytes and run the program [Play Button on the Tool Bar]

If you have got all this right so far, the demo program as well as MIDI Ox should open up and when you click on the button, your MIDI device should make you a cup of tea... or fetch you a beer, or whatever.

If this does not work. Come back to this thread and we'll walk through it.

When you are feeling brave, you can add your own buttons to the MainForm, simply double-click them and copy and paste the code to create new MIDI messages to be sent.

HAVE FUN! 8)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 19, 2007 5:06 pm 
Offline
Forum Poet
User avatar

Joined: Thu Jan 20, 2005 12:38 am
Posts: 4024
Location: atl ga
Favourite food: fresh
Machine type: AW16G
very cool of you!

i will give it a go some time this week and i home i do not make you regret

Quote:
Come back to this thread and we'll walk through it.

_________________
"Let there be bass." - Leo Fender


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 19, 2007 6:55 pm 
Offline
Mr. Electonica Dude
User avatar

Joined: Wed Jul 14, 2004 1:48 am
Posts: 11452
Location: Godly Taxas
Favourite food: Frog Legs
Machine type: AW4416
Suuuuuuuuuweeeeeet ! I can't wait to get home and play in this little playground. Thanks Art ! well done.


msg

_________________
THE MUSIC IS DOWN IN HERE
____________________________________________________

Good judgment comes from experience, and a lot of that comes from bad judgment.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 20, 2007 3:39 am 
Offline
Professor Emeritus of BovineCompostology
User avatar

Joined: Mon Aug 23, 2004 9:46 pm
Posts: 418
Location: Great Falls, MI
Machine type: AW16G
I'm scared


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 22, 2007 9:20 pm 
Offline
Forum Poet
User avatar

Joined: Thu Jan 20, 2005 12:38 am
Posts: 4024
Location: atl ga
Favourite food: fresh
Machine type: AW16G
is that vb.net?
2005?

_________________
"Let there be bass." - Leo Fender


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 8:54 am 
Offline
Harry the Spaceman
User avatar

Joined: Fri Dec 30, 2005 8:22 am
Posts: 1344
Location: South Africa
Favourite food: small children
Machine type: AW16G
Yeah, VB2k5 (.net 2.0).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 3:12 pm 
Offline
Forum Poet
User avatar

Joined: Thu Jan 20, 2005 12:38 am
Posts: 4024
Location: atl ga
Favourite food: fresh
Machine type: AW16G
thought so.
i'll have to install that ay home this week.

_________________
"Let there be bass." - Leo Fender


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 25, 2007 3:15 pm 
Offline
Harry the Spaceman
User avatar

Joined: Fri Dec 30, 2005 8:22 am
Posts: 1344
Location: South Africa
Favourite food: small children
Machine type: AW16G
Kewl beans. anyone else tried it yet? I'd love to hear what tools we are building?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group