Commit bc8007e

Nick committed on
Make routine 0 accessible
commit bc8007e2dae8850267c0a6e2fd1ea71ed9c957fd parent 7cfb437
3 changed files +440−451
ModifiedhUGEDriver +1−1
@@ -1 +1 @@
1 Subproject commit 03c9a345c48a369652975769cffa5dae25d844b4 1 Subproject commit a193a22b9314aa53fdca105eccf3e4fedff0cb98
Modifiedtracker.lfm +437−442
@@ -1,13 +1,12 @@
1 object frmTracker: TfrmTracker 1 object frmTracker: TfrmTracker
2 Left = 255 2 Left = 697
3 Height = 1125 3 Height = 643
4 Top = 114 4 Top = 216
5 Width = 2220 5 Width = 1269
6 AllowDropFiles = True 6 AllowDropFiles = True
7 Caption = 'hUGETracker' 7 Caption = 'hUGETracker'
8 ClientHeight = 1091 8 ClientHeight = 623
9 ClientWidth = 2220 9 ClientWidth = 1269
10 DesignTimePPI = 168
11 KeyPreview = True 10 KeyPreview = True
12 Menu = MainMenu1 11 Menu = MainMenu1
13 OnCloseQuery = FormCloseQuery 12 OnCloseQuery = FormCloseQuery
@@ -21,9 +20,9 @@ object frmTracker: TfrmTracker
21 LCLVersion = '2.0.9.0' 20 LCLVersion = '2.0.9.0'
22 object TreeView1: TTreeView 21 object TreeView1: TTreeView
23 Left = 0 22 Left = 0
24 Height = 895 23 Height = 511
25 Top = 153 24 Top = 89
26 Width = 338 25 Width = 193
27 Align = alLeft 26 Align = alLeft
28 ParentFont = False 27 ParentFont = False
29 ReadOnly = True 28 ReadOnly = True
@@ -41,31 +40,31 @@ object frmTracker: TfrmTracker
41 } 40 }
42 end 41 end
43 object Splitter1: TSplitter 42 object Splitter1: TSplitter
44 Left = 338 43 Left = 193
45 Height = 895 44 Height = 511
46 Top = 153 45 Top = 89
47 Width = 9 46 Width = 5
48 end 47 end
49 object Panel1: TPanel 48 object Panel1: TPanel
50 Left = 347 49 Left = 198
51 Height = 895 50 Height = 511
52 Top = 153 51 Top = 89
53 Width = 1873 52 Width = 1071
54 Align = alClient 53 Align = alClient
55 BevelOuter = bvNone 54 BevelOuter = bvNone
56 ClientHeight = 895 55 ClientHeight = 511
57 ClientWidth = 1873 56 ClientWidth = 1071
58 ParentFont = False 57 ParentFont = False
59 TabOrder = 2 58 TabOrder = 2
60 object PageControl1: TPageControl 59 object PageControl1: TPageControl
61 Left = 0 60 Left = 0
62 Height = 895 61 Height = 511
63 Top = 0 62 Top = 0
64 Width = 1873 63 Width = 1071
65 ActivePage = InstrumentTabSheet 64 ActivePage = RoutinesTabSheet
66 Align = alClient 65 Align = alClient
67 ParentFont = False 66 ParentFont = False
68 TabIndex = 2 67 TabIndex = 5
69 TabOrder = 0 68 TabOrder = 0
70 object GeneralTabSheet: TTabSheet 69 object GeneralTabSheet: TTabSheet
71 Caption = 'General' 70 Caption = 'General'
@@ -73,68 +72,68 @@ object frmTracker: TfrmTracker
73 ClientWidth = 1064 72 ClientWidth = 1064
74 ParentFont = False 73 ParentFont = False
75 object SongInformationGroupbox: TGroupBox 74 object SongInformationGroupbox: TGroupBox
76 Left = 14 75 Left = 8
77 Height = 238 76 Height = 136
78 Top = 14 77 Top = 8
79 Width = 534 78 Width = 305
80 Caption = 'Song information' 79 Caption = 'Song information'
81 ClientHeight = 203 80 ClientHeight = 116
82 ClientWidth = 530 81 ClientWidth = 301
83 ParentFont = False 82 ParentFont = False
84 TabOrder = 0 83 TabOrder = 0
85 object Label15: TLabel 84 object Label15: TLabel
86 Left = 14 85 Left = 8
87 Height = 15 86 Height = 15
88 Top = 28 87 Top = 16
89 Width = 27 88 Width = 27
90 Caption = 'Song' 89 Caption = 'Song'
91 ParentColor = False 90 ParentColor = False
92 ParentFont = False 91 ParentFont = False
93 end 92 end
94 object Label16: TLabel 93 object Label16: TLabel
95 Left = 12 94 Left = 7
96 Height = 15 95 Height = 15
97 Top = 84 96 Top = 48
98 Width = 28 97 Width = 28
99 Caption = 'Artist' 98 Caption = 'Artist'
100 ParentColor = False 99 ParentColor = False
101 ParentFont = False 100 ParentFont = False
102 end 101 end
103 object SongEdit: TEdit 102 object SongEdit: TEdit
104 Left = 98 103 Left = 56
105 Height = 23 104 Height = 23
106 Hint = 'The name of your composition' 105 Hint = 'The name of your composition'
107 Top = 14 106 Top = 8
108 Width = 378 107 Width = 216
109 OnChange = SongEditChange 108 OnChange = SongEditChange
110 ParentFont = False 109 ParentFont = False
111 TabOrder = 0 110 TabOrder = 0
112 end 111 end
113 object ArtistEdit: TEdit 112 object ArtistEdit: TEdit
114 Left = 98 113 Left = 56
115 Height = 23 114 Height = 23
116 Hint = 'Your name or handle' 115 Hint = 'Your name or handle'
117 Top = 70 116 Top = 40
118 Width = 378 117 Width = 216
119 OnChange = ArtistEditChange 118 OnChange = ArtistEditChange
120 ParentFont = False 119 ParentFont = False
121 TabOrder = 1 120 TabOrder = 1
122 end 121 end
123 object Label21: TLabel 122 object Label21: TLabel
124 Left = 14 123 Left = 8
125 Height = 15 124 Height = 15
126 Top = 136 125 Top = 78
127 Width = 114 126 Width = 114
128 Caption = 'Tempo (ticks per row)' 127 Caption = 'Tempo (ticks per row)'
129 ParentColor = False 128 ParentColor = False
130 ParentFont = False 129 ParentFont = False
131 end 130 end
132 object TicksPerRowSpinEdit: TSpinEdit 131 object TicksPerRowSpinEdit: TSpinEdit
133 Left = 233 132 Left = 133
134 Height = 23 133 Height = 23
135 Hint = 'How many ticks should happen before the row changes. Higher means slower' 134 Hint = 'How many ticks should happen before the row changes. Higher means slower'
136 Top = 128 135 Top = 73
137 Width = 88 136 Width = 50
138 MaxValue = 20 137 MaxValue = 20
139 MinValue = 1 138 MinValue = 1
140 OnChange = TicksPerRowSpinEditChange 139 OnChange = TicksPerRowSpinEditChange
@@ -161,7 +160,7 @@ object frmTracker: TfrmTracker
161 TabOrder = 0 160 TabOrder = 0
162 object HeaderControl1: THeaderControl 161 object HeaderControl1: THeaderControl
163 Left = 1 162 Left = 1
164 Height = 52 163 Height = 30
165 Hint = 'Left click to mute, right click to solo' 164 Hint = 'Left click to mute, right click to solo'
166 Top = 1 165 Top = 1
167 Width = 838 166 Width = 838
@@ -170,35 +169,35 @@ object frmTracker: TfrmTracker
170 Sections = < 169 Sections = <
171 item 170 item
172 Alignment = taLeftJustify 171 Alignment = taLeftJustify
173 Width = 56 172 Width = 32
174 Visible = True 173 Visible = True
175 end 174 end
176 item 175 item
177 Alignment = taCenter 176 Alignment = taCenter
178 ImageIndex = 1 177 ImageIndex = 1
179 Text = 'Duty 1' 178 Text = 'Duty 1'
180 Width = 233 179 Width = 133
181 Visible = True 180 Visible = True
182 end 181 end
183 item 182 item
184 Alignment = taCenter 183 Alignment = taCenter
185 ImageIndex = 1 184 ImageIndex = 1
186 Text = 'Duty 2' 185 Text = 'Duty 2'
187 Width = 233 186 Width = 133
188 Visible = True 187 Visible = True
189 end 188 end
190 item 189 item
191 Alignment = taCenter 190 Alignment = taCenter
192 ImageIndex = 1 191 ImageIndex = 1
193 Text = 'Wave' 192 Text = 'Wave'
194 Width = 233 193 Width = 133
195 Visible = True 194 Visible = True
196 end 195 end
197 item 196 item
198 Alignment = taCenter 197 Alignment = taCenter
199 ImageIndex = 1 198 ImageIndex = 1
200 Text = 'Noise' 199 Text = 'Noise'
201 Width = 233 200 Width = 133
202 Visible = True 201 Visible = True
203 end> 202 end>
204 OnSectionClick = HeaderControl1SectionClick 203 OnSectionClick = HeaderControl1SectionClick
@@ -212,12 +211,11 @@ object frmTracker: TfrmTracker
212 Height = 614 211 Height = 614
213 Top = 31 212 Top = 31
214 Width = 838 213 Width = 838
215 HorzScrollBar.Increment = 3 214 HorzScrollBar.Increment = 5
216 HorzScrollBar.Page = 32 215 HorzScrollBar.Page = 56
217 HorzScrollBar.Smooth = True 216 HorzScrollBar.Smooth = True
218 HorzScrollBar.Tracking = True 217 HorzScrollBar.Tracking = True
219 VertScrollBar.Increment = 5 218 VertScrollBar.Page = 88
220 VertScrollBar.Page = 50
221 VertScrollBar.Smooth = True 219 VertScrollBar.Smooth = True
222 VertScrollBar.Tracking = True 220 VertScrollBar.Tracking = True
223 Align = alClient 221 Align = alClient
@@ -232,11 +230,11 @@ object frmTracker: TfrmTracker
232 Left = 0 230 Left = 0
233 Height = 614 231 Height = 614
234 Top = 0 232 Top = 0
235 Width = 56 233 Width = 32
236 Align = alLeft 234 Align = alLeft
237 BorderStyle = bsNone 235 BorderStyle = bsNone
238 ColCount = 1 236 ColCount = 1
239 DefaultColWidth = 56 237 DefaultColWidth = 32
240 Enabled = False 238 Enabled = False
241 ParentFont = False 239 ParentFont = False
242 RowCount = 64 240 RowCount = 64
@@ -249,41 +247,41 @@ object frmTracker: TfrmTracker
249 Left = 0 247 Left = 0
250 Height = 646 248 Height = 646
251 Top = 0 249 Top = 0
252 Width = 392 250 Width = 224
253 Align = alLeft 251 Align = alLeft
254 AutoEdit = False 252 AutoEdit = False
255 AutoFillColumns = True 253 AutoFillColumns = True
256 Columns = < 254 Columns = <
257 item 255 item
258 Alignment = taCenter 256 Alignment = taCenter
259 MinSize = 58 257 MinSize = 33
260 MaxSize = 58 258 MaxSize = 33
261 Title.Caption = 'Dty1' 259 Title.Caption = 'Dty1'
262 Width = 61 260 Width = 34
263 end 261 end
264 item 262 item
265 Alignment = taCenter 263 Alignment = taCenter
266 MinSize = 58 264 MinSize = 33
267 MaxSize = 58 265 MaxSize = 33
268 Title.Caption = 'Dty2' 266 Title.Caption = 'Dty2'
269 Width = 61 267 Width = 34
270 end 268 end
271 item 269 item
272 Alignment = taCenter 270 Alignment = taCenter
273 MinSize = 58 271 MinSize = 33
274 MaxSize = 58 272 MaxSize = 33
275 Title.Caption = 'Wav' 273 Title.Caption = 'Wav'
276 Width = 61 274 Width = 34
277 end 275 end
278 item 276 item
279 Alignment = taCenter 277 Alignment = taCenter
280 MinSize = 58 278 MinSize = 33
281 MaxSize = 58 279 MaxSize = 33
282 Title.Caption = 'Nse' 280 Title.Caption = 'Nse'
283 Width = 63 281 Width = 37
284 end> 282 end>
285 DefaultColWidth = 30 283 DefaultColWidth = 17
286 DefaultRowHeight = 37 284 DefaultRowHeight = 21
287 ExtendedSelect = False 285 ExtendedSelect = False
288 Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goRangeSelect, goRowMoving, goEditing, goTabs, goSmoothScroll, goFixedRowNumbering, goRowHighlight] 286 Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goRangeSelect, goRowMoving, goEditing, goTabs, goSmoothScroll, goFixedRowNumbering, goRowHighlight]
289 ParentFont = False 287 ParentFont = False
@@ -303,18 +301,18 @@ object frmTracker: TfrmTracker
303 OnKeyDown = OrderEditStringGridKeyDown 301 OnKeyDown = OrderEditStringGridKeyDown
304 OnValidateEntry = OrderEditStringGridValidateEntry 302 OnValidateEntry = OrderEditStringGridValidateEntry
305 ColWidths = ( 303 ColWidths = (
306 112 304 64
307 61 305 34
308 61 306 34
309 61 307 34
310 63 308 37
311 ) 309 )
312 end 310 end
313 end 311 end
314 object InstrumentTabSheet: TTabSheet 312 object InstrumentTabSheet: TTabSheet
315 Caption = 'Instruments' 313 Caption = 'Instruments'
316 ClientHeight = 852 314 ClientHeight = 483
317 ClientWidth = 1865 315 ClientWidth = 1063
318 ParentFont = False 316 ParentFont = False
319 object PaintBox1: TPaintBox 317 object PaintBox1: TPaintBox
320 AnchorSideTop.Control = FlowPanel1 318 AnchorSideTop.Control = FlowPanel1
@@ -323,8 +321,8 @@ object frmTracker: TfrmTracker
323 Left = 0 321 Left = 0
324 Height = 0 322 Height = 0
325 Hint = 'Preview of how the resulting waveform will look with envelope applied' 323 Hint = 'Preview of how the resulting waveform will look with envelope applied'
326 Top = 852 324 Top = 483
327 Width = 1865 325 Width = 1063
328 Align = alClient 326 Align = alClient
329 Color = clBlack 327 Color = clBlack
330 ParentColor = False 328 ParentColor = False
@@ -334,9 +332,9 @@ object frmTracker: TfrmTracker
334 end 332 end
335 object FlowPanel1: TFlowPanel 333 object FlowPanel1: TFlowPanel
336 Left = 0 334 Left = 0
337 Height = 860 335 Height = 492
338 Top = 0 336 Top = 0
339 Width = 1865 337 Width = 1063
340 Align = alTop 338 Align = alTop
341 AutoSize = True 339 AutoSize = True
342 BevelOuter = bvNone 340 BevelOuter = bvNone
@@ -371,26 +369,26 @@ object frmTracker: TfrmTracker
371 ParentFont = False 369 ParentFont = False
372 TabOrder = 0 370 TabOrder = 0
373 object InstrumentGroupBox: TGroupBox 371 object InstrumentGroupBox: TGroupBox
374 Left = 12 372 Left = 7
375 Height = 422 373 Height = 241
376 Top = 12 374 Top = 7
377 Width = 474 375 Width = 271
378 Anchors = [] 376 Anchors = []
379 BorderSpacing.Left = 12 377 BorderSpacing.Left = 7
380 BorderSpacing.Top = 12 378 BorderSpacing.Top = 7
381 BorderSpacing.Right = 12 379 BorderSpacing.Right = 7
382 BorderSpacing.Bottom = 12 380 BorderSpacing.Bottom = 7
383 Caption = 'Instrument' 381 Caption = 'Instrument'
384 ClientHeight = 387 382 ClientHeight = 221
385 ClientWidth = 470 383 ClientWidth = 267
386 ParentFont = False 384 ParentFont = False
387 TabOrder = 0 385 TabOrder = 0
388 object InstrumentNumberSpinner: TSpinEdit 386 object InstrumentNumberSpinner: TSpinEdit
389 Left = 140 387 Left = 80
390 Height = 38 388 Height = 23
391 Hint = 'What instrument to edit' 389 Hint = 'What instrument to edit'
392 Top = 66 390 Top = 38
393 Width = 308 391 Width = 176
394 MaxValue = 15 392 MaxValue = 15
395 MinValue = 1 393 MinValue = 1
396 OnChange = InstrumentNumberSpinnerChange 394 OnChange = InstrumentNumberSpinnerChange
@@ -399,50 +397,50 @@ object frmTracker: TfrmTracker
399 Value = 1 397 Value = 1
400 end 398 end
401 object Label1: TLabel 399 object Label1: TLabel
402 Left = 14 400 Left = 8
403 Height = 30 401 Height = 15
404 Top = 80 402 Top = 46
405 Width = 101 403 Width = 58
406 Caption = 'Instrument' 404 Caption = 'Instrument'
407 ParentColor = False 405 ParentColor = False
408 ParentFont = False 406 ParentFont = False
409 end 407 end
410 object Label2: TLabel 408 object Label2: TLabel
411 Left = 14 409 Left = 8
412 Height = 30 410 Height = 15
413 Top = 136 411 Top = 78
414 Width = 56 412 Width = 32
415 Caption = 'Name' 413 Caption = 'Name'
416 ParentColor = False 414 ParentColor = False
417 ParentFont = False 415 ParentFont = False
418 end 416 end
419 object InstrumentNameEdit: TEdit 417 object InstrumentNameEdit: TEdit
420 Left = 140 418 Left = 80
421 Height = 38 419 Height = 23
422 Hint = 'The name of the instrument' 420 Hint = 'The name of the instrument'
423 Top = 122 421 Top = 70
424 Width = 308 422 Width = 176
425 OnChange = InstrumentNameEditChange 423 OnChange = InstrumentNameEditChange
426 ParentFont = False 424 ParentFont = False
427 TabOrder = 1 425 TabOrder = 1
428 end 426 end
429 object Label3: TLabel 427 object Label3: TLabel
430 Left = 14 428 Left = 8
431 Height = 30 429 Height = 15
432 Top = 28 430 Top = 16
433 Width = 80 431 Width = 44
434 Caption = 'Channel' 432 Caption = 'Channel'
435 Font.Style = [fsBold] 433 Font.Style = [fsBold]
436 ParentColor = False 434 ParentColor = False
437 ParentFont = False 435 ParentFont = False
438 end 436 end
439 object InstrumentTypeCombobox: TComboBox 437 object InstrumentTypeCombobox: TComboBox
440 Left = 136 438 Left = 78
441 Height = 38 439 Height = 23
442 Hint = 'What type of channel this instrument will be played on' 440 Hint = 'What type of channel this instrument will be played on'
443 Top = 14 441 Top = 8
444 Width = 312 442 Width = 178
445 ItemHeight = 30 443 ItemHeight = 15
446 ItemIndex = 0 444 ItemIndex = 0
447 Items.Strings = ( 445 Items.Strings = (
448 'Square' 446 'Square'
@@ -456,52 +454,52 @@ object frmTracker: TfrmTracker
456 Text = 'Square' 454 Text = 'Square'
457 end 455 end
458 object LengthEnabledCheckbox: TCheckBox 456 object LengthEnabledCheckbox: TCheckBox
459 Left = 21 457 Left = 12
460 Height = 34 458 Height = 19
461 Hint = 'Cut the sound after a certain length of time' 459 Hint = 'Cut the sound after a certain length of time'
462 Top = 206 460 Top = 118
463 Width = 98 461 Width = 57
464 Caption = 'Length' 462 Caption = 'Length'
465 OnChange = LengthEnabledCheckboxChange 463 OnChange = LengthEnabledCheckboxChange
466 ParentFont = False 464 ParentFont = False
467 TabOrder = 3 465 TabOrder = 3
468 end 466 end
469 object InstrumentImportButton: TButton 467 object InstrumentImportButton: TButton
470 Left = 21 468 Left = 12
471 Height = 44 469 Height = 25
472 Top = 322 470 Top = 184
473 Width = 203 471 Width = 116
474 Caption = 'Import' 472 Caption = 'Import'
475 OnClick = InstrumentImportButtonClick 473 OnClick = InstrumentImportButtonClick
476 ParentFont = False 474 ParentFont = False
477 TabOrder = 4 475 TabOrder = 4
478 end 476 end
479 object InstrumentExportButton: TButton 477 object InstrumentExportButton: TButton
480 Left = 242 478 Left = 138
481 Height = 44 479 Height = 25
482 Top = 322 480 Top = 184
483 Width = 203 481 Width = 116
484 Caption = 'Export' 482 Caption = 'Export'
485 OnClick = InstrumentExportButtonClick 483 OnClick = InstrumentExportButtonClick
486 ParentFont = False 484 ParentFont = False
487 TabOrder = 5 485 TabOrder = 5
488 end 486 end
489 object Button1: TButton 487 object Button1: TButton
490 Left = 21 488 Left = 12
491 Height = 44 489 Height = 25
492 Hint = 'Test out the instrument with a C-5 note' 490 Hint = 'Test out the instrument with a C-5 note'
493 Top = 266 491 Top = 152
494 Width = 424 492 Width = 242
495 Caption = 'Test C-5' 493 Caption = 'Test C-5'
496 OnClick = Button1Click 494 OnClick = Button1Click
497 ParentFont = False 495 ParentFont = False
498 TabOrder = 6 496 TabOrder = 6
499 end 497 end
500 object LengthTrackbar: TTrackBar 498 object LengthTrackbar: TTrackBar
501 Left = 133 499 Left = 76
502 Height = 44 500 Height = 25
503 Top = 196 501 Top = 112
504 Width = 312 502 Width = 178
505 Max = 63 503 Max = 63
506 OnChange = LengthSpinnerChange 504 OnChange = LengthSpinnerChange
507 Position = 0 505 Position = 0
@@ -511,45 +509,45 @@ object frmTracker: TfrmTracker
511 end 509 end
512 end 510 end
513 object EnvelopeGroupBox: TGroupBox 511 object EnvelopeGroupBox: TGroupBox
514 Left = 510 512 Left = 292
515 Height = 238 513 Height = 136
516 Top = 12 514 Top = 7
517 Width = 1018 515 Width = 582
518 Anchors = [] 516 Anchors = []
519 BorderSpacing.Left = 12 517 BorderSpacing.Left = 7
520 BorderSpacing.Top = 12 518 BorderSpacing.Top = 7
521 BorderSpacing.Right = 12 519 BorderSpacing.Right = 7
522 BorderSpacing.Bottom = 12 520 BorderSpacing.Bottom = 7
523 Caption = 'Envelope' 521 Caption = 'Envelope'
524 ClientHeight = 203 522 ClientHeight = 116
525 ClientWidth = 1014 523 ClientWidth = 578
526 ParentFont = False 524 ParentFont = False
527 TabOrder = 1 525 TabOrder = 1
528 object Label4: TLabel 526 object Label4: TLabel
529 Left = 14 527 Left = 8
530 Height = 30 528 Height = 15
531 Top = 16 529 Top = 9
532 Width = 80 530 Width = 46
533 Caption = 'Start vol.' 531 Caption = 'Start vol.'
534 ParentColor = False 532 ParentColor = False
535 ParentFont = False 533 ParentFont = False
536 end 534 end
537 object Label5: TLabel 535 object Label5: TLabel
538 Left = 14 536 Left = 8
539 Height = 30 537 Height = 15
540 Top = 84 538 Top = 48
541 Width = 84 539 Width = 48
542 Caption = 'Direction' 540 Caption = 'Direction'
543 ParentColor = False 541 ParentColor = False
544 ParentFont = False 542 ParentFont = False
545 end 543 end
546 object DirectionComboBox: TComboBox 544 object DirectionComboBox: TComboBox
547 Left = 144 545 Left = 82
548 Height = 38 546 Height = 23
549 Hint = 'Whether to fade the sound in or out' 547 Hint = 'Whether to fade the sound in or out'
550 Top = 80 548 Top = 46
551 Width = 346 549 Width = 198
552 ItemHeight = 30 550 ItemHeight = 15
553 ItemIndex = 1 551 ItemIndex = 1
554 Items.Strings = ( 552 Items.Strings = (
555 'Up' 553 'Up'
@@ -562,40 +560,40 @@ object frmTracker: TfrmTracker
562 Text = 'Down' 560 Text = 'Down'
563 end 561 end
564 object Label6: TLabel 562 object Label6: TLabel
565 Left = 14 563 Left = 8
566 Height = 30 564 Height = 15
567 Top = 150 565 Top = 86
568 Width = 71 566 Width = 41
569 Caption = 'Change' 567 Caption = 'Change'
570 ParentColor = False 568 ParentColor = False
571 ParentFont = False 569 ParentFont = False
572 end 570 end
573 object Panel5: TPanel 571 object Panel5: TPanel
574 Left = 525 572 Left = 300
575 Height = 182 573 Height = 104
576 Top = 0 574 Top = 0
577 Width = 472 575 Width = 270
578 BevelOuter = bvLowered 576 BevelOuter = bvLowered
579 ClientHeight = 182 577 ClientHeight = 104
580 ClientWidth = 472 578 ClientWidth = 270
581 ParentFont = False 579 ParentFont = False
582 TabOrder = 1 580 TabOrder = 1
583 object EnvelopePaintbox: TPaintBox 581 object EnvelopePaintbox: TPaintBox
584 Left = 1 582 Left = 1
585 Height = 180 583 Height = 102
586 Hint = 'Preview of the volume envelope' 584 Hint = 'Preview of the volume envelope'
587 Top = 1 585 Top = 1
588 Width = 470 586 Width = 268
589 Align = alClient 587 Align = alClient
590 ParentFont = False 588 ParentFont = False
591 OnPaint = EnvelopePaintboxPaint 589 OnPaint = EnvelopePaintboxPaint
592 end 590 end
593 end 591 end
594 object StartVolTrackbar: TTrackBar 592 object StartVolTrackbar: TTrackBar
595 Left = 144 593 Left = 82
596 Height = 44 594 Height = 25
597 Top = 14 595 Top = 8
598 Width = 343 596 Width = 196
599 Max = 15 597 Max = 15
600 OnChange = StartVolSpinnerChange 598 OnChange = StartVolSpinnerChange
601 Position = 0 599 Position = 0
@@ -603,10 +601,10 @@ object frmTracker: TfrmTracker
603 TabOrder = 2 601 TabOrder = 2
604 end 602 end
605 object EnvChangeTrackbar: TTrackBar 603 object EnvChangeTrackbar: TTrackBar
606 Left = 144 604 Left = 82
607 Height = 44 605 Height = 25
608 Top = 144 606 Top = 82
609 Width = 343 607 Width = 196
610 Max = 7 608 Max = 7
611 OnChange = EnvChangeSpinnerChange 609 OnChange = EnvChangeSpinnerChange
612 Position = 0 610 Position = 0
@@ -615,36 +613,36 @@ object frmTracker: TfrmTracker
615 end 613 end
616 end 614 end
617 object SquareGroupBox: TGroupBox 615 object SquareGroupBox: TGroupBox
618 Left = 12 616 Left = 7
619 Height = 296 617 Height = 169
620 Top = 458 618 Top = 262
621 Width = 558 619 Width = 319
622 Anchors = [] 620 Anchors = []
623 BorderSpacing.Left = 12 621 BorderSpacing.Left = 7
624 BorderSpacing.Top = 12 622 BorderSpacing.Top = 7
625 BorderSpacing.Right = 12 623 BorderSpacing.Right = 7
626 BorderSpacing.Bottom = 12 624 BorderSpacing.Bottom = 7
627 Caption = 'Square' 625 Caption = 'Square'
628 ClientHeight = 261 626 ClientHeight = 149
629 ClientWidth = 554 627 ClientWidth = 315
630 ParentFont = False 628 ParentFont = False
631 TabOrder = 2 629 TabOrder = 2
632 object Label7: TLabel 630 object Label7: TLabel
633 Left = 14 631 Left = 8
634 Height = 30 632 Height = 15
635 Top = 28 633 Top = 16
636 Width = 107 634 Width = 61
637 Caption = 'Sweep time' 635 Caption = 'Sweep time'
638 ParentColor = False 636 ParentColor = False
639 ParentFont = False 637 ParentFont = False
640 end 638 end
641 object SweepTimeCombobox: TComboBox 639 object SweepTimeCombobox: TComboBox
642 Left = 182 640 Left = 104
643 Height = 38 641 Height = 23
644 Hint = 'How long to sweep' 642 Hint = 'How long to sweep'
645 Top = 14 643 Top = 8
646 Width = 350 644 Width = 200
647 ItemHeight = 30 645 ItemHeight = 15
648 ItemIndex = 0 646 ItemIndex = 0
649 Items.Strings = ( 647 Items.Strings = (
650 'Off - no frequency change' 648 'Off - no frequency change'
@@ -665,12 +663,12 @@ object frmTracker: TfrmTracker
665 Text = 'Off - no frequency change' 663 Text = 'Off - no frequency change'
666 end 664 end
667 object SweepDirectionCombobox: TComboBox 665 object SweepDirectionCombobox: TComboBox
668 Left = 182 666 Left = 104
669 Height = 38 667 Height = 23
670 Hint = 'The direction of the sweep' 668 Hint = 'The direction of the sweep'
671 Top = 70 669 Top = 40
672 Width = 350 670 Width = 200
673 ItemHeight = 30 671 ItemHeight = 15
674 ItemIndex = 1 672 ItemIndex = 1
675 Items.Strings = ( 673 Items.Strings = (
676 'Up' 674 'Up'
@@ -685,39 +683,39 @@ object frmTracker: TfrmTracker
685 Text = 'Down' 683 Text = 'Down'
686 end 684 end
687 object Label8: TLabel 685 object Label8: TLabel
688 Left = 14 686 Left = 8
689 Height = 30 687 Height = 15
690 Top = 84 688 Top = 48
691 Width = 147 689 Width = 84
692 Caption = 'Sweep direction' 690 Caption = 'Sweep direction'
693 ParentColor = False 691 ParentColor = False
694 ParentFont = False 692 ParentFont = False
695 end 693 end
696 object Label9: TLabel 694 object Label9: TLabel
697 Left = 14 695 Left = 8
698 Height = 30 696 Height = 15
699 Top = 147 697 Top = 84
700 Width = 101 698 Width = 56
701 Caption = 'Sweep size' 699 Caption = 'Sweep size'
702 ParentColor = False 700 ParentColor = False
703 ParentFont = False 701 ParentFont = False
704 end 702 end
705 object Label10: TLabel 703 object Label10: TLabel
706 Left = 14 704 Left = 8
707 Height = 30 705 Height = 15
708 Top = 210 706 Top = 120
709 Width = 44 707 Width = 25
710 Caption = 'Duty' 708 Caption = 'Duty'
711 ParentColor = False 709 ParentColor = False
712 ParentFont = False 710 ParentFont = False
713 end 711 end
714 object DutyCombobox: TComboBox 712 object DutyCombobox: TComboBox
715 Left = 182 713 Left = 104
716 Height = 38 714 Height = 23
717 Hint = 'Which duty cycle to use (changes timbre of wave)' 715 Hint = 'Which duty cycle to use (changes timbre of wave)'
718 Top = 196 716 Top = 112
719 Width = 350 717 Width = 200
720 ItemHeight = 30 718 ItemHeight = 15
721 ItemIndex = 2 719 ItemIndex = 2
722 Items.Strings = ( 720 Items.Strings = (
723 '12.5%' 721 '12.5%'
@@ -734,10 +732,10 @@ object frmTracker: TfrmTracker
734 Text = '50% (square)' 732 Text = '50% (square)'
735 end 733 end
736 object SweepSizeTrackbar: TTrackBar 734 object SweepSizeTrackbar: TTrackBar
737 Left = 184 735 Left = 105
738 Height = 44 736 Height = 25
739 Top = 140 737 Top = 80
740 Width = 343 738 Width = 196
741 Max = 7 739 Max = 7
742 OnChange = SweepSizeSpinnerChange 740 OnChange = SweepSizeSpinnerChange
743 Position = 0 741 Position = 0
@@ -746,45 +744,45 @@ object frmTracker: TfrmTracker
746 end 744 end
747 end 745 end
748 object WaveGroupBox: TGroupBox 746 object WaveGroupBox: TGroupBox
749 Left = 594 747 Left = 340
750 Height = 296 748 Height = 169
751 Top = 458 749 Top = 262
752 Width = 520 750 Width = 297
753 Anchors = [] 751 Anchors = []
754 BorderSpacing.Left = 12 752 BorderSpacing.Left = 7
755 BorderSpacing.Top = 12 753 BorderSpacing.Top = 7
756 BorderSpacing.Right = 12 754 BorderSpacing.Right = 7
757 BorderSpacing.Bottom = 12 755 BorderSpacing.Bottom = 7
758 Caption = 'Wave' 756 Caption = 'Wave'
759 ClientHeight = 261 757 ClientHeight = 149
760 ClientWidth = 516 758 ClientWidth = 293
761 ParentFont = False 759 ParentFont = False
762 TabOrder = 3 760 TabOrder = 3
763 object Label11: TLabel 761 object Label11: TLabel
764 Left = 14 762 Left = 8
765 Height = 30 763 Height = 15
766 Top = 28 764 Top = 16
767 Width = 70 765 Width = 40
768 Caption = 'Volume' 766 Caption = 'Volume'
769 ParentColor = False 767 ParentColor = False
770 ParentFont = False 768 ParentFont = False
771 end 769 end
772 object Label12: TLabel 770 object Label12: TLabel
773 Left = 14 771 Left = 8
774 Height = 30 772 Height = 15
775 Top = 84 773 Top = 48
776 Width = 95 774 Width = 55
777 Caption = 'Waveform' 775 Caption = 'Waveform'
778 ParentColor = False 776 ParentColor = False
779 ParentFont = False 777 ParentFont = False
780 end 778 end
781 object WaveformCombobox: TComboBox 779 object WaveformCombobox: TComboBox
782 Left = 182 780 Left = 104
783 Height = 38 781 Height = 23
784 Hint = 'Which waveform is associated with this instrument' 782 Hint = 'Which waveform is associated with this instrument'
785 Top = 70 783 Top = 40
786 Width = 308 784 Width = 176
787 ItemHeight = 30 785 ItemHeight = 15
788 ItemIndex = 0 786 ItemIndex = 0
789 Items.Strings = ( 787 Items.Strings = (
790 'Wave #0' 788 'Wave #0'
@@ -811,21 +809,21 @@ object frmTracker: TfrmTracker
811 Text = 'Wave #0' 809 Text = 'Wave #0'
812 end 810 end
813 object Panel4: TPanel 811 object Panel4: TPanel
814 Left = 14 812 Left = 8
815 Height = 103 813 Height = 59
816 Top = 140 814 Top = 80
817 Width = 476 815 Width = 272
818 BevelOuter = bvLowered 816 BevelOuter = bvLowered
819 ClientHeight = 103 817 ClientHeight = 59
820 ClientWidth = 476 818 ClientWidth = 272
821 ParentFont = False 819 ParentFont = False
822 TabOrder = 1 820 TabOrder = 1
823 object WavePaintbox: TPaintBox 821 object WavePaintbox: TPaintBox
824 Left = 1 822 Left = 1
825 Height = 101 823 Height = 57
826 Hint = 'Preview of the waveform associated with this instrument' 824 Hint = 'Preview of the waveform associated with this instrument'
827 Top = 1 825 Top = 1
828 Width = 474 826 Width = 270
829 Align = alClient 827 Align = alClient
830 Color = clBlack 828 Color = clBlack
831 ParentColor = False 829 ParentColor = False
@@ -834,12 +832,12 @@ object frmTracker: TfrmTracker
834 end 832 end
835 end 833 end
836 object WaveVolumeCombobox: TComboBox 834 object WaveVolumeCombobox: TComboBox
837 Left = 182 835 Left = 104
838 Height = 38 836 Height = 23
839 Hint = 'The initial volume of the wave' 837 Hint = 'The initial volume of the wave'
840 Top = 14 838 Top = 8
841 Width = 308 839 Width = 176
842 ItemHeight = 30 840 ItemHeight = 15
843 ItemIndex = 1 841 ItemIndex = 1
844 Items.Strings = ( 842 Items.Strings = (
845 'Mute (No sound)' 843 'Mute (No sound)'
@@ -855,26 +853,26 @@ object frmTracker: TfrmTracker
855 end 853 end
856 end 854 end
857 object NoiseGroupBox: TGroupBox 855 object NoiseGroupBox: TGroupBox
858 Left = 1138 856 Left = 651
859 Height = 390 857 Height = 223
860 Top = 458 858 Top = 262
861 Width = 695 859 Width = 397
862 Anchors = [] 860 Anchors = []
863 BorderSpacing.Left = 12 861 BorderSpacing.Left = 7
864 BorderSpacing.Top = 12 862 BorderSpacing.Top = 7
865 BorderSpacing.Right = 12 863 BorderSpacing.Right = 7
866 BorderSpacing.Bottom = 12 864 BorderSpacing.Bottom = 7
867 Caption = 'Noise' 865 Caption = 'Noise'
868 ClientHeight = 355 866 ClientHeight = 203
869 ClientWidth = 691 867 ClientWidth = 393
870 ParentFont = False 868 ParentFont = False
871 TabOrder = 4 869 TabOrder = 4
872 object SevenBitCounterCheckbox: TCheckBox 870 object SevenBitCounterCheckbox: TCheckBox
873 Left = 14 871 Left = 8
874 Height = 34 872 Height = 19
875 Hint = 'Select LFSR width. When checked, output will sound like a tone rather than noise' 873 Hint = 'Select LFSR width. When checked, output will sound like a tone rather than noise'
876 Top = 14 874 Top = 8
877 Width = 373 875 Width = 215
878 Alignment = taLeftJustify 876 Alignment = taLeftJustify
879 Caption = '7 bit counter (more tone-like output)' 877 Caption = '7 bit counter (more tone-like output)'
880 OnChange = SevenBitCounterCheckboxChange 878 OnChange = SevenBitCounterCheckboxChange
@@ -882,20 +880,20 @@ object frmTracker: TfrmTracker
882 TabOrder = 0 880 TabOrder = 0
883 end 881 end
884 object Panel6: TPanel 882 object Panel6: TPanel
885 Left = 14 883 Left = 8
886 Height = 266 884 Height = 152
887 Top = 70 885 Top = 40
888 Width = 658 886 Width = 376
889 BevelOuter = bvLowered 887 BevelOuter = bvLowered
890 ClientHeight = 266 888 ClientHeight = 152
891 ClientWidth = 658 889 ClientWidth = 376
892 ParentFont = False 890 ParentFont = False
893 TabOrder = 1 891 TabOrder = 1
894 object NoiseMacroPaintbox: TPaintBox 892 object NoiseMacroPaintbox: TPaintBox
895 Left = 1 893 Left = 1
896 Height = 264 894 Height = 150
897 Top = 1 895 Top = 1
898 Width = 656 896 Width = 374
899 Align = alClient 897 Align = alClient
900 ParentFont = False 898 ParentFont = False
901 OnMouseDown = NoiseMacroPaintboxMouseDown 899 OnMouseDown = NoiseMacroPaintboxMouseDown
@@ -921,7 +919,7 @@ object frmTracker: TfrmTracker
921 Width = 1064 919 Width = 1064
922 Align = alBottom 920 Align = alBottom
923 Anchors = [akTop, akLeft, akRight, akBottom] 921 Anchors = [akTop, akLeft, akRight, akBottom]
924 BorderSpacing.Top = 23 922 BorderSpacing.Top = 13
925 ParentFont = False 923 ParentFont = False
926 PopupMenu = WaveEditPopup 924 PopupMenu = WaveEditPopup
927 OnMouseDown = WaveEditPaintBoxMouseDown 925 OnMouseDown = WaveEditPaintBoxMouseDown
@@ -930,61 +928,61 @@ object frmTracker: TfrmTracker
930 OnPaint = WaveEditPaintBoxPaint 928 OnPaint = WaveEditPaintBoxPaint
931 end 929 end
932 object WaveEditGroupBox: TGroupBox 930 object WaveEditGroupBox: TGroupBox
933 Left = 14 931 Left = 8
934 Height = 243 932 Height = 139
935 Top = 14 933 Top = 8
936 Width = 994 934 Width = 568
937 Caption = 'Wave Editor' 935 Caption = 'Wave Editor'
938 ClientHeight = 208 936 ClientHeight = 119
939 ClientWidth = 990 937 ClientWidth = 564
940 ParentFont = False 938 ParentFont = False
941 TabOrder = 0 939 TabOrder = 0
942 object Label20: TLabel 940 object Label20: TLabel
943 Left = 28 941 Left = 16
944 Height = 15 942 Height = 15
945 Top = 28 943 Top = 16
946 Width = 29 944 Width = 29
947 Caption = 'Wave' 945 Caption = 'Wave'
948 ParentColor = False 946 ParentColor = False
949 ParentFont = False 947 ParentFont = False
950 end 948 end
951 object WaveEditNumberSpinner: TSpinEdit 949 object WaveEditNumberSpinner: TSpinEdit
952 Left = 112 950 Left = 64
953 Height = 23 951 Height = 23
954 Top = 14 952 Top = 8
955 Width = 140 953 Width = 80
956 MaxValue = 15 954 MaxValue = 15
957 OnChange = WaveEditNumberSpinnerChange 955 OnChange = WaveEditNumberSpinnerChange
958 ParentFont = False 956 ParentFont = False
959 TabOrder = 0 957 TabOrder = 0
960 end 958 end
961 object ImportWaveButton: TButton 959 object ImportWaveButton: TButton
962 Left = 28 960 Left = 16
963 Height = 44 961 Height = 25
964 Hint = 'Import a wave' 962 Hint = 'Import a wave'
965 Top = 84 963 Top = 48
966 Width = 257 964 Width = 147
967 Caption = 'Import' 965 Caption = 'Import'
968 OnClick = ImportWaveButtonClick 966 OnClick = ImportWaveButtonClick
969 ParentFont = False 967 ParentFont = False
970 TabOrder = 1 968 TabOrder = 1
971 end 969 end
972 object ExportWaveButton: TButton 970 object ExportWaveButton: TButton
973 Left = 28 971 Left = 16
974 Height = 44 972 Height = 25
975 Hint = 'Export a wave' 973 Hint = 'Export a wave'
976 Top = 140 974 Top = 80
977 Width = 257 975 Width = 147
978 Caption = 'Export' 976 Caption = 'Export'
979 OnClick = ExportWaveButtonClick 977 OnClick = ExportWaveButtonClick
980 ParentFont = False 978 ParentFont = False
981 TabOrder = 2 979 TabOrder = 2
982 end 980 end
983 object HexWaveEdit: TEdit 981 object HexWaveEdit: TEdit
984 Left = 504 982 Left = 288
985 Height = 23 983 Height = 23
986 Top = 14 984 Top = 8
987 Width = 462 985 Width = 264
988 MaxLength = 32 986 MaxLength = 32
989 OnChange = HexWaveEditEditingDone 987 OnChange = HexWaveEditEditingDone
990 OnEditingDone = HexWaveEditEditingDone 988 OnEditingDone = HexWaveEditEditingDone
@@ -992,18 +990,18 @@ object frmTracker: TfrmTracker
992 TabOrder = 3 990 TabOrder = 3
993 end 991 end
994 object Label13: TLabel 992 object Label13: TLabel
995 Left = 308 993 Left = 176
996 Height = 15 994 Height = 15
997 Top = 28 995 Top = 16
998 Width = 100 996 Width = 100
999 Caption = 'Hex representation' 997 Caption = 'Hex representation'
1000 ParentColor = False 998 ParentColor = False
1001 ParentFont = False 999 ParentFont = False
1002 end 1000 end
1003 object PlayWaveWhileDrawingCheckbox: TCheckBox 1001 object PlayWaveWhileDrawingCheckbox: TCheckBox
1004 Left = 308 1002 Left = 176
1005 Height = 19 1003 Height = 19
1006 Top = 70 1004 Top = 40
1007 Width = 149 1005 Width = 149
1008 Caption = 'Play wave while drawing' 1006 Caption = 'Play wave while drawing'
1009 ParentFont = False 1007 ParentFont = False
@@ -1026,16 +1024,16 @@ object frmTracker: TfrmTracker
1026 Width = 939 1024 Width = 939
1027 Align = alBottom 1025 Align = alBottom
1028 Anchors = [akTop, akLeft, akRight, akBottom] 1026 Anchors = [akTop, akLeft, akRight, akBottom]
1029 BorderSpacing.Top = 23 1027 BorderSpacing.Top = 13
1030 MaxLength = 255 1028 MaxLength = 255
1031 OnChange = CommentMemoChange 1029 OnChange = CommentMemoChange
1032 ParentFont = False 1030 ParentFont = False
1033 TabOrder = 0 1031 TabOrder = 0
1034 end 1032 end
1035 object Label17: TLabel 1033 object Label17: TLabel
1036 Left = 14 1034 Left = 8
1037 Height = 15 1035 Height = 15
1038 Top = 14 1036 Top = 8
1039 Width = 333 1037 Width = 333
1040 Caption = 'This is an area to write comments for anyone editing your tune.' 1038 Caption = 'This is an area to write comments for anyone editing your tune.'
1041 ParentColor = False 1039 ParentColor = False
@@ -1044,27 +1042,27 @@ object frmTracker: TfrmTracker
1044 end 1042 end
1045 object RoutinesTabSheet: TTabSheet 1043 object RoutinesTabSheet: TTabSheet
1046 Caption = 'Routines' 1044 Caption = 'Routines'
1047 ClientHeight = 502 1045 ClientHeight = 483
1048 ClientWidth = 939 1046 ClientWidth = 1063
1049 ParentFont = False 1047 ParentFont = False
1050 inline RoutineSynedit: TSynEdit 1048 inline RoutineSynedit: TSynEdit
1051 AnchorSideTop.Control = Label19 1049 AnchorSideTop.Control = Label19
1052 AnchorSideTop.Side = asrBottom 1050 AnchorSideTop.Side = asrBottom
1053 Left = 0 1051 Left = 0
1054 Height = 374 1052 Height = 355
1055 Top = 128 1053 Top = 128
1056 Width = 939 1054 Width = 1063
1057 Align = alBottom 1055 Align = alBottom
1058 BorderSpacing.Top = 23 1056 BorderSpacing.Top = 13
1059 Anchors = [akTop, akLeft, akRight, akBottom] 1057 Anchors = [akTop, akLeft, akRight, akBottom]
1060 Font.Height = -23 1058 Font.Height = -13
1061 Font.Name = 'Courier New' 1059 Font.Name = 'Courier New'
1062 Font.Pitch = fpFixed 1060 Font.Pitch = fpFixed
1063 Font.Quality = fqNonAntialiased 1061 Font.Quality = fqNonAntialiased
1064 ParentColor = False 1062 ParentColor = False
1065 ParentFont = False 1063 ParentFont = False
1066 TabOrder = 0 1064 TabOrder = 0
1067 Gutter.Width = 100 1065 Gutter.Width = 57
1068 Gutter.MouseActions = <> 1066 Gutter.MouseActions = <>
1069 RightGutter.Width = 0 1067 RightGutter.Width = 0
1070 RightGutter.MouseActions = <> 1068 RightGutter.MouseActions = <>
@@ -1518,11 +1516,11 @@ object frmTracker: TfrmTracker
1518 OnChange = RoutineSyneditChange 1516 OnChange = RoutineSyneditChange
1519 inline SynLeftGutterPartList1: TSynGutterPartList 1517 inline SynLeftGutterPartList1: TSynGutterPartList
1520 object SynGutterMarks1: TSynGutterMarks 1518 object SynGutterMarks1: TSynGutterMarks
1521 Width = 42 1519 Width = 24
1522 MouseActions = <> 1520 MouseActions = <>
1523 end 1521 end
1524 object SynGutterLineNumber1: TSynGutterLineNumber 1522 object SynGutterLineNumber1: TSynGutterLineNumber
1525 Width = 29 1523 Width = 17
1526 MouseActions = <> 1524 MouseActions = <>
1527 MarkupInfo.Background = clBtnFace 1525 MarkupInfo.Background = clBtnFace
1528 MarkupInfo.Foreground = clNone 1526 MarkupInfo.Foreground = clNone
@@ -1532,19 +1530,18 @@ object frmTracker: TfrmTracker
1532 LeadingZeros = False 1530 LeadingZeros = False
1533 end 1531 end
1534 object SynGutterChanges1: TSynGutterChanges 1532 object SynGutterChanges1: TSynGutterChanges
1535 Width = 7 1533 Width = 4
1536 MouseActions = <> 1534 MouseActions = <>
1537 ModifiedColor = 59900 1535 ModifiedColor = 59900
1538 SavedColor = clGreen 1536 SavedColor = clGreen
1539 end 1537 end
1540 object SynGutterSeparator1: TSynGutterSeparator 1538 object SynGutterSeparator1: TSynGutterSeparator
1541 Width = 4 1539 Width = 2
1542 MouseActions = <> 1540 MouseActions = <>
1543 MarkupInfo.Background = clWhite 1541 MarkupInfo.Background = clWhite
1544 MarkupInfo.Foreground = clGray 1542 MarkupInfo.Foreground = clGray
1545 end 1543 end
1546 object SynGutterCodeFolding1: TSynGutterCodeFolding 1544 object SynGutterCodeFolding1: TSynGutterCodeFolding
1547 Width = 18
1548 MouseActions = <> 1545 MouseActions = <>
1549 MarkupInfo.Background = clNone 1546 MarkupInfo.Background = clNone
1550 MarkupInfo.Foreground = clGray 1547 MarkupInfo.Foreground = clGray
@@ -1554,30 +1551,29 @@ object frmTracker: TfrmTracker
1554 end 1551 end
1555 end 1552 end
1556 object Label18: TLabel 1553 object Label18: TLabel
1557 Left = 14 1554 Left = 8
1558 Height = 15 1555 Height = 15
1559 Top = 28 1556 Top = 16
1560 Width = 41 1557 Width = 41
1561 Caption = 'Routine' 1558 Caption = 'Routine'
1562 ParentColor = False 1559 ParentColor = False
1563 ParentFont = False 1560 ParentFont = False
1564 end 1561 end
1565 object RoutineNumberSpinner: TSpinEdit 1562 object RoutineNumberSpinner: TSpinEdit
1566 Left = 112 1563 Left = 64
1567 Height = 23 1564 Height = 23
1568 Top = 14 1565 Top = 8
1569 Width = 308 1566 Width = 176
1570 MaxValue = 15 1567 MaxValue = 15
1571 MinValue = 1
1572 OnChange = RoutineNumberSpinnerChange 1568 OnChange = RoutineNumberSpinnerChange
1573 ParentFont = False 1569 ParentFont = False
1574 TabOrder = 1 1570 TabOrder = 1
1575 Value = 1 1571 Value = 1
1576 end 1572 end
1577 object Label19: TLabel 1573 object Label19: TLabel
1578 Left = 14 1574 Left = 8
1579 Height = 75 1575 Height = 75
1580 Top = 70 1576 Top = 40
1581 Width = 506 1577 Width = 506
1582 Caption = 'Routines are an advanced feature of hUGETracker, and you likely won''t need them at all'#13#10'if you are only interested in composing music. If you want to create a custom effect, or interface'#13#10'with game code that you''re writing a soundtrack for, then routines will come in handy.'#13#10#13#10'Refer to the user manual for more information!' 1578 Caption = 'Routines are an advanced feature of hUGETracker, and you likely won''t need them at all'#13#10'if you are only interested in composing music. If you want to create a custom effect, or interface'#13#10'with game code that you''re writing a soundtrack for, then routines will come in handy.'#13#10#13#10'Refer to the user manual for more information!'
1583 ParentColor = False 1579 ParentColor = False
@@ -1588,21 +1584,21 @@ object frmTracker: TfrmTracker
1588 end 1584 end
1589 object Panel2: TPanel 1585 object Panel2: TPanel
1590 Left = 0 1586 Left = 0
1591 Height = 112 1587 Height = 64
1592 Top = 41 1588 Top = 25
1593 Width = 2220 1589 Width = 1269
1594 Align = alTop 1590 Align = alTop
1595 BevelOuter = bvNone 1591 BevelOuter = bvNone
1596 ClientHeight = 112 1592 ClientHeight = 64
1597 ClientWidth = 2220 1593 ClientWidth = 1269
1598 ParentFont = False 1594 ParentFont = False
1599 TabOrder = 3 1595 TabOrder = 3
1600 object LEDMeter1: TLEDMeter 1596 object LEDMeter1: TLEDMeter
1601 AnchorSideRight.Control = Duty1Visualizer 1597 AnchorSideRight.Control = Duty1Visualizer
1602 Left = 0 1598 Left = 0
1603 Height = 56 1599 Height = 32
1604 Top = 56 1600 Top = 32
1605 Width = 840 1601 Width = 481
1606 Anchors = [akTop, akLeft, akRight] 1602 Anchors = [akTop, akLeft, akRight]
1607 BevelStyle = bvLowered 1603 BevelStyle = bvLowered
1608 Colors.Border = 2168839 1604 Colors.Border = 2168839
@@ -1623,9 +1619,9 @@ object frmTracker: TfrmTracker
1623 object LEDMeter2: TLEDMeter 1619 object LEDMeter2: TLEDMeter
1624 AnchorSideRight.Control = Duty1Visualizer 1620 AnchorSideRight.Control = Duty1Visualizer
1625 Left = 0 1621 Left = 0
1626 Height = 56 1622 Height = 32
1627 Top = 0 1623 Top = 0
1628 Width = 840 1624 Width = 481
1629 Anchors = [akTop, akLeft, akRight] 1625 Anchors = [akTop, akLeft, akRight]
1630 BevelStyle = bvLowered 1626 BevelStyle = bvLowered
1631 Colors.Border = 2168839 1627 Colors.Border = 2168839
@@ -1644,40 +1640,40 @@ object frmTracker: TfrmTracker
1644 Section3Value = 48 1640 Section3Value = 48
1645 end 1641 end
1646 object Duty1Visualizer: TPaintBox 1642 object Duty1Visualizer: TPaintBox
1647 Left = 840 1643 Left = 481
1648 Height = 112 1644 Height = 64
1649 Top = 0 1645 Top = 0
1650 Width = 345 1646 Width = 197
1651 Align = alRight 1647 Align = alRight
1652 ParentFont = False 1648 ParentFont = False
1653 OnClick = Duty1VisualizerClick 1649 OnClick = Duty1VisualizerClick
1654 OnPaint = Duty1VisualizerPaint 1650 OnPaint = Duty1VisualizerPaint
1655 end 1651 end
1656 object Duty2Visualizer: TPaintBox 1652 object Duty2Visualizer: TPaintBox
1657 Left = 1185 1653 Left = 678
1658 Height = 112 1654 Height = 64
1659 Top = 0 1655 Top = 0
1660 Width = 345 1656 Width = 197
1661 Align = alRight 1657 Align = alRight
1662 ParentFont = False 1658 ParentFont = False
1663 OnClick = Duty1VisualizerClick 1659 OnClick = Duty1VisualizerClick
1664 OnPaint = Duty2VisualizerPaint 1660 OnPaint = Duty2VisualizerPaint
1665 end 1661 end
1666 object WaveVisualizer: TPaintBox 1662 object WaveVisualizer: TPaintBox
1667 Left = 1530 1663 Left = 875
1668 Height = 112 1664 Height = 64
1669 Top = 0 1665 Top = 0
1670 Width = 345 1666 Width = 197
1671 Align = alRight 1667 Align = alRight
1672 ParentFont = False 1668 ParentFont = False
1673 OnClick = Duty1VisualizerClick 1669 OnClick = Duty1VisualizerClick
1674 OnPaint = WaveVisualizerPaint 1670 OnPaint = WaveVisualizerPaint
1675 end 1671 end
1676 object NoiseVisualizer: TPaintBox 1672 object NoiseVisualizer: TPaintBox
1677 Left = 1875 1673 Left = 1072
1678 Height = 112 1674 Height = 64
1679 Top = 0 1675 Top = 0
1680 Width = 345 1676 Width = 197
1681 Align = alRight 1677 Align = alRight
1682 ParentFont = False 1678 ParentFont = False
1683 OnClick = Duty1VisualizerClick 1679 OnClick = Duty1VisualizerClick
@@ -1686,19 +1682,19 @@ object frmTracker: TfrmTracker
1686 end 1682 end
1687 object StatusBar1: TStatusBar 1683 object StatusBar1: TStatusBar
1688 Left = 0 1684 Left = 0
1689 Height = 43 1685 Height = 23
1690 Top = 1048 1686 Top = 600
1691 Width = 2220 1687 Width = 1269
1692 AutoHint = True 1688 AutoHint = True
1693 Panels = < 1689 Panels = <
1694 item 1690 item
1695 Width = 817 1691 Width = 467
1696 end 1692 end
1697 item 1693 item
1698 Width = 350 1694 Width = 200
1699 end 1695 end
1700 item 1696 item
1701 Width = 350 1697 Width = 200
1702 end> 1698 end>
1703 ParentFont = False 1699 ParentFont = False
1704 ParentShowHint = False 1700 ParentShowHint = False
@@ -1707,9 +1703,9 @@ object frmTracker: TfrmTracker
1707 end 1703 end
1708 object ToolBar1: TToolBar 1704 object ToolBar1: TToolBar
1709 Left = 0 1705 Left = 0
1710 Height = 41 1706 Height = 25
1711 Top = 0 1707 Top = 0
1712 Width = 2220 1708 Width = 1269
1713 AutoSize = True 1709 AutoSize = True
1714 Caption = 'ToolBar1' 1710 Caption = 'ToolBar1'
1715 EdgeBorders = [ebBottom] 1711 EdgeBorders = [ebBottom]
@@ -1726,7 +1722,7 @@ object frmTracker: TfrmTracker
1726 ParentShowHint = False 1722 ParentShowHint = False
1727 end 1723 end
1728 object PanicToolButton: TToolButton 1724 object PanicToolButton: TToolButton
1729 Left = 851 1725 Left = 551
1730 Hint = 'Stops all sound output' 1726 Hint = 'Stops all sound output'
1731 Top = 0 1727 Top = 0
1732 AutoSize = True 1728 AutoSize = True
@@ -1737,17 +1733,17 @@ object frmTracker: TfrmTracker
1737 ShowHint = True 1733 ShowHint = True
1738 end 1734 end
1739 object ToolButton2: TToolButton 1735 object ToolButton2: TToolButton
1740 Left = 221 1736 Left = 145
1741 Top = 0 1737 Top = 0
1742 Action = PlayCursorAction 1738 Action = PlayCursorAction
1743 end 1739 end
1744 object ToolButton4: TToolButton 1740 object ToolButton4: TToolButton
1745 Left = 331 1741 Left = 219
1746 Top = 0 1742 Top = 0
1747 Action = StopAction 1743 Action = StopAction
1748 end 1744 end
1749 object ExportGBButton: TToolButton 1745 object ExportGBButton: TToolButton
1750 Left = 442 1746 Left = 287
1751 Hint = 'Export the song as a standalone ROM' 1747 Hint = 'Export the song as a standalone ROM'
1752 Top = 0 1748 Top = 0
1753 AutoSize = True 1749 AutoSize = True
@@ -1756,49 +1752,49 @@ object frmTracker: TfrmTracker
1756 OnClick = ExportGBButtonClick 1752 OnClick = ExportGBButtonClick
1757 end 1753 end
1758 object ToolButton8: TToolButton 1754 object ToolButton8: TToolButton
1759 Left = 120 1755 Left = 79
1760 Height = 39 1756 Height = 22
1761 Top = 0 1757 Top = 0
1762 Caption = 'ToolButton8' 1758 Caption = 'ToolButton8'
1763 Style = tbsDivider 1759 Style = tbsDivider
1764 end 1760 end
1765 object ToolButton6: TToolButton 1761 object ToolButton6: TToolButton
1766 Left = 433 1762 Left = 284
1767 Height = 39 1763 Height = 22
1768 Top = 0 1764 Top = 0
1769 Caption = 'ToolButton6' 1765 Caption = 'ToolButton6'
1770 Style = tbsDivider 1766 Style = tbsDivider
1771 end 1767 end
1772 object ToolButton7: TToolButton 1768 object ToolButton7: TToolButton
1773 Left = 1775 1769 Left = 1088
1774 Height = 39 1770 Height = 22
1775 Top = 0 1771 Top = 0
1776 Caption = 'ToolButton7' 1772 Caption = 'ToolButton7'
1777 Style = tbsSeparator 1773 Style = tbsSeparator
1778 end 1774 end
1779 object OctaveSpinEdit: TSpinEdit 1775 object OctaveSpinEdit: TSpinEdit
1780 Left = 1016 1776 Left = 654
1781 Height = 38 1777 Height = 23
1782 Hint = 'The octave offset for entering new notes' 1778 Hint = 'The octave offset for entering new notes'
1783 Top = 0 1779 Top = 0
1784 Width = 114 1780 Width = 65
1785 MaxValue = 5 1781 MaxValue = 5
1786 OnChange = OctaveSpinEditChange 1782 OnChange = OctaveSpinEditChange
1787 ParentFont = False 1783 ParentFont = False
1788 TabOrder = 0 1784 TabOrder = 0
1789 end 1785 end
1790 object ToolButton9: TToolButton 1786 object ToolButton9: TToolButton
1791 Left = 927 1787 Left = 606
1792 Height = 39 1788 Height = 22
1793 Top = 0 1789 Top = 0
1794 Caption = 'ToolButton9' 1790 Caption = 'ToolButton9'
1795 Style = tbsSeparator 1791 Style = tbsSeparator
1796 end 1792 end
1797 object Label22: TLabel 1793 object Label22: TLabel
1798 Left = 941 1794 Left = 611
1799 Height = 39 1795 Height = 22
1800 Top = 0 1796 Top = 0
1801 Width = 75 1797 Width = 43
1802 AutoSize = False 1798 AutoSize = False
1803 Caption = 'Octave ' 1799 Caption = 'Octave '
1804 Layout = tlCenter 1800 Layout = tlCenter
@@ -1806,10 +1802,10 @@ object frmTracker: TfrmTracker
1806 ParentFont = False 1802 ParentFont = False
1807 end 1803 end
1808 object Label23: TLabel 1804 object Label23: TLabel
1809 Left = 1130 1805 Left = 719
1810 Height = 39 1806 Height = 22
1811 Top = 0 1807 Top = 0
1812 Width = 122 1808 Width = 70
1813 AutoSize = False 1809 AutoSize = False
1814 Caption = ' Instrument ' 1810 Caption = ' Instrument '
1815 Layout = tlCenter 1811 Layout = tlCenter
@@ -1817,13 +1813,13 @@ object frmTracker: TfrmTracker
1817 ParentFont = False 1813 ParentFont = False
1818 end 1814 end
1819 object InstrumentComboBox: TComboBox 1815 object InstrumentComboBox: TComboBox
1820 Left = 1252 1816 Left = 789
1821 Height = 38 1817 Height = 23
1822 Hint = 'The selected instrument for new notes' 1818 Hint = 'The selected instrument for new notes'
1823 Top = 0 1819 Top = 0
1824 Width = 374 1820 Width = 214
1825 DropDownCount = 999 1821 DropDownCount = 999
1826 ItemHeight = 30 1822 ItemHeight = 15
1827 ItemIndex = 0 1823 ItemIndex = 0
1828 Items.Strings = ( 1824 Items.Strings = (
1829 '(no instrument)' 1825 '(no instrument)'
@@ -1835,10 +1831,10 @@ object frmTracker: TfrmTracker
1835 Text = '(no instrument)' 1831 Text = '(no instrument)'
1836 end 1832 end
1837 object Label24: TLabel 1833 object Label24: TLabel
1838 Left = 1626 1834 Left = 1003
1839 Height = 39 1835 Height = 22
1840 Top = 0 1836 Top = 0
1841 Width = 61 1837 Width = 35
1842 AutoSize = False 1838 AutoSize = False
1843 Caption = ' Step ' 1839 Caption = ' Step '
1844 Layout = tlCenter 1840 Layout = tlCenter
@@ -1846,23 +1842,23 @@ object frmTracker: TfrmTracker
1846 ParentFont = False 1842 ParentFont = False
1847 end 1843 end
1848 object StepSpinEdit: TSpinEdit 1844 object StepSpinEdit: TSpinEdit
1849 Left = 1687 1845 Left = 1038
1850 Height = 38 1846 Height = 23
1851 Hint = 'How many rows to step down after entering a new note' 1847 Hint = 'How many rows to step down after entering a new note'
1852 Top = 0 1848 Top = 0
1853 Width = 88 1849 Width = 50
1854 MaxValue = 63 1850 MaxValue = 63
1855 OnChange = StepSpinEditChange 1851 OnChange = StepSpinEditChange
1856 ParentFont = False 1852 ParentFont = False
1857 TabOrder = 2 1853 TabOrder = 2
1858 end 1854 end
1859 object ToolButton3: TToolButton 1855 object ToolButton3: TToolButton
1860 Left = 129 1856 Left = 82
1861 Top = 0 1857 Top = 0
1862 Action = PlayStartAction 1858 Action = PlayStartAction
1863 end 1859 end
1864 object ExportGBSButton: TToolButton 1860 object ExportGBSButton: TToolButton
1865 Left = 564 1861 Left = 368
1866 Hint = 'Export the song as a GBS soundtrack' 1862 Hint = 'Export the song as a GBS soundtrack'
1867 Top = 0 1863 Top = 0
1868 Caption = 'Export .GBS' 1864 Caption = 'Export .GBS'
@@ -1870,14 +1866,14 @@ object frmTracker: TfrmTracker
1870 OnClick = ExportGBSButtonClick 1866 OnClick = ExportGBSButtonClick
1871 end 1867 end
1872 object ToolButton5: TToolButton 1868 object ToolButton5: TToolButton
1873 Left = 842 1869 Left = 548
1874 Height = 39 1870 Height = 22
1875 Top = 0 1871 Top = 0
1876 Caption = 'ToolButton5' 1872 Caption = 'ToolButton5'
1877 Style = tbsDivider 1873 Style = tbsDivider
1878 end 1874 end
1879 object ToolButton10: TToolButton 1875 object ToolButton10: TToolButton
1880 Left = 697 1876 Left = 455
1881 Hint = 'Export the song as WAV or MP3' 1877 Hint = 'Export the song as WAV or MP3'
1882 Top = 0 1878 Top = 0
1883 Caption = 'Render Song' 1879 Caption = 'Render Song'
@@ -1887,8 +1883,8 @@ object frmTracker: TfrmTracker
1887 end 1883 end
1888 object MainMenu1: TMainMenu 1884 object MainMenu1: TMainMenu
1889 Images = ImageList1 1885 Images = ImageList1
1890 Left = 70 1886 Left = 40
1891 Top = 56 1887 Top = 32
1892 object MenuItem1: TMenuItem 1888 object MenuItem1: TMenuItem
1893 Caption = 'File' 1889 Caption = 'File'
1894 object MenuItem33: TMenuItem 1890 object MenuItem33: TMenuItem
@@ -2030,13 +2026,12 @@ object frmTracker: TfrmTracker
2030 object DebugShiteButton: TMenuItem 2026 object DebugShiteButton: TMenuItem
2031 Caption = 'Debug shite' 2027 Caption = 'Debug shite'
2032 Visible = False 2028 Visible = False
2033 OnClick = DebugShiteButtonClick
2034 end 2029 end
2035 end 2030 end
2036 object MenuBarActionList: TActionList 2031 object MenuBarActionList: TActionList
2037 Images = ImageList1 2032 Images = ImageList1
2038 Left = 182 2033 Left = 104
2039 Top = 126 2034 Top = 72
2040 object FileOpen1: TFileOpen 2035 object FileOpen1: TFileOpen
2041 Category = 'File' 2036 Category = 'File'
2042 Caption = '&Open ...' 2037 Caption = '&Open ...'
@@ -2139,8 +2134,8 @@ object frmTracker: TfrmTracker
2139 end 2134 end
2140 end 2135 end
2141 object ImageList1: TImageList 2136 object ImageList1: TImageList
2142 Left = 266 2137 Left = 152
2143 Top = 56 2138 Top = 32
2144 Bitmap = { 2139 Bitmap = {
2145 4C694E0000001000000010000000000000000000000000000000000000000000 2140 4C694E0000001000000010000000000000000000000000000000000000000000
2146 0000000000000000000000000000000000000000000000000000000000000000 2141 0000000000000000000000000000000000000000000000000000000000000000
@@ -4643,17 +4638,17 @@ object frmTracker: TfrmTracker
4643 end 4638 end
4644 object OpenDialog1: TOpenDialog 4639 object OpenDialog1: TOpenDialog
4645 Filter = 'hUGETracker Instruments|*.ugi' 4640 Filter = 'hUGETracker Instruments|*.ugi'
4646 Left = 140 4641 Left = 80
4647 Top = 98 4642 Top = 56
4648 end 4643 end
4649 object InstrumentSaveDialog: TSaveDialog 4644 object InstrumentSaveDialog: TSaveDialog
4650 Filter = 'hUGETracker Instruments|*.ugi' 4645 Filter = 'hUGETracker Instruments|*.ugi'
4651 Left = 140 4646 Left = 80
4652 Top = 98 4647 Top = 56
4653 end 4648 end
4654 object OrderEditPopup: TPopupMenu 4649 object OrderEditPopup: TPopupMenu
4655 Left = 224 4650 Left = 128
4656 Top = 70 4651 Top = 40
4657 object MenuItem17: TMenuItem 4652 object MenuItem17: TMenuItem
4658 Caption = 'Insert new row' 4653 Caption = 'Insert new row'
4659 Hint = 'Insert a new row filled with brand new patterns' 4654 Hint = 'Insert a new row filled with brand new patterns'
@@ -4684,8 +4679,8 @@ object frmTracker: TfrmTracker
4684 object ImageList2: TImageList 4679 object ImageList2: TImageList
4685 Height = 32 4680 Height = 32
4686 Width = 32 4681 Width = 32
4687 Left = 84 4682 Left = 48
4688 Top = 151 4683 Top = 86
4689 Bitmap = { 4684 Bitmap = {
4690 4C69020000002000000020000000000000000000000000000000000000000000 4685 4C69020000002000000020000000000000000000000000000000000000000000
4691 0000000000000000000000000000000000000000000000000000000000000000 4686 0000000000000000000000000000000000000000000000000000000000000000
@@ -4950,33 +4945,33 @@ object frmTracker: TfrmTracker
4950 Enabled = False 4945 Enabled = False
4951 Interval = 200 4946 Interval = 200
4952 OnTimer = OscilloscopeUpdateTimerTimer 4947 OnTimer = OscilloscopeUpdateTimerTimer
4953 Left = 154 4948 Left = 88
4954 Top = 84 4949 Top = 48
4955 end 4950 end
4956 object GBSSaveDialog: TSaveDialog 4951 object GBSSaveDialog: TSaveDialog
4957 Filter = 'Gameboy Soundtrack|*.gbs' 4952 Filter = 'Gameboy Soundtrack|*.gbs'
4958 Left = 504 4953 Left = 288
4959 Top = 42 4954 Top = 24
4960 end 4955 end
4961 object WaveSaveDialog: TSaveDialog 4956 object WaveSaveDialog: TSaveDialog
4962 Filter = 'hUGETracker Waves|*.ugw' 4957 Filter = 'hUGETracker Waves|*.ugw'
4963 Left = 644 4958 Left = 368
4964 Top = 42 4959 Top = 24
4965 end 4960 end
4966 object GBSaveDialog: TSaveDialog 4961 object GBSaveDialog: TSaveDialog
4967 Filter = 'Gameboy ROM|*.GB' 4962 Filter = 'Gameboy ROM|*.GB'
4968 Left = 574 4963 Left = 328
4969 Top = 42 4964 Top = 24
4970 end 4965 end
4971 object NoteHaltTimer: TTimer 4966 object NoteHaltTimer: TTimer
4972 Enabled = False 4967 Enabled = False
4973 OnTimer = NoteHaltTimerTimer 4968 OnTimer = NoteHaltTimerTimer
4974 Left = 140 4969 Left = 80
4975 Top = 151 4970 Top = 86
4976 end 4971 end
4977 object TrackerGridPopup: TPopupMenu 4972 object TrackerGridPopup: TPopupMenu
4978 Left = 168 4973 Left = 96
4979 Top = 42 4974 Top = 24
4980 object TrackerPopupEditEffect: TMenuItem 4975 object TrackerPopupEditEffect: TMenuItem
4981 Caption = 'Edit effect ...' 4976 Caption = 'Edit effect ...'
4982 OnClick = TrackerPopupEditEffectClick 4977 OnClick = TrackerPopupEditEffectClick
@@ -5123,8 +5118,8 @@ object frmTracker: TfrmTracker
5123 object WavSaveDialog: TSaveDialog 5118 object WavSaveDialog: TSaveDialog
5124 DefaultExt = '.wav' 5119 DefaultExt = '.wav'
5125 Filter = 'Wave files|*.wav' 5120 Filter = 'Wave files|*.wav'
5126 Left = 714 5121 Left = 408
5127 Top = 42 5122 Top = 24
5128 end 5123 end
5129 object SynAnySyn1: TSynAnySyn 5124 object SynAnySyn1: TSynAnySyn
5130 Enabled = False 5125 Enabled = False
@@ -5248,18 +5243,18 @@ object frmTracker: TfrmTracker
5248 Entity = False 5243 Entity = False
5249 DollarVariables = False 5244 DollarVariables = False
5250 ActiveDot = False 5245 ActiveDot = False
5251 Left = 14 5246 Left = 8
5252 Top = 151 5247 Top = 86
5253 end 5248 end
5254 object MODOpenDialog: TOpenDialog 5249 object MODOpenDialog: TOpenDialog
5255 DefaultExt = '.mod' 5250 DefaultExt = '.mod'
5256 Filter = 'GBT Player MOD files|*.mod' 5251 Filter = 'GBT Player MOD files|*.mod'
5257 Left = 784 5252 Left = 448
5258 Top = 56 5253 Top = 32
5259 end 5254 end
5260 object WaveEditPopup: TPopupMenu 5255 object WaveEditPopup: TPopupMenu
5261 Left = 14 5256 Left = 8
5262 Top = 56 5257 Top = 32
5263 object MenuItem37: TMenuItem 5258 object MenuItem37: TMenuItem
5264 Caption = 'Copy' 5259 Caption = 'Copy'
5265 OnClick = MenuItem37Click 5260 OnClick = MenuItem37Click
@@ -5271,8 +5266,8 @@ object frmTracker: TfrmTracker
5271 end 5266 end
5272 object ShortcutsActionList: TActionList 5267 object ShortcutsActionList: TActionList
5273 Images = ImageList1 5268 Images = ImageList1
5274 Left = 364 5269 Left = 208
5275 Top = 56 5270 Top = 32
5276 object PlayStartAction: TAction 5271 object PlayStartAction: TAction
5277 Caption = '▶️ Start' 5272 Caption = '▶️ Start'
5278 DisableIfNoHandler = False 5273 DisableIfNoHandler = False
@@ -5387,17 +5382,17 @@ object frmTracker: TfrmTracker
5387 end 5382 end
5388 object GBDKCSaveDialog: TSaveDialog 5383 object GBDKCSaveDialog: TSaveDialog
5389 Filter = 'GBDK C File|*.c' 5384 Filter = 'GBDK C File|*.c'
5390 Left = 434 5385 Left = 248
5391 Top = 42 5386 Top = 24
5392 end 5387 end
5393 object RGBDSObjSaveDialog: TSaveDialog 5388 object RGBDSObjSaveDialog: TSaveDialog
5394 Filter = 'RGBDS Object|*.obj' 5389 Filter = 'RGBDS Object|*.obj'
5395 Left = 434 5390 Left = 248
5396 Top = 112 5391 Top = 64
5397 end 5392 end
5398 object GBDKObjSaveDialog: TSaveDialog 5393 object GBDKObjSaveDialog: TSaveDialog
5399 Filter = 'GBDK Object|*.o' 5394 Filter = 'GBDK Object|*.o'
5400 Left = 504 5395 Left = 288
5401 Top = 112 5396 Top = 64
5402 end 5397 end
5403 end 5398 end
Modifiedtracker.pas +2−8
@@ -326,7 +326,6 @@ type
326 procedure InstrumentNumberSpinnerChange(Sender: TObject); 326 procedure InstrumentNumberSpinnerChange(Sender: TObject);
327 procedure LengthSpinnerChange(Sender: TObject); 327 procedure LengthSpinnerChange(Sender: TObject);
328 procedure DebugPlayNoteButtonClick(Sender: TObject); 328 procedure DebugPlayNoteButtonClick(Sender: TObject);
329 procedure DebugShiteButtonClick(Sender: TObject);
330 procedure MenuItem11Click(Sender: TObject); 329 procedure MenuItem11Click(Sender: TObject);
331 procedure MenuItem12Click(Sender: TObject); 330 procedure MenuItem12Click(Sender: TObject);
332 procedure MenuItem14Click(Sender: TObject); 331 procedure MenuItem14Click(Sender: TObject);
@@ -496,8 +495,8 @@ begin
496 LoadInstrument(itSquare, 1); 495 LoadInstrument(itSquare, 1);
497 LoadWave(0); 496 LoadWave(0);
498 497
499 RoutineSynedit.Text := Song.Routines[1]; 498 RoutineSynedit.Text := Song.Routines[0];
500 RoutineNumberSpinner.Value := 1; 499 RoutineNumberSpinner.Value := 0;
501 500
502 SongEdit.Text := Song.Name; 501 SongEdit.Text := Song.Name;
503 ArtistEdit.Text := Song.Artist; 502 ArtistEdit.Text := Song.Artist;
@@ -1984,11 +1983,6 @@ begin
1984 //PreviewInstrument(NotesToFreqs.KeyData[C_5], InstrumentComboBox.ItemIndex); 1983 //PreviewInstrument(NotesToFreqs.KeyData[C_5], InstrumentComboBox.ItemIndex);
1985 end; 1984 end;
1986 1985
1987 procedure TfrmTracker.DebugShiteButtonClick(Sender: TObject);
1988 begin
1989
1990 end;
1991
1992 procedure TfrmTracker.MenuItem11Click(Sender: TObject); 1986 procedure TfrmTracker.MenuItem11Click(Sender: TObject);
1993 begin 1987 begin
1994 TrackerGrid.DoUndo; 1988 TrackerGrid.DoUndo;