-
Notifications
You must be signed in to change notification settings - Fork 0
/
UVirtualHarmonica.lfm
782 lines (782 loc) · 19.1 KB
/
UVirtualHarmonica.lfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
object frmVirtualHarmonica: TfrmVirtualHarmonica
Left = 927
Height = 611
Top = 626
Width = 532
ActiveControl = cbxTransInstrument
Caption = 'Virtuelle Steirische Harmonika'
ClientHeight = 611
ClientWidth = 532
Color = clBtnFace
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
Position = poMainFormCenter
LCLVersion = '2.2.0.4'
object gbMidi: TGroupBox
Left = 0
Height = 136
Top = 105
Width = 532
Align = alTop
Caption = 'MIDI I/O'
ClientHeight = 121
ClientWidth = 530
TabOrder = 1
object lblKeyboard: TLabel
Left = 23
Height = 14
Top = 20
Width = 98
Caption = 'Sustain Pedal (in)'
end
object Label17: TLabel
Left = 23
Height = 14
Top = 53
Width = 96
Caption = 'Synthesizer (out)'
end
object lbVirtual: TLabel
Left = 23
Height = 14
Top = 87
Width = 109
Caption = 'Virtual Device (out)'
end
object cbxMidiOut: TComboBox
Left = 152
Height = 30
Top = 50
Width = 156
ItemHeight = 0
OnChange = cbxMidiOutChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 1
end
object cbxMidiInput: TComboBox
Left = 152
Height = 30
Top = 17
Width = 156
ItemHeight = 0
OnChange = cbxMidiInputChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 0
end
object btnResetMidi: TButton
Left = 340
Height = 25
Top = 48
Width = 100
Caption = 'Reset Synth.'
OnClick = btnResetMidiClick
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
TabOrder = 2
end
object cbxVirtual: TComboBox
Left = 152
Height = 30
Top = 84
Width = 156
ItemHeight = 0
OnChange = cbxVirtualChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 3
end
end
object gbInstrument: TGroupBox
Left = 0
Height = 105
Top = 0
Width = 532
Align = alTop
Caption = 'Steirische Harmonika / Schwyzerörgeli'
ClientHeight = 90
ClientWidth = 530
TabOrder = 0
object Label13: TLabel
Left = 22
Height = 14
Top = 50
Width = 108
Caption = 'Transpose (Primes)'
end
object Label1: TLabel
Left = 23
Height = 14
Top = 19
Width = 61
Caption = 'Instrument'
end
object cbxTransInstrument: TComboBox
Left = 152
Height = 27
Top = 47
Width = 46
ItemHeight = 0
ItemIndex = 11
Items.Strings = (
'-11'
'-10'
'-9'
'-8'
'-7'
'-6'
'-5'
'-4'
'-3'
'-2'
'-1'
'0'
'1'
'2'
'3'
'4'
'5'
'6'
'7'
'8'
'9'
'10'
'11'
)
OnChange = cbxTransInstrumentChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 0
Text = '0'
end
object cbTransInstrument: TComboBox
Left = 152
Height = 27
Top = 16
Width = 156
ItemHeight = 0
ItemIndex = 0
Items.Strings = (
'B-Örgeli'
'A-Örgeli'
)
OnChange = cbTransInstrumentChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 1
Text = 'B-Örgeli'
end
end
object gbBalg: TGroupBox
Left = 0
Height = 64
Top = 457
Width = 532
Align = alTop
Caption = 'Shift Button for Push/Pull'
ClientHeight = 49
ClientWidth = 530
TabOrder = 2
object Label2: TLabel
Left = 23
Height = 14
Top = 12
Width = 69
Caption = 'Shift is Push'
end
object cbxShiftIsPush: TCheckBox
Left = 120
Height = 23
Top = 11
Width = 23
Checked = True
OnClick = cbxShiftIsPushClick
OnKeyPress = cbTransInstrumentKeyPress
OnKeyDown = cbTransInstrumentKeyDown
OnKeyUp = cbTransInstrumentKeyUp
State = cbChecked
TabOrder = 0
end
end
object GroupBox1: TGroupBox
Left = 0
Height = 84
Top = 521
Width = 532
Align = alTop
Caption = 'Record'
ClientHeight = 69
ClientWidth = 530
TabOrder = 3
object btnRecord: TButton
Left = 152
Height = 25
Top = 18
Width = 156
Caption = 'Record'
OnClick = btnRecordClick
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
TabOrder = 0
end
end
object gbMidiInstrument: TGroupBox
Left = 0
Height = 96
Top = 241
Width = 532
Align = alTop
Caption = 'MIDI Instrument'
ClientHeight = 81
ClientWidth = 530
TabOrder = 4
object Label3: TLabel
Left = 23
Height = 14
Top = 44
Width = 88
Caption = 'MIDI Instrument'
end
object Label4: TLabel
Left = 22
Height = 14
Top = 15
Width = 28
Caption = 'Bank'
end
object cbxMidiDiskant: TComboBox
Left = 152
Height = 27
Top = 41
Width = 303
ItemHeight = 0
ItemIndex = 21
Items.Strings = (
'1 Acoustic Grand Piano (Flügel)'
'2 Bright Acoustic Piano (Klavier)'
'3 Electric Grand Piano'
'4 Honky-tonk'
'5 Electric Piano 1 (Rhodes)'
'6 Electric Piano 2 (Chorus)'
'7 Harpsichord (Cembalo)'
'8 Clavi (Clavinet)'
'9 Celesta'
'10 Glockenspiel'
'11 Music Box (Spieluhr)'
'12 Vibraphone'
'13 Marimba'
'14 Xylophone'
'15 Tubular Bells (Röhrenglocken)'
'16 Dulcimer (Hackbrett)'
'17 Drawbar Organ (Hammond)'
'18 Percussive Organ'
'19 Rock Organ'
'20 Church Organ (Kirchenorgel)'
'21 Reed Organ (Drehorgel)'
'22 Accordion'
'23 Harmonica'
'24 Tango Accordion (Bandeon)'
'25 Acoustic Guitar (Nylon)'
'26 Acoustic Guitar (Steel - Stahl)'
'27 Electric Guitar (Jazz)'
'28 Electric Guitar (clean - sauber)'
'29 Electric Guitar (muted - gedämpft)'
'30 Overdriven Guitar (übersteuert)'
'31 Distortion Guitar (verzerrt)'
'32 Guitar harmonics (Harmonien)'
'33 Acoustic Bass'
'34 Electric Bass (finger)'
'35 Electric Bass (pick - gezupft)'
'36 Fretless Bass (bundloser Bass)'
'37 Slap Bass 1'
'38 Slap Bass 2'
'39 Synth Bass 1'
'40 Synth Bass 2'
'41 Violin (Violine - Geige)'
'42 Viola (Viola - Bratsche)'
'43 Cello (Violoncello - Cello)'
'44 Contrabass (Violone - Kontrabass)'
'45 Tremolo Strings'
'46 Pizzicato Strings'
'47 Orchestral Harp (Harfe)'
'48 Timpani (Pauke)'
'49 String Ensemble 1'
'50 String Ensemble 2'
'51 SynthString 1'
'52 SynthString 2'
'53 Choir Aahs'
'54 Voice Oohs'
'55 Synth Voice'
'56 Orchestra Hit'
'57 Trumpet (Trompete)'
'58 Trombone (Posaune)'
'59 Tuba'
'60 Muted Trumpet (gedämpfe Trompete)'
'61 French Horn (französisches Horn)'
'62 Brass Section (Bläsersatz)'
'63 SynthBrass 1'
'64 SynthBrass 2'
'65 Soprano Sax'
'66 Alto Sax'
'67 Tenor Sax'
'68 Baritone Sax'
'69 Oboe'
'70 English Horn'
'71 Bassoon (Fagott)'
'72 Clarinet'
'73 Piccolo'
'74 Flute (Flöte)'
'75 Recorder (Blockflöte)'
'76 Pan Flute'
'77 Blown Bottle'
'78 Shakuhachi'
'79 Whistle (Pfeifen)'
'80 Ocarina'
'81 Square (Rechteck)'
'82 Sawtooth (Sägezahn)'
'83 Calliop'
'84 Chiff'
'85 Charang'
'86 Voice'
'87 Fifths'
'88 Bass + Lead'
'89 New Age'
'90 Warm'
'91 Polysynth'
'92 Choir'
'93 Bowed (Streicher)'
'94 Metallic'
'95 Halo'
'96 Sweep'
'97 Rain (Regen)'
'98 Soundtrack'
'99 Crystal'
'100 Atmosphere'
'101 Brightness'
'102 Goblins'
'103 Echoes'
'104 Sci-Fi (Science Fiction)'
'105 Sitar Ethnik'
'106 Banjo'
'107 Shamisen'
'108 Koto'
'109 Kalimba'
'110 Bag Pipe (Dudelsack)'
'111 Fiddle'
'112 Shanai'
'113 Tinkle Bell (Glocke)'
'114 Agogo'
'115 Steel Drums'
'116 Woodblock'
'117 Taiko Drum'
'118 Melodic Tom'
'119 Synth Drum'
'120 Reverse Cymbal (Becken rückwärts)'
'121 Guitar Fret. Noise (Gitarrensaitenquitschen)'
'122 Breath Noise (Atem)'
'123 Seashore (Meeresbrandung)'
'124 Bird Tweet (Vogelgezwitscher)'
'125 Telephone Ring'
'126 Helicopter'
'127 Applause'
'128 Gun Shot (Gewehrschuss)'
)
OnChange = cbxMidiDiskantChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 0
Text = '22 Accordion'
end
object cbxDiskantBank: TComboBox
Left = 152
Height = 27
Top = 14
Width = 303
ItemHeight = 0
ItemIndex = 0
Items.Strings = (
'00 - General Midi'
'01 - Piano'
'02 - E-Piano'
'03 - Organ'
'04 - Organ - Drawbar Registrations'
'05 - Perc. Tuned Instr.'
'06 - String Instr.'
'07 - Guitar'
'08 - Harmonica and more'
'09 - Full Strings & Disco Strings'
'10 - Solo Strings'
'11 - Synth Strings'
'12 - Brass Solo'
'13 - Brass Section'
'14 - Classic Brass'
'15 - Saxophon'
'16 - Winds'
'17 - Classic Winds'
'18 - Choir'
'19 - Bass'
'20 - Synthesizer'
'21 - FX und Percussion'
'22'
'23'
'24'
'25'
'26'
'27'
'28'
'29'
'30'
'31'
'32'
'33'
'34'
'35'
'36'
'37'
'38'
'39'
'40 - Accordion French, German, Slvenia and others'
'41 - Bass and Chord Melo.'
'42 - Cordovox'
'43'
'44'
'45'
'46'
'47'
'48'
'49'
'50'
'51'
'52'
'53'
'54'
'55'
'56'
'57'
'58'
'59'
'60'
'61'
'62'
'63'
'64'
'65'
'66'
'67'
'68'
'69'
'70'
)
OnChange = cbxDiskantBankChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 1
Text = '00 - General Midi'
end
end
object gbMidiBass: TGroupBox
Left = 0
Height = 120
Top = 337
Width = 532
Align = alTop
Caption = 'MIDI Bass'
ClientHeight = 105
ClientWidth = 530
TabOrder = 5
object Label5: TLabel
Left = 23
Height = 14
Top = 68
Width = 88
Caption = 'MIDI Instrument'
end
object Label6: TLabel
Left = 22
Height = 14
Top = 39
Width = 28
Caption = 'Bank'
end
object Label7: TLabel
Left = 22
Height = 14
Top = 18
Width = 92
Caption = 'Bass is different'
end
object cbxInstrBass: TComboBox
Left = 152
Height = 27
Top = 65
Width = 303
Enabled = False
ItemHeight = 0
ItemIndex = 21
Items.Strings = (
'1 Acoustic Grand Piano (Flügel)'
'2 Bright Acoustic Piano (Klavier)'
'3 Electric Grand Piano'
'4 Honky-tonk'
'5 Electric Piano 1 (Rhodes)'
'6 Electric Piano 2 (Chorus)'
'7 Harpsichord (Cembalo)'
'8 Clavi (Clavinet)'
'9 Celesta'
'10 Glockenspiel'
'11 Music Box (Spieluhr)'
'12 Vibraphone'
'13 Marimba'
'14 Xylophone'
'15 Tubular Bells (Röhrenglocken)'
'16 Dulcimer (Hackbrett)'
'17 Drawbar Organ (Hammond)'
'18 Percussive Organ'
'19 Rock Organ'
'20 Church Organ (Kirchenorgel)'
'21 Reed Organ (Drehorgel)'
'22 Accordion'
'23 Harmonica'
'24 Tango Accordion (Bandeon)'
'25 Acoustic Guitar (Nylon)'
'26 Acoustic Guitar (Steel - Stahl)'
'27 Electric Guitar (Jazz)'
'28 Electric Guitar (clean - sauber)'
'29 Electric Guitar (muted - gedämpft)'
'30 Overdriven Guitar (übersteuert)'
'31 Distortion Guitar (verzerrt)'
'32 Guitar harmonics (Harmonien)'
'33 Acoustic Bass'
'34 Electric Bass (finger)'
'35 Electric Bass (pick - gezupft)'
'36 Fretless Bass (bundloser Bass)'
'37 Slap Bass 1'
'38 Slap Bass 2'
'39 Synth Bass 1'
'40 Synth Bass 2'
'41 Violin (Violine - Geige)'
'42 Viola (Viola - Bratsche)'
'43 Cello (Violoncello - Cello)'
'44 Contrabass (Violone - Kontrabass)'
'45 Tremolo Strings'
'46 Pizzicato Strings'
'47 Orchestral Harp (Harfe)'
'48 Timpani (Pauke)'
'49 String Ensemble 1'
'50 String Ensemble 2'
'51 SynthString 1'
'52 SynthString 2'
'53 Choir Aahs'
'54 Voice Oohs'
'55 Synth Voice'
'56 Orchestra Hit'
'57 Trumpet (Trompete)'
'58 Trombone (Posaune)'
'59 Tuba'
'60 Muted Trumpet (gedämpfe Trompete)'
'61 French Horn (französisches Horn)'
'62 Brass Section (Bläsersatz)'
'63 SynthBrass 1'
'64 SynthBrass 2'
'65 Soprano Sax'
'66 Alto Sax'
'67 Tenor Sax'
'68 Baritone Sax'
'69 Oboe'
'70 English Horn'
'71 Bassoon (Fagott)'
'72 Clarinet'
'73 Piccolo'
'74 Flute (Flöte)'
'75 Recorder (Blockflöte)'
'76 Pan Flute'
'77 Blown Bottle'
'78 Shakuhachi'
'79 Whistle (Pfeifen)'
'80 Ocarina'
'81 Square (Rechteck)'
'82 Sawtooth (Sägezahn)'
'83 Calliop'
'84 Chiff'
'85 Charang'
'86 Voice'
'87 Fifths'
'88 Bass + Lead'
'89 New Age'
'90 Warm'
'91 Polysynth'
'92 Choir'
'93 Bowed (Streicher)'
'94 Metallic'
'95 Halo'
'96 Sweep'
'97 Rain (Regen)'
'98 Soundtrack'
'99 Crystal'
'100 Atmosphere'
'101 Brightness'
'102 Goblins'
'103 Echoes'
'104 Sci-Fi (Science Fiction)'
'105 Sitar Ethnik'
'106 Banjo'
'107 Shamisen'
'108 Koto'
'109 Kalimba'
'110 Bag Pipe (Dudelsack)'
'111 Fiddle'
'112 Shanai'
'113 Tinkle Bell (Glocke)'
'114 Agogo'
'115 Steel Drums'
'116 Woodblock'
'117 Taiko Drum'
'118 Melodic Tom'
'119 Synth Drum'
'120 Reverse Cymbal (Becken rückwärts)'
'121 Guitar Fret. Noise (Gitarrensaitenquitschen)'
'122 Breath Noise (Atem)'
'123 Seashore (Meeresbrandung)'
'124 Bird Tweet (Vogelgezwitscher)'
'125 Telephone Ring'
'126 Helicopter'
'127 Applause'
'128 Gun Shot (Gewehrschuss)'
)
OnChange = cbxMidiDiskantChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 0
Text = '22 Accordion'
end
object cbxBankBass: TComboBox
Left = 152
Height = 27
Top = 38
Width = 303
Enabled = False
ItemHeight = 0
ItemIndex = 0
Items.Strings = (
'00 - General Midi'
'01 - Piano'
'02 - E-Piano'
'03 - Organ'
'04 - Organ - Drawbar Registrations'
'05 - Perc. Tuned Instr.'
'06 - String Instr.'
'07 - Guitar'
'08 - Harmonica and more'
'09 - Full Strings & Disco Strings'
'10 - Solo Strings'
'11 - Synth Strings'
'12 - Brass Solo'
'13 - Brass Section'
'14 - Classic Brass'
'15 - Saxophon'
'16 - Winds'
'17 - Classic Winds'
'18 - Choir'
'19 - Bass'
'20 - Synthesizer'
'21 - FX und Percussion'
'22'
'23'
'24'
'25'
'26'
'27'
'28'
'29'
'30'
'31'
'32'
'33'
'34'
'35'
'36'
'37'
'38'
'39'
'40 - Accordion French, German, Slvenia and others'
'41 - Bass and Chord Melo.'
'42 - Cordovox'
'43'
'44'
'45'
'46'
'47'
'48'
'49'
'50'
'51'
'52'
'53'
'54'
'55'
'56'
'57'
'58'
'59'
'60'
'61'
'62'
'63'
'64'
'65'
'66'
'67'
'68'
'69'
'70'
)
OnChange = cbxDiskantBankChange
OnKeyDown = cbTransInstrumentKeyDown
OnKeyPress = cbTransInstrumentKeyPress
OnKeyUp = cbTransInstrumentKeyUp
Style = csDropDownList
TabOrder = 1
Text = '00 - General Midi'
end
object cbxBassDifferent: TCheckBox
Left = 152
Height = 23
Top = 15
Width = 23
OnClick = cbxBassDifferentClick
OnKeyPress = cbTransInstrumentKeyPress
OnKeyDown = cbTransInstrumentKeyDown
OnKeyUp = cbTransInstrumentKeyUp
TabOrder = 2
end
end
object SaveDialog1: TSaveDialog
FileName = 'Recorded.mid'
Filter = 'MIDI|*.mid'
Left = 416
Top = 40
end
end