|
4 | 4 | **********************************************************************/ |
5 | 5 | // TrackEndWarning: "true": when you reach the end of the track, |
6 | 6 | // the jog wheel Button will flash. "false": No flash of Jog Wheel Button |
7 | | -const TrackEndWarning = engine.getSetting("TrackEndWarning") === "true"; |
| 7 | +const TrackEndWarning = engine.getSetting("TrackEndWarning") === true; |
8 | 8 |
|
9 | 9 | //iCutEnabled: iCut mode will automatically cut your track with the cross fader |
10 | 10 | // when SHIFT enabled and scratching with the jog wheel |
11 | | -const iCutEnabled = engine.getSetting("iCutEnabled") === "true"; |
| 11 | +const iCutEnabled = engine.getSetting("iCutEnabled") === true; |
12 | 12 |
|
13 | 13 | //activate PFL of deck on track load |
14 | | -const smartPFL = engine.getSetting("smartPFL") === "true"; |
| 14 | +const smartPFL = engine.getSetting("smartPFL") === true; |
15 | 15 |
|
16 | 16 | //Disable Play on Sync button Double Press |
17 | | -const noPlayOnSyncDoublePress = engine.getSetting("noPlayOnSyncDoublePress") === "true"; |
| 17 | +const noPlayOnSyncDoublePress = engine.getSetting("noPlayOnSyncDoublePress") === true; |
18 | 18 |
|
19 | 19 | // Shift+Filter control behavior |
20 | 20 | // true (default) - FX parameter 4 (when the FX is focused) |
21 | 21 | // false - Channel Gain |
22 | | -const ShiftFilterFX4 = engine.getSetting("ShiftFilterFX4") === "true"; |
| 22 | +const ShiftFilterFX4 = engine.getSetting("ShiftFilterFX4") === true; |
23 | 23 |
|
24 | 24 | // allow pitch bend with wheel when wheel is not active |
25 | | -const PitchBendOnWheelOff = engine.getSetting("PitchBendOnWheelOff") === "true"; |
| 25 | +const PitchBendOnWheelOff = engine.getSetting("PitchBendOnWheelOff") === true; |
26 | 26 |
|
27 | 27 | /************************** |
28 | 28 | * scriptpause |
|
0 commit comments