home *** CD-ROM | disk | FTP | other *** search
- #
- #
- #This mpl has been created from a XPL file
- #
- # The XPL source file is : SWITCH.xpl
- #
- #
-
- # 6 INIT ( ) {
- LABEL INIT
-
- # 7 VAR CHAN1 , CHAN2 ;
- # CHAN1 -> V[100]
- # CHAN2 -> V[101]
-
- # 10 CHAN1 = 2 ;
- V= 100 2.000000
-
- # 11 CHAN2 = 4 ;
- V= 101 4.000000
-
- # 13 SAVEIN ( 0 ) ;
- UNSAVEIN
-
- # 15 }
- END
-
- # 20 MAIN ( ) {
- LABEL MAIN
-
- # 21 IF ( CHAN == CHAN1 ) CHAN = CHAN2 ;
- V=CHAN 2
- V= 3 0
- V==V 2 100
- V= 3 1
- V== 3 0
- GOTO LAB2
- CHAN=V 101
-
- # 23 ELSE IF ( CHAN == CHAN2 ) CHAN = CHAN1 ;
- GOTO LAB3
- LABEL LAB2
- V=CHAN 2
- V= 3 0
- V==V 2 101
- V= 3 1
- V== 3 0
- GOTO LAB4
- CHAN=V 100
-
- # 25 OUTMIDI ( ) ;
- LABEL LAB4
- LABEL LAB3
-
- # 25 OUTMIDI ( ) ;
- OUTMIDI
-
- # 27 DESCRIPT ( " SWITCH TWO MIDI CHANNELS " ) ;
- DESCRIPT SWITCH TWO MIDI CHANNELS
-
- # 28 DESCRIPT ( " TO BE USED LIVE OR AS A POST-PROCESSOR " ) ;
- DESCRIPT TO BE USED LIVE OR AS A POST-PROCESSOR
-
- # 30 }
- END
-