User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - reading data midi vbscript »
Welcome, Guest. Please Login or Register.
May 9th, 2025, 8:42am


Home Home Help Help Search Search Members Members Login Login Register Register


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   reading data midi vbscript
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: reading data midi vbscript  (Read 2684 times)
gokuss4
New Member
*



MIDI-OX Rules!

   


Posts: 2
reading data midi vbscript
« on: Feb 6th, 2013, 8:24am »
Quote Quote Modify Modify

hello
I'm writing a script. vbs to interface with midiox and retrieve input data from a midi file.
Get the following results
 
example:
 
429,0,136,61,0
429,0,135,64,0
429,0,135,57,0
434,0,151,57,90
434,0,151,64,90
434,0,152,61,90
616,0,136,61,0
616,0,135,57,0
616,0,136,52,0
616,0,135,45,0
616,0,133,57,0
 
the function that is used to retrieve data msgid = mox.GetMidiInput ()
 
sample code from documentation midiox
Example:
 
mox.GetMidiInput msgid = ()
If msgid <> "" Then
A = Split (msgid, ",", -1, vbTextCompare)
Tstamp = Int (A (0))
port = Int (A (1))
stat = Int (A (2))
data1 = Int (A (3))
date2 = Int (A (4))
If stat = & HF0 Then
strSysEx = mox.GetSysExInput ()
mox.SendSysExString strSysEx
end If
end If
 
I do not separate myself. But I want to understand what messages relate these numbers. (I'm mainly interested in understanding if they control change or program change, but if possible also distinguish all other events note off pich bend etc.)
Thank you!
 
PS. I only execute
mox.GetMidiInput msgid = ()
not all of the extruder then written below in the example
then do not do conversions. I posted the original message example to understand ouput only for that function. thanks
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »


MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.