src/effecteditor.lfm9.4 KB · fallback
Raw
  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
object frmEffectEditor: TfrmEffectEditor
  Left = 640
  Height = 317
  Top = 502
  Width = 521
  BorderIcons = [biSystemMenu, biMinimize]
  BorderStyle = bsDialog
  Caption = 'Effect Editor'
  ClientHeight = 317
  ClientWidth = 521
  DesignTimePPI = 128
  FormStyle = fsStayOnTop
  KeyPreview = True
  OnCloseQuery = FormCloseQuery
  OnKeyDown = FormKeyDown
  OnShow = FormCreate
  Position = poMainFormCenter
  ShowInTaskBar = stNever
  LCLVersion = '3.0.0.3'
  object ComboBox1: TComboBox
    Left = 104
    Height = 31
    Top = 12
    Width = 404
    DropDownCount = 99
    ItemHeight = 0
    ItemIndex = 0
    Items.Strings = (
      '0 - Arpeggio'
      '1 - Portamento up'
      '2 - Portamento down'
      '3 - Tone Portamento'
      '4 - Vibrato'
      '5 - Set Master Volume'
      '6 - Call Routine'
      '7 - Note Delay'
      '8 - Set Panning'
      '9 - Set Duty Cycle'
      'A - Volume Slide'
      'B - Position Jump'
      'C - Set Volume'
      'D - Pattern Break'
      'E - Note Cut'
      'F - Set Speed'
    )
    ParentFont = False
    Style = csDropDownList
    TabOrder = 0
    Text = '0 - Arpeggio'
    OnChange = ComboBox1Change
  end
  object Label1: TLabel
    Left = 19
    Height = 23
    Top = 19
    Width = 80
    Caption = 'Effect type'
    ParentColor = False
    ParentFont = False
  end
  object Notebook1: TNotebook
    Left = 19
    Height = 244
    Top = 61
    Width = 489
    PageIndex = 0
    TabOrder = 1
    object OneParamPage: TPage
      object OneParamTrackBar: TTrackBar
        Left = 24
        Height = 59
        Top = 55
        Width = 445
        Max = 255
        OnChange = OneParamTrackBarChange
        Position = 0
        ParentFont = False
        TabOrder = 0
      end
      object Value: TLabel
        Left = 24
        Height = 23
        Top = 12
        Width = 445
        Alignment = taCenter
        AutoSize = False
        Caption = 'Value'
        ParentColor = False
        ParentFont = False
      end
    end
    object TwoParamsPage: TPage
      object TwoParamsTrackBar1: TTrackBar
        Left = 24
        Height = 33
        Top = 55
        Width = 445
        Max = 15
        OnChange = TwoParamsTrackBar1Change
        Position = 0
        ParentFont = False
        TabOrder = 0
      end
      object TwoParamsTrackBar2: TTrackBar
        Left = 24
        Height = 33
        Top = 104
        Width = 445
        Max = 15
        OnChange = TwoParamsTrackBar2Change
        Position = 0
        ParentFont = False
        TabOrder = 1
      end
      object Value1: TLabel
        Left = 24
        Height = 23
        Top = 12
        Width = 445
        Alignment = taCenter
        AutoSize = False
        Caption = 'Value1'
        ParentColor = False
        ParentFont = False
      end
    end
    object VibratoPage: TPage
      object VibratoDepthTrackBar: TTrackBar
        Left = 0
        Height = 33
        Top = 32
        Width = 480
        Max = 15
        OnChange = VibratoDepthTrackBarChange
        Position = 0
        ParentFont = False
        TabOrder = 0
      end
      object Label2: TLabel
        Left = 224
        Height = 15
        Top = 0
        Width = 32
        Caption = 'Depth'
        ParentColor = False
        ParentFont = False
      end
      object VibratoComboBox: TComboBox
        Left = 128
        Height = 23
        Top = 117
        Width = 235
        ItemHeight = 15
        ItemIndex = 0
        Items.Strings = (
          '0: _________________________'
          '1: _-_-_-_-_-_-_-_-_-_-_-_-_'
          '2: __--__--__--__--__--__--_'
          '3: _---_---_---_---_---_---_'
          '4: ____----____----____----_'
          '5: _-_-----_-_-----_-_-----_'
          '6: __------__------__------_'
          '7: _-------_-------_-------_'
          '8: ________--------________-'
          '9: _-_-_-_---------_-_-_-_--'
          'a: __--__----------__--__---'
          'b: _---_-----------_---_----'
          'c: ____------------____-----'
          'd: _-_-------------_-_------'
          'e: __--------------__-------'
          'f: _---------------_--------'
        )
        Style = csDropDownList
        TabOrder = 1
        Text = '0: _________________________'
        OnChange = VibratoComboBoxChange
      end
      object Label3: TLabel
        Left = 213
        Height = 15
        Top = 85
        Width = 55
        Caption = 'Waveform'
        ParentColor = False
      end
    end
    object MasterVolumePage: TPage
      object Value2: TLabel
        Left = 24
        Height = 23
        Top = 24
        Width = 445
        Alignment = taCenter
        AutoSize = False
        Caption = 'Value2'
        ParentColor = False
        ParentFont = False
      end
      object LeftVolumeTrackBar: TTrackBar
        Left = 24
        Height = 33
        Top = 67
        Width = 445
        Max = 7
        OnChange = RightVolumeTrackBarChange
        Position = 0
        ParentFont = False
        TabOrder = 0
      end
      object RightVolumeTrackBar: TTrackBar
        Left = 24
        Height = 33
        Top = 116
        Width = 445
        Max = 7
        OnChange = RightVolumeTrackBarChange
        Position = 0
        ParentFont = False
        TabOrder = 1
      end
    end
    object PanningPage: TPage
      object LeftPanCheckGroup: TCheckGroup
        Left = 0
        Height = 244
        Top = 0
        Width = 241
        AutoFill = True
        Caption = 'Left'
        ChildSizing.LeftRightSpacing = 6
        ChildSizing.TopBottomSpacing = 6
        ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
        ChildSizing.EnlargeVertical = crsHomogenousChildResize
        ChildSizing.ShrinkHorizontal = crsScaleChilds
        ChildSizing.ShrinkVertical = crsScaleChilds
        ChildSizing.Layout = cclLeftToRightThenTopToBottom
        ChildSizing.ControlsPerLine = 1
        ClientHeight = 219
        ClientWidth = 237
        ParentFont = False
        TabOrder = 0
        object CheckBox1: TCheckBox
          Left = 4
          Height = 69
          Top = 4
          Width = 300
          Caption = 'Duty 1'
          ParentFont = False
          TabOrder = 0
          OnClick = CheckBox1Change
        end
        object CheckBox2: TCheckBox
          Left = 4
          Height = 69
          Top = 57
          Width = 300
          Caption = 'Duty 2'
          ParentFont = False
          TabOrder = 1
          OnClick = CheckBox1Change
        end
        object CheckBox3: TCheckBox
          Left = 4
          Height = 69
          Top = 109
          Width = 300
          Caption = 'Wave'
          ParentFont = False
          TabOrder = 2
          OnClick = CheckBox1Change
        end
        object CheckBox4: TCheckBox
          Left = 4
          Height = 66
          Top = 163
          Width = 300
          Caption = 'Noise'
          ParentFont = False
          TabOrder = 3
          OnClick = CheckBox1Change
        end
      end
      object RightPanCheckGroup: TCheckGroup
        Left = 244
        Height = 244
        Top = 0
        Width = 241
        AutoFill = True
        Caption = 'Right'
        ChildSizing.LeftRightSpacing = 6
        ChildSizing.TopBottomSpacing = 6
        ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
        ChildSizing.EnlargeVertical = crsHomogenousChildResize
        ChildSizing.ShrinkHorizontal = crsScaleChilds
        ChildSizing.ShrinkVertical = crsScaleChilds
        ChildSizing.Layout = cclLeftToRightThenTopToBottom
        ChildSizing.ControlsPerLine = 1
        ClientHeight = 219
        ClientWidth = 237
        ParentFont = False
        TabOrder = 1
        object CheckBox5: TCheckBox
          Left = 4
          Height = 69
          Top = 4
          Width = 300
          Caption = 'Duty 1'
          ParentFont = False
          TabOrder = 0
          OnClick = CheckBox1Change
        end
        object CheckBox6: TCheckBox
          Left = 4
          Height = 69
          Top = 57
          Width = 300
          Caption = 'Duty 2'
          ParentFont = False
          TabOrder = 1
          OnClick = CheckBox1Change
        end
        object CheckBox7: TCheckBox
          Left = 4
          Height = 69
          Top = 109
          Width = 300
          Caption = 'Wave'
          ParentFont = False
          TabOrder = 2
          OnClick = CheckBox1Change
        end
        object CheckBox8: TCheckBox
          Left = 4
          Height = 66
          Top = 163
          Width = 300
          Caption = 'Noise'
          ParentFont = False
          TabOrder = 3
          OnClick = CheckBox1Change
        end
      end
    end
    object DutyCyclePage: TPage
      object DutyRadioGroup: TRadioGroup
        Left = 73
        Height = 225
        Top = 0
        Width = 323
        AutoFill = True
        Caption = 'Duty Cycle'
        ChildSizing.LeftRightSpacing = 6
        ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
        ChildSizing.EnlargeVertical = crsHomogenousChildResize
        ChildSizing.ShrinkHorizontal = crsScaleChilds
        ChildSizing.ShrinkVertical = crsScaleChilds
        ChildSizing.Layout = cclLeftToRightThenTopToBottom
        ChildSizing.ControlsPerLine = 1
        ClientHeight = 200
        ClientWidth = 319
        Items.Strings = (
          '12.5% ( _-------_-------_------- )'
          '25%   ( __------__------__------ )'
          '50%   ( ____----____----____---- ) (Square)'
          '75%   ( ______--______--______-- )'
        )
        OnSelectionChanged = DutyRadioGroupSelectionChanged
        ParentFont = False
        TabOrder = 0
      end
    end
  end
end