User Forum    :: Powered by YaBB
  « MIDI-OX User Forum - Scripting using Perl »
Welcome, Guest. Please Login or Register.
May 9th, 2025, 8:37am


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


   MIDI-OX User Forum
   MIDI-OX
   Scripting Questions
(Moderator: Jamie OConnell)
   Scripting using Perl
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Scripting using Perl  (Read 1852 times)
Lynn
Member
**





   
Email

Gender: male
Posts: 16
Scripting using Perl
« on: Mar 27th, 2002, 10:36pm »
Quote Quote Modify Modify

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.
« Last Edit: Mar 27th, 2002, 10:37pm by Lynn » IP Logged
try_boss
New Member
*



MIDI-OX Rules!

   


Posts: 3
Re: Scripting using Perl
« Reply #1 on: Mar 22nd, 2003, 7:21am »
Quote Quote Modify Modify

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
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.