Author |
Topic: Note length methods (Read 1692 times) |
|
charlesrthompson
New Member

 MIDI-OX Rules!
Posts: 1
|
 |
Note length methods
« on: Mar 7th, 2009, 10:23pm » |
Quote Modify
|
I may very well have overlooked this in the forums... if so I apologize in advance. I'm trying to determine a best method for using OutputMidiMsg to trigger a note for a certain duration (for argument sake let's say 1 second instead of getting into bpm and note lengths) then generate a next note for 1 sec, etc. So the smaller question is: How can I do something like this: CFGA with each note being 1 second And the larger question is: Is it possible to do this as a duo? C D C A G A C A Each note is 1 second C - F - G - A - each note is 2 seconds In some languages I might do this through a function call with some type of timing loop but not sure if there are better ways in WScript.
|
|
IP Logged |
|
|
|
msalmon
New Member

 MIDI-OX Rules!
Posts: 10
|
 |
Re: Note length methods
« Reply #1 on: Nov 23rd, 2009, 10:44am » |
Quote Modify
|
I would try the following <loop or sink function> OutputMidiMsg (note on..) WSH.Shell(1000) OutputMidiMsg (note off..) </loop> I read somewhere that sysex uses buffers, but I don't think the other midi data is buffered so i think the above should work
|
|
IP Logged |
|
|
|
|