home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / tool / sound / midiww / form3.frm < prev    next >
Text File  |  1995-02-27  |  38KB  |  1,361 lines

  1. VERSION 2.00
  2. Begin Form Form3 
  3.    BackColor       =   &H00C0C0C0&
  4.    Caption         =   "Instrument"
  5.    ClientHeight    =   4140
  6.    ClientLeft      =   1080
  7.    ClientTop       =   1485
  8.    ClientWidth     =   8010
  9.    Height          =   4665
  10.    Left            =   1020
  11.    LinkTopic       =   "Form3"
  12.    MDIChild        =   -1  'True
  13.    ScaleHeight     =   4140
  14.    ScaleWidth      =   8010
  15.    Top             =   1020
  16.    Width           =   8130
  17.    Begin Timer Timer1 
  18.       Interval        =   500
  19.       Left            =   4440
  20.       Top             =   960
  21.    End
  22.    Begin MidiWW MidiWW1 
  23.       Left            =   3720
  24.       Top             =   960
  25.    End
  26.    Begin CheckBox Check1 
  27.       BackColor       =   &H00C0C0C0&
  28.       Caption         =   "Echo"
  29.       Height          =   255
  30.       Left            =   3600
  31.       TabIndex        =   8
  32.       Top             =   1560
  33.       Width           =   855
  34.    End
  35.    Begin CommandButton Command3 
  36.       Caption         =   "Bye!"
  37.       Height          =   495
  38.       Left            =   3600
  39.       TabIndex        =   6
  40.       Top             =   360
  41.       Width           =   855
  42.    End
  43.    Begin ListBox List2 
  44.       Height          =   615
  45.       Left            =   5040
  46.       TabIndex        =   0
  47.       Top             =   360
  48.       Width           =   2655
  49.    End
  50.    Begin ListBox List1 
  51.       Height          =   615
  52.       Left            =   360
  53.       TabIndex        =   3
  54.       Top             =   360
  55.       Width           =   2655
  56.    End
  57.    Begin CommandButton Command2 
  58.       Caption         =   "Stop"
  59.       Height          =   495
  60.       Left            =   5040
  61.       TabIndex        =   2
  62.       Top             =   1320
  63.       Width           =   2655
  64.    End
  65.    Begin CommandButton Command1 
  66.       Caption         =   "Start"
  67.       Height          =   495
  68.       Left            =   360
  69.       TabIndex        =   1
  70.       Top             =   1320
  71.       Width           =   2655
  72.    End
  73.    Begin Label Label3 
  74.       BackColor       =   &H00C0C0C0&
  75.       Caption         =   "Click on the keyboard below to play notes.  Echo repeats notes received from the Input Device to the Output Device."
  76.       Height          =   495
  77.       Left            =   360
  78.       TabIndex        =   9
  79.       Top             =   2040
  80.       Width           =   7335
  81.    End
  82.    Begin Label Label5 
  83.       BackColor       =   &H00C0C0C0&
  84.       Caption         =   "Copyright (c) 1994 W. Washington"
  85.       Height          =   255
  86.       Left            =   240
  87.       TabIndex        =   7
  88.       Top             =   3840
  89.       Width           =   3855
  90.    End
  91.    Begin Label Label2 
  92.       BackColor       =   &H00C0C0C0&
  93.       Caption         =   "Output Devices:"
  94.       Height          =   255
  95.       Left            =   5040
  96.       TabIndex        =   5
  97.       Top             =   120
  98.       Width           =   2055
  99.    End
  100.    Begin Label Label1 
  101.       BackColor       =   &H00C0C0C0&
  102.       Caption         =   "Input Devices:"
  103.       Height          =   255
  104.       Left            =   360
  105.       TabIndex        =   4
  106.       Top             =   120
  107.       Width           =   1935
  108.    End
  109.    Begin Image Image1 
  110.       Height          =   555
  111.       Index           =   70
  112.       Left            =   7560
  113.       Top             =   2760
  114.       Width           =   135
  115.    End
  116.    Begin Image Image1 
  117.       Height          =   555
  118.       Index           =   68
  119.       Left            =   7380
  120.       Top             =   2760
  121.       Width           =   135
  122.    End
  123.    Begin Image Image1 
  124.       Height          =   555
  125.       Index           =   66
  126.       Left            =   7200
  127.       Top             =   2760
  128.       Width           =   135
  129.    End
  130.    Begin Image Image1 
  131.       Height          =   555
  132.       Index           =   63
  133.       Left            =   6840
  134.       Top             =   2760
  135.       Width           =   135
  136.    End
  137.    Begin Image Image1 
  138.       Height          =   555
  139.       Index           =   61
  140.       Left            =   6660
  141.       Top             =   2760
  142.       Width           =   135
  143.    End
  144.    Begin Image Image1 
  145.       Height          =   555
  146.       Index           =   58
  147.       Left            =   6300
  148.       Top             =   2760
  149.       Width           =   135
  150.    End
  151.    Begin Image Image1 
  152.       Height          =   555
  153.       Index           =   56
  154.       Left            =   6120
  155.       Top             =   2760
  156.       Width           =   135
  157.    End
  158.    Begin Image Image1 
  159.       Height          =   555
  160.       Index           =   54
  161.       Left            =   5940
  162.       Top             =   2760
  163.       Width           =   135
  164.    End
  165.    Begin Image Image1 
  166.       Height          =   555
  167.       Index           =   51
  168.       Left            =   5580
  169.       Top             =   2760
  170.       Width           =   135
  171.    End
  172.    Begin Image Image1 
  173.       Height          =   555
  174.       Index           =   49
  175.       Left            =   5400
  176.       Top             =   2760
  177.       Width           =   135
  178.    End
  179.    Begin Image Image1 
  180.       Height          =   555
  181.       Index           =   46
  182.       Left            =   5040
  183.       Top             =   2760
  184.       Width           =   135
  185.    End
  186.    Begin Image Image1 
  187.       Height          =   555
  188.       Index           =   44
  189.       Left            =   4860
  190.       Top             =   2760
  191.       Width           =   135
  192.    End
  193.    Begin Image Image1 
  194.       Height          =   555
  195.       Index           =   42
  196.       Left            =   4680
  197.       Top             =   2760
  198.       Width           =   135
  199.    End
  200.    Begin Image Image1 
  201.       Height          =   555
  202.       Index           =   39
  203.       Left            =   4320
  204.       Top             =   2760
  205.       Width           =   135
  206.    End
  207.    Begin Image Image1 
  208.       Height          =   555
  209.       Index           =   37
  210.       Left            =   4140
  211.       Top             =   2760
  212.       Width           =   135
  213.    End
  214.    Begin Image Image1 
  215.       Height          =   855
  216.       Index           =   71
  217.       Left            =   7620
  218.       Top             =   2760
  219.       Width           =   195
  220.    End
  221.    Begin Image Image1 
  222.       Height          =   855
  223.       Index           =   69
  224.       Left            =   7440
  225.       Top             =   2760
  226.       Width           =   195
  227.    End
  228.    Begin Image Image1 
  229.       Height          =   855
  230.       Index           =   67
  231.       Left            =   7260
  232.       Top             =   2760
  233.       Width           =   195
  234.    End
  235.    Begin Image Image1 
  236.       Height          =   855
  237.       Index           =   65
  238.       Left            =   7080
  239.       Top             =   2760
  240.       Width           =   195
  241.    End
  242.    Begin Image Image1 
  243.       Height          =   855
  244.       Index           =   64
  245.       Left            =   6900
  246.       Top             =   2760
  247.       Width           =   195
  248.    End
  249.    Begin Image Image1 
  250.       Height          =   855
  251.       Index           =   62
  252.       Left            =   6720
  253.       Top             =   2760
  254.       Width           =   195
  255.    End
  256.    Begin Image Image1 
  257.       Height          =   855
  258.       Index           =   60
  259.       Left            =   6540
  260.       Top             =   2760
  261.       Width           =   195
  262.    End
  263.    Begin Image Image1 
  264.       Height          =   855
  265.       Index           =   59
  266.       Left            =   6360
  267.       Top             =   2760
  268.       Width           =   195
  269.    End
  270.    Begin Image Image1 
  271.       Height          =   855
  272.       Index           =   57
  273.       Left            =   6180
  274.       Top             =   2760
  275.       Width           =   195
  276.    End
  277.    Begin Image Image1 
  278.       Height          =   855
  279.       Index           =   55
  280.       Left            =   6000
  281.       Top             =   2760
  282.       Width           =   195
  283.    End
  284.    Begin Image Image1 
  285.       Height          =   855
  286.       Index           =   53
  287.       Left            =   5820
  288.       Top             =   2760
  289.       Width           =   195
  290.    End
  291.    Begin Image Image1 
  292.       Height          =   855
  293.       Index           =   52
  294.       Left            =   5640
  295.       Top             =   2760
  296.       Width           =   195
  297.    End
  298.    Begin Image Image1 
  299.       Height          =   855
  300.       Index           =   50
  301.       Left            =   5460
  302.       Top             =   2760
  303.       Width           =   195
  304.    End
  305.    Begin Image Image1 
  306.       Height          =   855
  307.       Index           =   48
  308.       Left            =   5280
  309.       Top             =   2760
  310.       Width           =   195
  311.    End
  312.    Begin Image Image1 
  313.       Height          =   855
  314.       Index           =   47
  315.       Left            =   5100
  316.       Top             =   2760
  317.       Width           =   195
  318.    End
  319.    Begin Image Image1 
  320.       Height          =   855
  321.       Index           =   45
  322.       Left            =   4920
  323.       Top             =   2760
  324.       Width           =   195
  325.    End
  326.    Begin Image Image1 
  327.       Height          =   855
  328.       Index           =   43
  329.       Left            =   4740
  330.       Top             =   2760
  331.       Width           =   195
  332.    End
  333.    Begin Image Image1 
  334.       Height          =   855
  335.       Index           =   41
  336.       Left            =   4560
  337.       Top             =   2760
  338.       Width           =   195
  339.    End
  340.    Begin Image Image1 
  341.       Height          =   855
  342.       Index           =   40
  343.       Left            =   4380
  344.       Top             =   2760
  345.       Width           =   195
  346.    End
  347.    Begin Image Image1 
  348.       Height          =   855
  349.       Index           =   38
  350.       Left            =   4200
  351.       Top             =   2760
  352.       Width           =   195
  353.    End
  354.    Begin Image Image1 
  355.       Height          =   855
  356.       Index           =   36
  357.       Left            =   4020
  358.       Top             =   2760
  359.       Width           =   195
  360.    End
  361.    Begin Image Image1 
  362.       Height          =   555
  363.       Index           =   34
  364.       Left            =   3780
  365.       Top             =   2760
  366.       Width           =   135
  367.    End
  368.    Begin Image Image1 
  369.       Height          =   555
  370.       Index           =   32
  371.       Left            =   3600
  372.       Top             =   2760
  373.       Width           =   135
  374.    End
  375.    Begin Image Image1 
  376.       Height          =   555
  377.       Index           =   30
  378.       Left            =   3420
  379.       Top             =   2760
  380.       Width           =   135
  381.    End
  382.    Begin Image Image1 
  383.       Height          =   555
  384.       Index           =   27
  385.       Left            =   3060
  386.       Top             =   2760
  387.       Width           =   135
  388.    End
  389.    Begin Image Image1 
  390.       Height          =   555
  391.       Index           =   25
  392.       Left            =   2880
  393.       Top             =   2760
  394.       Width           =   135
  395.    End
  396.    Begin Image Image1 
  397.       Height          =   555
  398.       Index           =   22
  399.       Left            =   2520
  400.       Top             =   2760
  401.       Width           =   135
  402.    End
  403.    Begin Image Image1 
  404.       Height          =   555
  405.       Index           =   20
  406.       Left            =   2340
  407.       Top             =   2760
  408.       Width           =   135
  409.    End
  410.    Begin Image Image1 
  411.       Height          =   555
  412.       Index           =   18
  413.       Left            =   2160
  414.       Top             =   2760
  415.       Width           =   135
  416.    End
  417.    Begin Image Image1 
  418.       Height          =   555
  419.       Index           =   15
  420.       Left            =   1800
  421.       Top             =   2760
  422.       Width           =   135
  423.    End
  424.    Begin Image Image1 
  425.       Height          =   555
  426.       Index           =   13
  427.       Left            =   1620
  428.       Top             =   2760
  429.       Width           =   135
  430.    End
  431.    Begin Image Image1 
  432.       Height          =   855
  433.       Index           =   35
  434.       Left            =   3840
  435.       Top             =   2760
  436.       Width           =   195
  437.    End
  438.    Begin Image Image1 
  439.       Height          =   855
  440.       Index           =   33
  441.       Left            =   3660
  442.       Top             =   2760
  443.       Width           =   195
  444.    End
  445.    Begin Image Image1 
  446.       Height          =   855
  447.       Index           =   31
  448.       Left            =   3480
  449.       Top             =   2760
  450.       Width           =   195
  451.    End
  452.    Begin Image Image1 
  453.       Height          =   855
  454.       Index           =   29
  455.       Left            =   3300
  456.       Top             =   2760
  457.       Width           =   195
  458.    End
  459.    Begin Image Image1 
  460.       Height          =   855
  461.       Index           =   28
  462.       Left            =   3120
  463.       Top             =   2760
  464.       Width           =   195
  465.    End
  466.    Begin Image Image1 
  467.       Height          =   855
  468.       Index           =   26
  469.       Left            =   2940
  470.       Top             =   2760
  471.       Width           =   195
  472.    End
  473.    Begin Image Image1 
  474.       Height          =   855
  475.       Index           =   24
  476.       Left            =   2760
  477.       Top             =   2760
  478.       Width           =   195
  479.    End
  480.    Begin Image Image1 
  481.       Height          =   855
  482.       Index           =   23
  483.       Left            =   2580
  484.       Top             =   2760
  485.       Width           =   195
  486.    End
  487.    Begin Image Image1 
  488.       Height          =   855
  489.       Index           =   21
  490.       Left            =   2400
  491.       Top             =   2760
  492.       Width           =   195
  493.    End
  494.    Begin Image Image1 
  495.       Height          =   855
  496.       Index           =   19
  497.       Left            =   2220
  498.       Top             =   2760
  499.       Width           =   195
  500.    End
  501.    Begin Image Image1 
  502.       Height          =   855
  503.       Index           =   17
  504.       Left            =   2040
  505.       Top             =   2760
  506.       Width           =   195
  507.    End
  508.    Begin Image Image1 
  509.       Height          =   855
  510.       Index           =   16
  511.       Left            =   1860
  512.       Top             =   2760
  513.       Width           =   195
  514.    End
  515.    Begin Image Image1 
  516.       Height          =   855
  517.       Index           =   14
  518.       Left            =   1680
  519.       Top             =   2760
  520.       Width           =   195
  521.    End
  522.    Begin Image Image1 
  523.       Height          =   855
  524.       Index           =   12
  525.       Left            =   1500
  526.       Top             =   2760
  527.       Width           =   195
  528.    End
  529.    Begin Image Image1 
  530.       Height          =   555
  531.       Index           =   10
  532.       Left            =   1260
  533.       Top             =   2760
  534.       Width           =   135
  535.    End
  536.    Begin Image Image1 
  537.       Height          =   555
  538.       Index           =   8
  539.       Left            =   1080
  540.       Top             =   2760
  541.       Width           =   135
  542.    End
  543.    Begin Image Image1 
  544.       Height          =   555
  545.       Index           =   6
  546.       Left            =   900
  547.       Top             =   2760
  548.       Width           =   135
  549.    End
  550.    Begin Image Image1 
  551.       Height          =   855
  552.       Index           =   5
  553.       Left            =   780
  554.       Top             =   2760
  555.       Width           =   195
  556.    End
  557.    Begin Image Image1 
  558.       Height          =   555
  559.       Index           =   3
  560.       Left            =   540
  561.       Top             =   2760
  562.       Width           =   135
  563.    End
  564.    Begin Image Image1 
  565.       Height          =   555
  566.       Index           =   1
  567.       Left            =   360
  568.       Top             =   2760
  569.       Width           =   135
  570.    End
  571.    Begin Image Image1 
  572.       Height          =   855
  573.       Index           =   0
  574.       Left            =   240
  575.       Top             =   2760
  576.       Width           =   195
  577.    End
  578.    Begin Image Image1 
  579.       Height          =   855
  580.       Index           =   4
  581.       Left            =   600
  582.       Top             =   2760
  583.       Width           =   195
  584.    End
  585.    Begin Image Image1 
  586.       Height          =   855
  587.       Index           =   7
  588.       Left            =   960
  589.       Top             =   2760
  590.       Width           =   195
  591.    End
  592.    Begin Image Image1 
  593.       Height          =   855
  594.       Index           =   9
  595.       Left            =   1140
  596.       Top             =   2760
  597.       Width           =   195
  598.    End
  599.    Begin Image Image1 
  600.       Height          =   855
  601.       Index           =   11
  602.       Left            =   1320
  603.       Top             =   2760
  604.       Width           =   195
  605.    End
  606.    Begin Image Image1 
  607.       Height          =   855
  608.       Index           =   2
  609.       Left            =   420
  610.       Top             =   2760
  611.       Width           =   195
  612.    End
  613.    Begin Shape Shape1 
  614.       FillStyle       =   0  'Solid
  615.       Height          =   555
  616.       Index           =   70
  617.       Left            =   7560
  618.       Top             =   2760
  619.       Width           =   135
  620.    End
  621.    Begin Shape Shape1 
  622.       FillStyle       =   0  'Solid
  623.       Height          =   555
  624.       Index           =   68
  625.       Left            =   7380
  626.       Top             =   2760
  627.       Width           =   135
  628.    End
  629.    Begin Shape Shape1 
  630.       FillStyle       =   0  'Solid
  631.       Height          =   555
  632.       Index           =   66
  633.       Left            =   7200
  634.       Top             =   2760
  635.       Width           =   135
  636.    End
  637.    Begin Shape Shape1 
  638.       FillStyle       =   0  'Solid
  639.       Height          =   555
  640.       Index           =   63
  641.       Left            =   6840
  642.       Top             =   2760
  643.       Width           =   135
  644.    End
  645.    Begin Shape Shape1 
  646.       FillStyle       =   0  'Solid
  647.       Height          =   555
  648.       Index           =   61
  649.       Left            =   6660
  650.       Top             =   2760
  651.       Width           =   135
  652.    End
  653.    Begin Shape Shape1 
  654.       FillStyle       =   0  'Solid
  655.       Height          =   555
  656.       Index           =   58
  657.       Left            =   6300
  658.       Top             =   2760
  659.       Width           =   135
  660.    End
  661.    Begin Shape Shape1 
  662.       FillStyle       =   0  'Solid
  663.       Height          =   555
  664.       Index           =   56
  665.       Left            =   6120
  666.       Top             =   2760
  667.       Width           =   135
  668.    End
  669.    Begin Shape Shape1 
  670.       FillStyle       =   0  'Solid
  671.       Height          =   555
  672.       Index           =   54
  673.       Left            =   5940
  674.       Top             =   2760
  675.       Width           =   135
  676.    End
  677.    Begin Shape Shape1 
  678.       FillStyle       =   0  'Solid
  679.       Height          =   555
  680.       Index           =   51
  681.       Left            =   5580
  682.       Top             =   2760
  683.       Width           =   135
  684.    End
  685.    Begin Shape Shape1 
  686.       FillStyle       =   0  'Solid
  687.       Height          =   555
  688.       Index           =   49
  689.       Left            =   5400
  690.       Top             =   2760
  691.       Width           =   135
  692.    End
  693.    Begin Shape Shape1 
  694.       FillStyle       =   0  'Solid
  695.       Height          =   555
  696.       Index           =   46
  697.       Left            =   5040
  698.       Top             =   2760
  699.       Width           =   135
  700.    End
  701.    Begin Shape Shape1 
  702.       FillStyle       =   0  'Solid
  703.       Height          =   555
  704.       Index           =   44
  705.       Left            =   4860
  706.       Top             =   2760
  707.       Width           =   135
  708.    End
  709.    Begin Shape Shape1 
  710.       FillStyle       =   0  'Solid
  711.       Height          =   555
  712.       Index           =   42
  713.       Left            =   4680
  714.       Top             =   2760
  715.       Width           =   135
  716.    End
  717.    Begin Shape Shape1 
  718.       FillStyle       =   0  'Solid
  719.       Height          =   555
  720.       Index           =   39
  721.       Left            =   4320
  722.       Top             =   2760
  723.       Width           =   135
  724.    End
  725.    Begin Shape Shape1 
  726.       FillStyle       =   0  'Solid
  727.       Height          =   555
  728.       Index           =   37
  729.       Left            =   4140
  730.       Top             =   2760
  731.       Width           =   135
  732.    End
  733.    Begin Shape Shape1 
  734.       FillColor       =   &H00FFFFFF&
  735.       FillStyle       =   0  'Solid
  736.       Height          =   855
  737.       Index           =   71
  738.       Left            =   7620
  739.       Top             =   2760
  740.       Width           =   195
  741.    End
  742.    Begin Shape Shape1 
  743.       FillColor       =   &H00FFFFFF&
  744.       FillStyle       =   0  'Solid
  745.       Height          =   855
  746.       Index           =   69
  747.       Left            =   7440
  748.       Top             =   2760
  749.       Width           =   195
  750.    End
  751.    Begin Shape Shape1 
  752.       FillColor       =   &H00FFFFFF&
  753.       FillStyle       =   0  'Solid
  754.       Height          =   855
  755.       Index           =   67
  756.       Left            =   7260
  757.       Top             =   2760
  758.       Width           =   195
  759.    End
  760.    Begin Shape Shape1 
  761.       FillColor       =   &H00FFFFFF&
  762.       FillStyle       =   0  'Solid
  763.       Height          =   855
  764.       Index           =   65
  765.       Left            =   7080
  766.       Top             =   2760
  767.       Width           =   195
  768.    End
  769.    Begin Shape Shape1 
  770.       FillColor       =   &H00FFFFFF&
  771.       FillStyle       =   0  'Solid
  772.       Height          =   855
  773.       Index           =   64
  774.       Left            =   6900
  775.       Top             =   2760
  776.       Width           =   195
  777.    End
  778.    Begin Shape Shape1 
  779.       FillColor       =   &H00FFFFFF&
  780.       FillStyle       =   0  'Solid
  781.       Height          =   855
  782.       Index           =   62
  783.       Left            =   6720
  784.       Top             =   2760
  785.       Width           =   195
  786.    End
  787.    Begin Shape Shape1 
  788.       FillColor       =   &H00FFFFFF&
  789.       FillStyle       =   0  'Solid
  790.       Height          =   855
  791.       Index           =   60
  792.       Left            =   6540
  793.       Top             =   2760
  794.       Width           =   195
  795.    End
  796.    Begin Shape Shape1 
  797.       FillColor       =   &H00FFFFFF&
  798.       FillStyle       =   0  'Solid
  799.       Height          =   855
  800.       Index           =   59
  801.       Left            =   6360
  802.       Top             =   2760
  803.       Width           =   195
  804.    End
  805.    Begin Shape Shape1 
  806.       FillColor       =   &H00FFFFFF&
  807.       FillStyle       =   0  'Solid
  808.       Height          =   855
  809.       Index           =   57
  810.       Left            =   6180
  811.       Top             =   2760
  812.       Width           =   195
  813.    End
  814.    Begin Shape Shape1 
  815.       FillColor       =   &H00FFFFFF&
  816.       FillStyle       =   0  'Solid
  817.       Height          =   855
  818.       Index           =   55
  819.       Left            =   6000
  820.       Top             =   2760
  821.       Width           =   195
  822.    End
  823.    Begin Shape Shape1 
  824.       FillColor       =   &H00FFFFFF&
  825.       FillStyle       =   0  'Solid
  826.       Height          =   855
  827.       Index           =   53
  828.       Left            =   5820
  829.       Top             =   2760
  830.       Width           =   195
  831.    End
  832.    Begin Shape Shape1 
  833.       FillColor       =   &H00FFFFFF&
  834.       FillStyle       =   0  'Solid
  835.       Height          =   855
  836.       Index           =   52
  837.       Left            =   5640
  838.       Top             =   2760
  839.       Width           =   195
  840.    End
  841.    Begin Shape Shape1 
  842.       FillColor       =   &H00FFFFFF&
  843.       FillStyle       =   0  'Solid
  844.       Height          =   855
  845.       Index           =   50
  846.       Left            =   5460
  847.       Top             =   2760
  848.       Width           =   195
  849.    End
  850.    Begin Shape Shape1 
  851.       FillColor       =   &H00FFFFFF&
  852.       FillStyle       =   0  'Solid
  853.       Height          =   855
  854.       Index           =   48
  855.       Left            =   5280
  856.       Top             =   2760
  857.       Width           =   195
  858.    End
  859.    Begin Shape Shape1 
  860.       FillColor       =   &H00FFFFFF&
  861.       FillStyle       =   0  'Solid
  862.       Height          =   855
  863.       Index           =   47
  864.       Left            =   5100
  865.       Top             =   2760
  866.       Width           =   195
  867.    End
  868.    Begin Shape Shape1 
  869.       FillColor       =   &H00FFFFFF&
  870.       FillStyle       =   0  'Solid
  871.       Height          =   855
  872.       Index           =   45
  873.       Left            =   4920
  874.       Top             =   2760
  875.       Width           =   195
  876.    End
  877.    Begin Shape Shape1 
  878.       FillColor       =   &H00FFFFFF&
  879.       FillStyle       =   0  'Solid
  880.       Height          =   855
  881.       Index           =   43
  882.       Left            =   4740
  883.       Top             =   2760
  884.       Width           =   195
  885.    End
  886.    Begin Shape Shape1 
  887.       FillColor       =   &H00FFFFFF&
  888.       FillStyle       =   0  'Solid
  889.       Height          =   855
  890.       Index           =   41
  891.       Left            =   4560
  892.       Top             =   2760
  893.       Width           =   195
  894.    End
  895.    Begin Shape Shape1 
  896.       FillColor       =   &H00FFFFFF&
  897.       FillStyle       =   0  'Solid
  898.       Height          =   855
  899.       Index           =   40
  900.       Left            =   4380
  901.       Top             =   2760
  902.       Width           =   195
  903.    End
  904.    Begin Shape Shape1 
  905.       FillColor       =   &H00FFFFFF&
  906.       FillStyle       =   0  'Solid
  907.       Height          =   855
  908.       Index           =   38
  909.       Left            =   4200
  910.       Top             =   2760
  911.       Width           =   195
  912.    End
  913.    Begin Shape Shape1 
  914.       FillColor       =   &H00FFFFFF&
  915.       FillStyle       =   0  'Solid
  916.       Height          =   855
  917.       Index           =   36
  918.       Left            =   4020
  919.       Top             =   2760
  920.       Width           =   195
  921.    End
  922.    Begin Shape Shape1 
  923.       FillStyle       =   0  'Solid
  924.       Height          =   555
  925.       Index           =   34
  926.       Left            =   3780
  927.       Top             =   2760
  928.       Width           =   135
  929.    End
  930.    Begin Shape Shape1 
  931.       FillStyle       =   0  'Solid
  932.       Height          =   555
  933.       Index           =   32
  934.       Left            =   3600
  935.       Top             =   2760
  936.       Width           =   135
  937.    End
  938.    Begin Shape Shape1 
  939.       FillStyle       =   0  'Solid
  940.       Height          =   555
  941.       Index           =   30
  942.       Left            =   3420
  943.       Top             =   2760
  944.       Width           =   135
  945.    End
  946.    Begin Shape Shape1 
  947.       FillStyle       =   0  'Solid
  948.       Height          =   555
  949.       Index           =   27
  950.       Left            =   3060
  951.       Top             =   2760
  952.       Width           =   135
  953.    End
  954.    Begin Shape Shape1 
  955.       FillStyle       =   0  'Solid
  956.       Height          =   555
  957.       Index           =   25
  958.       Left            =   2880
  959.       Top             =   2760
  960.       Width           =   135
  961.    End
  962.    Begin Shape Shape1 
  963.       FillStyle       =   0  'Solid
  964.       Height          =   555
  965.       Index           =   22
  966.       Left            =   2520
  967.       Top             =   2760
  968.       Width           =   135
  969.    End
  970.    Begin Shape Shape1 
  971.       FillStyle       =   0  'Solid
  972.       Height          =   555
  973.       Index           =   20
  974.       Left            =   2340
  975.       Top             =   2760
  976.       Width           =   135
  977.    End
  978.    Begin Shape Shape1 
  979.       FillStyle       =   0  'Solid
  980.       Height          =   555
  981.       Index           =   18
  982.       Left            =   2160
  983.       Top             =   2760
  984.       Width           =   135
  985.    End
  986.    Begin Shape Shape1 
  987.       FillStyle       =   0  'Solid
  988.       Height          =   555
  989.       Index           =   15
  990.       Left            =   1800
  991.       Top             =   2760
  992.       Width           =   135
  993.    End
  994.    Begin Shape Shape1 
  995.       FillStyle       =   0  'Solid
  996.       Height          =   555
  997.       Index           =   13
  998.       Left            =   1620
  999.       Top             =   2760
  1000.       Width           =   135
  1001.    End
  1002.    Begin Shape Shape1 
  1003.       FillColor       =   &H00FFFFFF&
  1004.       FillStyle       =   0  'Solid
  1005.       Height          =   855
  1006.       Index           =   35
  1007.       Left            =   3840
  1008.       Top             =   2760
  1009.       Width           =   195
  1010.    End
  1011.    Begin Shape Shape1 
  1012.       FillColor       =   &H00FFFFFF&
  1013.       FillStyle       =   0  'Solid
  1014.       Height          =   855
  1015.       Index           =   33
  1016.       Left            =   3660
  1017.       Top             =   2760
  1018.       Width           =   195
  1019.    End
  1020.    Begin Shape Shape1 
  1021.       FillColor       =   &H00FFFFFF&
  1022.       FillStyle       =   0  'Solid
  1023.       Height          =   855
  1024.       Index           =   31
  1025.       Left            =   3480
  1026.       Top             =   2760
  1027.       Width           =   195
  1028.    End
  1029.    Begin Shape Shape1 
  1030.       FillColor       =   &H00FFFFFF&
  1031.       FillStyle       =   0  'Solid
  1032.       Height          =   855
  1033.       Index           =   29
  1034.       Left            =   3300
  1035.       Top             =   2760
  1036.       Width           =   195
  1037.    End
  1038.    Begin Shape Shape1 
  1039.       FillColor       =   &H00FFFFFF&
  1040.       FillStyle       =   0  'Solid
  1041.       Height          =   855
  1042.       Index           =   28
  1043.       Left            =   3120
  1044.       Top             =   2760
  1045.       Width           =   195
  1046.    End
  1047.    Begin Shape Shape1 
  1048.       FillColor       =   &H00FFFFFF&
  1049.       FillStyle       =   0  'Solid
  1050.       Height          =   855
  1051.       Index           =   26
  1052.       Left            =   2940
  1053.       Top             =   2760
  1054.       Width           =   195
  1055.    End
  1056.    Begin Shape Shape1 
  1057.       FillColor       =   &H00FFFFFF&
  1058.       FillStyle       =   0  'Solid
  1059.       Height          =   855
  1060.       Index           =   24
  1061.       Left            =   2760
  1062.       Top             =   2760
  1063.       Width           =   195
  1064.    End
  1065.    Begin Shape Shape1 
  1066.       FillColor       =   &H00FFFFFF&
  1067.       FillStyle       =   0  'Solid
  1068.       Height          =   855
  1069.       Index           =   23
  1070.       Left            =   2580
  1071.       Top             =   2760
  1072.       Width           =   195
  1073.    End
  1074.    Begin Shape Shape1 
  1075.       FillColor       =   &H00FFFFFF&
  1076.       FillStyle       =   0  'Solid
  1077.       Height          =   855
  1078.       Index           =   21
  1079.       Left            =   2400
  1080.       Top             =   2760
  1081.       Width           =   195
  1082.    End
  1083.    Begin Shape Shape1 
  1084.       FillColor       =   &H00FFFFFF&
  1085.       FillStyle       =   0  'Solid
  1086.       Height          =   855
  1087.       Index           =   19
  1088.       Left            =   2220
  1089.       Top             =   2760
  1090.       Width           =   195
  1091.    End
  1092.    Begin Shape Shape1 
  1093.       FillColor       =   &H00FFFFFF&
  1094.       FillStyle       =   0  'Solid
  1095.       Height          =   855
  1096.       Index           =   17
  1097.       Left            =   2040
  1098.       Top             =   2760
  1099.       Width           =   195
  1100.    End
  1101.    Begin Shape Shape1 
  1102.       FillColor       =   &H00FFFFFF&
  1103.       FillStyle       =   0  'Solid
  1104.       Height          =   855
  1105.       Index           =   16
  1106.       Left            =   1860
  1107.       Top             =   2760
  1108.       Width           =   195
  1109.    End
  1110.    Begin Shape Shape1 
  1111.       FillColor       =   &H00FFFFFF&
  1112.       FillStyle       =   0  'Solid
  1113.       Height          =   855
  1114.       Index           =   14
  1115.       Left            =   1680
  1116.       Top             =   2760
  1117.       Width           =   195
  1118.    End
  1119.    Begin Shape Shape1 
  1120.       FillColor       =   &H00FFFFFF&
  1121.       FillStyle       =   0  'Solid
  1122.       Height          =   855
  1123.       Index           =   12
  1124.       Left            =   1500
  1125.       Top             =   2760
  1126.       Width           =   195
  1127.    End
  1128.    Begin Shape Shape1 
  1129.       FillStyle       =   0  'Solid
  1130.       Height          =   555
  1131.       Index           =   10
  1132.       Left            =   1260
  1133.       Top             =   2760
  1134.       Width           =   135
  1135.    End
  1136.    Begin Shape Shape1 
  1137.       FillStyle       =   0  'Solid
  1138.       Height          =   555
  1139.       Index           =   8
  1140.       Left            =   1080
  1141.       Top             =   2760
  1142.       Width           =   135
  1143.    End
  1144.    Begin Shape Shape1 
  1145.       FillStyle       =   0  'Solid
  1146.       Height          =   555
  1147.       Index           =   6
  1148.       Left            =   900
  1149.       Top             =   2760
  1150.       Width           =   135
  1151.    End
  1152.    Begin Shape Shape1 
  1153.       FillColor       =   &H00FFFFFF&
  1154.       FillStyle       =   0  'Solid
  1155.       Height          =   855
  1156.       Index           =   5
  1157.       Left            =   780
  1158.       Top             =   2760
  1159.       Width           =   195
  1160.    End
  1161.    Begin Shape Shape1 
  1162.       FillStyle       =   0  'Solid
  1163.       Height          =   555
  1164.       Index           =   3
  1165.       Left            =   540
  1166.       Top             =   2760
  1167.       Width           =   135
  1168.    End
  1169.    Begin Shape Shape1 
  1170.       FillStyle       =   0  'Solid
  1171.       Height          =   555
  1172.       Index           =   1
  1173.       Left            =   360
  1174.       Top             =   2760
  1175.       Width           =   135
  1176.    End
  1177.    Begin Shape Shape1 
  1178.       FillColor       =   &H00FFFFFF&
  1179.       FillStyle       =   0  'Solid
  1180.       Height          =   855
  1181.       Index           =   0
  1182.       Left            =   240
  1183.       Top             =   2760
  1184.       Width           =   195
  1185.    End
  1186.    Begin Shape Shape1 
  1187.       FillColor       =   &H00FFFFFF&
  1188.       FillStyle       =   0  'Solid
  1189.       Height          =   855
  1190.       Index           =   4
  1191.       Left            =   600
  1192.       Top             =   2760
  1193.       Width           =   195
  1194.    End
  1195.    Begin Shape Shape1 
  1196.       FillColor       =   &H00FFFFFF&
  1197.       FillStyle       =   0  'Solid
  1198.       Height          =   855
  1199.       Index           =   7
  1200.       Left            =   960
  1201.       Top             =   2760
  1202.       Width           =   195
  1203.    End
  1204.    Begin Shape Shape1 
  1205.       FillColor       =   &H00FFFFFF&
  1206.       FillStyle       =   0  'Solid
  1207.       Height          =   855
  1208.       Index           =   9
  1209.       Left            =   1140
  1210.       Top             =   2760
  1211.       Width           =   195
  1212.    End
  1213.    Begin Shape Shape1 
  1214.       FillColor       =   &H00FFFFFF&
  1215.       FillStyle       =   0  'Solid
  1216.       Height          =   855
  1217.       Index           =   11
  1218.       Left            =   1320
  1219.       Top             =   2760
  1220.       Width           =   195
  1221.    End
  1222.    Begin Shape Shape1 
  1223.       FillColor       =   &H00FFFFFF&
  1224.       FillStyle       =   0  'Solid
  1225.       Height          =   855
  1226.       Index           =   2
  1227.       Left            =   420
  1228.       Top             =   2760
  1229.       Width           =   195
  1230.    End
  1231.    Begin Shape Shape2 
  1232.       FillColor       =   &H00FF0000&
  1233.       FillStyle       =   0  'Solid
  1234.       Height          =   1095
  1235.       Left            =   120
  1236.       Shape           =   4  'Rounded Rectangle
  1237.       Top             =   2640
  1238.       Width           =   7815
  1239.    End
  1240. End
  1241.  
  1242. Sub Command1_Click ()
  1243.     If List2.ListIndex = MidiWW1.NumOutDevs Then
  1244.         ' enable Midi Mapper
  1245.         MidiWW1.OutputDevice = -1
  1246.     Else
  1247.         MidiWW1.OutputDevice = List2.ListIndex
  1248.     End If
  1249.  
  1250.     MidiWW1.OutputEnabled = True
  1251.     If MidiWW1.ErrorNum <> 0 Then
  1252.         MsgBox MidiWW1.ErrorText
  1253.     End If
  1254.     
  1255.     MidiWW1.InputDevice = List1.ListIndex
  1256.     MidiWW1.InputEnabled = True
  1257.     If MidiWW1.ErrorNum <> 0 Then
  1258.         MsgBox MidiWW1.ErrorText
  1259.     End If
  1260.         
  1261.     DoEvents    ' Give control time to process commands
  1262.  
  1263. End Sub
  1264.  
  1265. Sub Command2_Click ()
  1266.     MidiWW1.OutputEnabled = False
  1267.     If MidiWW1.ErrorNum <> 0 Then
  1268.         MsgBox MidiWW1.ErrorText
  1269.     End If
  1270.     
  1271.     MidiWW1.InputEnabled = False
  1272.     If MidiWW1.ErrorNum <> 0 Then
  1273.         MsgBox MidiWW1.ErrorText
  1274.     End If
  1275. End Sub
  1276.  
  1277. Sub Command3_Click ()
  1278.     End
  1279. End Sub
  1280.  
  1281. Sub Form_Load ()
  1282.     For i = 0 To MidiWW1.NumInDevs - 1
  1283.         MidiWW1.InputDevice = i
  1284.         List1.AddItem MidiWW1.ProductName
  1285.     Next i
  1286.  
  1287.     For i = 0 To MidiWW1.NumOutDevs - 1
  1288.         MidiWW1.OutputDevice = i
  1289.         List2.AddItem MidiWW1.ProductName
  1290.     Next i
  1291.  
  1292.     List2.AddItem "Midi Mapper"
  1293.  
  1294.     If List1.ListCount > 0 Then
  1295.         List1.ListIndex = 0
  1296.     End If
  1297.  
  1298.     List2.ListIndex = 0
  1299.  
  1300. End Sub
  1301.  
  1302. Sub Form_Resize ()
  1303.     If WindowState <> 1 Then
  1304.         Top = 0
  1305.         Left = 0
  1306.         Height = MDIForm1.ScaleHeight
  1307.         Width = MDIForm1.ScaleWidth
  1308.     End If
  1309. End Sub
  1310.  
  1311. Sub Image1_Click (Index As Integer)
  1312.     MidiWW1.ShortMsg = &H600090 + (Index + 36) * 256
  1313.     MidiWW1.ShortMsg = &H600080 + (Index + 36) * 256
  1314. End Sub
  1315.  
  1316. Sub KeyBoard (Msg As Long)
  1317.     Dim Status As Integer
  1318.     Dim Note As Integer
  1319.     Dim Force As Long
  1320.     Dim Key As Integer
  1321.  
  1322. ' Since Midi can produce many messages, keep this
  1323. ' routine as small as possible to avoid losing messages.
  1324.  
  1325.     Status = Msg And 255
  1326.     
  1327.     If Status = &H90 Or Status = &H80 Then
  1328.    
  1329.         Note = Int(Msg / 256#) And 255
  1330.         Force = Msg And &HFF0000
  1331.         Key = Note - 36
  1332.         If Key <= 70 Then
  1333.             If Status = &H90 And Force <> 0 Then
  1334.                 Shape1(Key).FillColor = &HFF
  1335.             Else
  1336.                 If Shape1(Key).Height < 700 Then
  1337.                     Shape1(Key).FillColor = &H0
  1338.                 Else
  1339.                     Shape1(Key).FillColor = &HFFFFFF
  1340.                 End If
  1341.             End If
  1342.          End If
  1343.     End If
  1344. End Sub
  1345.  
  1346. Sub Timer1_Timer ()
  1347.     If MidiWW1.InCount > 0 Then
  1348.         MsgCount% = MidiWW1.InCount
  1349.         For i% = 0 To MsgCount%
  1350.             TempMsg& = MidiWW1.Msg
  1351.             If TempMsg& <> 0 Then
  1352.                 If Check1.Value <> 0 Then
  1353.                     MidiWW1.OutputTime = MidiWW1.InputTime
  1354.                     MidiWW1.Msg = TempMsg&
  1355.                 End If
  1356.             End If
  1357.         Next i%
  1358.     End If
  1359. End Sub
  1360.  
  1361.