473,503 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

anyone used vb/midi/midiox?

I need to do some simple midi code conversion but know zero or rather less
about vb. If anyone has done something similar or has a structure which I
could follow I'd be very grateful. TIA
Den

I need to do something like -

10 X=0:Y=0:Z=0:output midi C0 00
20 Wait here for midi control change (C0) between 00 and 0F
30 IF control change is between 0 & 7 then X=0 to 7
40 IF control change is between 8 & 0F then Y=0 to 7
50 Z=(Y*8) + X
60 rem get HEX from table
70 restore:for i = 1 to z:read HEX:next i
80 output C0 HEX:goto 20

90 0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f
100 10,11,12,13,14,15,16,17,18,19,1a,1b,1c,1d,1e,1f
110 20,21,22,23,24,25,26,27,28,29,2a,2b,2c,2d,2e,2f
120 30,31,32,33,34,35,36,37,38,39,3a,3b,3c,3d,3e,3f

Jul 17 '05 #1
0 2519

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2096
by: Max M | last post by:
If anybody is interrested in Midi, but are not on the Python Midi list, I will just notify that I have released the first version of a high level midi package for Python. It is fully functional....
2
427
by: Mad Scientist Jr | last post by:
any sample code or information would be most appreciated i have been wanting to learn MIDI programming but would rather learn it in my current language (either vb.net or c#)
11
2722
by: Kuba Araszkiewicz | last post by:
Hello! I have to write a program, which would convert midi files to notes, notes to midi files and which would make one MIDI file from two different. I'm totally lame in C (and any other...
1
2091
by: tim | last post by:
Someone using Python Midi Package from http://www.mxm.dk/products/public/ lately? I want to do the following : write some note events in a midi file then after doing that, put some controllers...
4
2679
by: sreekant | last post by:
Hi folks I hope someone here might be able to help. I scavenged some info and even code from the net and am trying to write a module that reads a text file and spits out a midi file. So far I...
9
3479
by: outstretchedarm | last post by:
How exactly does HTML/Javascript handle playing midi files? Does it have a player imbedded in it? Or does it borrow from the computer's midi player? How could you make a webpage play certain...
4
2402
by: dbojan | last post by:
The rhythm giving midi file will be one track.Like midi drummer.And on the other midi file -the rhythm taker -we will place our notes regardless of their length (if they are chords no problem) and...
0
1283
by: dbojan | last post by:
The rhythm giving midi file will be one track.And on the other midi file -the rhythm taker -we will place our notes regardless of their length (if they are chords no problem) and they will have the...
4
1942
by: Jim Rutledge | last post by:
ok ok , anyone know anything on this tough question? How do you determine the length in seconds that a midi file is , or any audio file for that matter ?
0
7199
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7322
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6982
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4667
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3161
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.