MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Scripting Questions >> Scripting using Perl
(Message started by: Lynn on Mar 27th, 2002, 10:36pm)

Title: Scripting using Perl
Post by Lynn on Mar 27th, 2002, 10:36pm
Jamie...thought you might be interested in knowing that I use scripting extensively now.  And I use PerlScript -- not VBScript.
I like the Perl language much better, and have no problems whatsoever with the Midi-Ox interface.

I use the scripts to map three input controllers (2 keyboards and one pedal board) into the 32 channels of the SBLive card.  To visualize this, think of an organ with 2 keyboards and a pedal board and a bunch of stop buttons.  The "stop buttons" on my computer setup is a large window on my computer screen with a bunch of mouse clickable buttons.  When a button is clicked on or off that is like toggling an organ stop on or off.  When a stop is toggled on, the script finds an unused midi channel out of the pool of 32 SBLive midi channels and allocates (maps) it to one of the keyboard input channels.  Then it sends the appropriate program change sequence to that channel depending on which stop button was clicked.  When the "stop" is clicked off, the associated midi out channel is returned to the available pool.  With this Midi-Ox scripting tool I can drive up to 32 midi channels, each programmed with a different sound from any one or all of the three keyboards on each of three input channels.  Works just like an organ.

Title: Re: Scripting using Perl
Post by try_boss on Mar 22nd, 2003, 7:21am
hello lynn,

i have some need of scripting, i whant to transfome some switch boutton of my midi contoler to incremental boutton.

I use perl too. But never whith windows com.

can you give me an exemple to use com in perl ?

thanks

sorry for my poor english i am french



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