-
Notifications
You must be signed in to change notification settings - Fork 120
/
mixxx_controls.rst
4819 lines (2869 loc) · 146 KB
/
mixxx_controls.rst
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
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.. include:: /shortcuts.rstext
.. _appendix-mixxxcontrols:
Mixxx Controls
==============
Nearly every knob, button, or fader you see in Mixxx's interface is
controllable via Mixxx's "control" system. The control system allows
skins, :term:`MIDI` controllers, :term:`HID` controllers and keyboards
to control Mixxx via a single interface.
A control is identified by a "group" (which is used for grouping
associated controls) and a "key" (the name of the individual control).
For example, the volume fader for Deck 1 is identified by the group
:mixxx:cogroupref:`[Channel1] <[ChannelN]>` and key :mixxx:coref:`volume <[Channel1],volume>`.
Similarly, the volume fader for Sampler 1 is identified by the group
:mixxx:cogroupref:`[Sampler1] <[SamplerN]>` and key :mixxx:coref:`volume <[Sampler1],volume>`.
The group is used to collect all the controls that affect one component
of Mixxx into one collection. Some groups have a high overlap of
controls in common (e.g. samplers, decks, and the preview deck all share
the same control keys).
In addition to controlling Mixxx, the control system can be used to
inspect Mixxx's state. For example, the sample rate of the track loaded
in Deck 1 can be accessed via the :mixxx:coref:`[Channel1],track_samplerate`
control. You can read the :mixxx:coref:`[Channel3],play` control to determine
whether Deck 3 is playing.
The default value range is 0.0 to 1.0, unless otherwise noted. Binary means
that it is either 'ON' (non-zero) or 'OFF' (zero).
.. hint:: Discovering Controls used in Skins
You can view the control connected to any part of a skin by running
Mixxx with the ``--developer`` command line option and hovering your mouse
cursor over part of the skin. If no tooltip appears, enable tooltips for
the Library and Skin in :menuselection:`Options --> Preferences --> Interface`.
.. hint:: Changing any control from the GUI in Developer Mode
When running Mixxx in Developer Mode (with the ``--developer`` command
line option), you can view and manually set the state of any control in
Mixxx by going to :menuselection:`Developer --> Developer Tools`.
.. hint:: Simplify mapping of more complex behaviour
While simple mappings with just a few buttons, knobs and LEDs can easily
be created with the MIDI Wizard and some basic scripting, implementing more
complex behaviour like switching deck layers or pad grid modes can be tedious
and error-prone. For these cases you can use Mixxx' `Comonents-JS library <https://github.com/mixxxdj/mixxx/wiki/Components-JS>`_
which provides building blocks for single controls as well as entire
containers like decks and effect units.
.. seealso:: See :ref:`controlindex` for a full list.
.. _appendix-mixxxcontrols-controlpotmeter:
ControlPotMeter controls
~~~~~~~~~~~~~~~~~~~~~~~~
The following extensions add some features to ``ControlPotMeter`` controls
(volume, :term:`crossfader`, ...). Use in conjunction with ``[ChannelN]``,
``[SamplerN]``, ``[Master]``, ... groups.
================== ============================================================
Control Suffix Description, example
================== ============================================================
``_up`` Increases the value, e.g. :mixxx:coref:`[ChannelN],rate_perm_up` sets the speed one step higher (4 % default)
``_down`` Decreases the value, sets the speed one step lower (4 % default)
``_up_small`` Increases the value by smaller step, sets the speed one small step higher (1 % default)
``_down_small`` Decreases the value by smaller step, sets the speed one small step lower (1 % default)
``_set_one`` Sets the value to 1.0, sets the channel volume to full
``_set_minus_one`` Sets the value to -1.0, sets the channel volume to zero
``_set_default`` Input: sets the control to its default, return to default waveform zoom level
``_set_default`` Output: set to 1.0 if the control is at its default, light up the pitch fader center indicator
``_set_zero`` Sets the value to 0.0, put the crossfader in the middle again
``_toggle`` Sets the value to 0.0 if the value was > 0.0, and to 1.0 if the value was 0.0, will cut off/on a track while you're playing
``_minus_toggle`` Sets the value to -1.0 if the value was > -1.0, and to 1.0 if the value was -1.0, can tilt the crossfader from left to right
================== ============================================================
These controls can be used in JavaScript files like this:
.. code-block:: javascript
// This won't work:
engine.setValue(group, "pitch_up_small", 1.0);
// Use this instead:
script.triggerControl(group, "pitch_up_small", 50);
To use ``*_toggle`` the respective shortcut for scripts is:
.. code-block:: javascript
script.toggleControl(group, "keylock_toggle", 100);
The ``[App]`` group
~~~~~~~~~~~~~~~~~~~
The :mixxx:cogroupref:`[App]` group contains controls that do not belong to a specific channel, the mixer or the effects engine.
.. mixxx:control:: [App],indicator_250ms
Alternates between 0.0 and 1.0 every 250 milliseconds.
This control may be used to implement a blinking LED in JavaScript and is
guaranteed to light up at the same time as
:mixxx:coref:`[ChannelN],cue_indicator` and
:mixxx:coref:`[ChannelN],play_indicator` when these are blinking (depending
on the currently chosen :ref:`cue mode <interface-cue-modes>`).
:range: binary, read-only
:feedback: None
.. versionadded:: 2.4.0
.. mixxx:control:: [App],indicator_500ms
Alternates between 0.0 and 1.0 every 500 milliseconds.
This control may be used to implement a blinking LED in JavaScript and is
guaranteed to light up at the same time as
:mixxx:coref:`[ChannelN],cue_indicator` and
:mixxx:coref:`[ChannelN],play_indicator` when these are blinking (depending
on the currently chosen :ref:`cue mode <interface-cue-modes>`).
:range: binary, read-only
:feedback: None
.. versionadded:: 2.4.0
.. mixxx:control:: [App],num_decks
The number of decks currently enabled.
:range: integer
:feedback: None
.. versionadded:: 2.4.0
Replaces the deprecated :mixxx:coref:`[Master],num_decks` control.
.. mixxx:control:: [App],num_samplers
The number of samplers currently enabled.
:range: integer
:feedback: None
.. versionadded:: 2.4.0
Replaces the deprecated :mixxx:coref:`[Master],num_samplers` control.
.. mixxx:control:: [App],num_preview_decks
The number of preview decks currently enabled.
:range: integer
:feedback: None
.. versionadded:: 2.4.0
Replaces the deprecated :mixxx:coref:`[Master],num_preview_decks` control.
.. mixxx:control:: [App],num_microphones
The number of microphone inputs that can be configured.
:range: integer
:feedback: None
.. versionadded:: 2.4.0
Replaces the deprecated :mixxx:coref:`[Master],num_microphones` control.
.. mixxx:control:: [App],num_auxiliaries
The number of auxiliary inputs that can be configured.
:range: integer
:feedback: None
.. versionadded:: 2.4.0
Replaces the deprecated :mixxx:coref:`[Master],num_auxiliaries` control.
.. mixxx:control:: [App],samplerate
The current output sample rate (default: 44100 Hz).
:range: absolute value (in Hz)
:feedback: None
.. versionadded:: 2.4.0
Replaces the deprecated :mixxx:coref:`[Master],samplerate` control.
The ``[Master]`` group
~~~~~~~~~~~~~~~~~~~~~~
The :mixxx:cogroupref:`[Master]` group generally corresponds to controls that affect the mixing engine.
This will bear some similarity to what you will find on a DJ mixer (e.g. :term:`crossfader` controls, headphone cueing controls, etc.).
.. mixxx:control:: [Master],audio_latency_usage
Reflects fraction of :term:`latency`, given by the audio buffer size, spend for audio processing inside Mixxx. At value near 25 % there is a high risk of buffer underflows
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: 0 .. 25 %
:feedback: latency meter
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],audio_latency_overload
Indicates a buffer under or over-flow. Resets after 500 ms
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: binary
:feedback: Overload indicator
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],audio_latency_overload_count
Counts buffer over and under-flows. Max one per 500 ms
:range: 0 .. n
:feedback: Counter in hardware preferences
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],balance
Adjusts the left/right channel balance on the Main output.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: -1.0..1.0
:feedback: Center Balance knob
.. mixxx:control:: [Master],booth_enabled
Indicates whether a Booth output is configured in the :ref:`Sound Hardware Preferences <preferences-sound-hardware>`.
:range: binary
:feedback: Booth gain knob shown or hidden
.. versionadded:: 2.1.0
.. mixxx:control:: [Master],booth_gain
Adjusts the gain of the Booth output.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: 0.0...1.0...5.0
:feedback: Booth gain knob
.. versionadded:: 2.1.0
.. mixxx:control:: [Master],crossfader
Adjusts the :term:`crossfader` between players/decks (-1.0 is all the way left).
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: -1.0..1.0
:feedback: Crossfader slider
.. mixxx:control:: [Master],crossfader_down
Moves the :term:`crossfader` left by 1/10th.
:range: binary
:feedback: Crossfader slider
.. mixxx:control:: [Master],crossfader_down_small
Moves the :term:`crossfader` left by 1/100th.
:range: binary
:feedback: Crossfader slider
.. versionadded:: 1.10.0
.. mixxx:control:: [Master],crossfader_up
Moves the :term:`crossfader` right by 1/10th.
:range: binary
:feedback: Crossfader slider
.. mixxx:control:: [Master],crossfader_up_small
Moves the :term:`crossfader` right by 1/100th.
:range: binary
:feedback: Crossfader slider
.. versionadded:: 1.10.0
.. mixxx:control:: [Master],duckStrength
Microphone ducking strength
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: 0.0..1.0
:feedback: Strength knob
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],enabled
Indicator that the main mix is processed.
:range: binary
:feedback: None
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],gain
Adjusts the gain for the main output as well as recording and broadcasting signal.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: 0.0..1.0..5.0
:feedback: Main volume knob
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],headEnabled
Indicator that the headphone mix is processed.
:range: binary
:feedback: None
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],headGain
Adjusts the headphone output gain.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: 0.0..1.0..5.0
:feedback: Headphone volume knob
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],headMix
Adjusts the cue/main mix in the headphone output.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: default
:feedback: Pre/Main knob
.. mixxx:control:: [Master],headSplit
Splits headphone stereo cueing into right (main mono) and left (:term:`PFL` mono).
:range: binary
:feedback: Split Cue button
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],latency
:term:`Latency <latency>` setting (sound buffer size) in milliseconds (default 64).
:range: >=0 (absolute value)
:feedback: Latency slider in the prefs
.. mixxx:control:: [Master],num_effectsavailable
The number of available effects that can be selected in an effect slot.
:range: integer, read-only
:feedback: None
.. versionadded:: 2.1.0
.. mixxx:control:: [Master],PeakIndicator
Indicates when the signal is clipping (too loud for the hardware and is being distorted) (composite).
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: binary
:feedback: Clip light (mono)
.. mixxx:control:: [Master],PeakIndicatorL
Indicates when the signal is clipping (too loud for the hardware and is being distorted) for the left channel.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: binary
:feedback: Clip light (left)
.. mixxx:control:: [Master],PeakIndicatorR
Indicates when the signal is clipping (too loud for the hardware and is being distorted) for the right channel.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: binary
:feedback: Clip light (right)
.. mixxx:control:: [Master],talkoverDucking
Toggle microphone ducking mode (OFF, AUTO, MANUAL)
:range: FIXME
:feedback: Ducking mode button
.. versionadded:: 2.0.0
.. mixxx:control:: [Master],VuMeter
Outputs the current instantaneous main volume (composite).
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: default
:feedback: Main meter (mono)
.. mixxx:control:: [Master],VuMeterL
Outputs the current instantaneous main volume for the left channel.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: default
:feedback: Main meter L
.. mixxx:control:: [Master],VuMeterR
Outputs the current instantaneous main volume for the right channel.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: default
:feedback: Main meter R
.. _appendix-mixxxcontrols-decks:
Decks, Preview Decks and Samplers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Each deck in Mixxx corresponds to a :mixxx:cogroupref:`[ChannelN]` group.
Whenever you see :mixxx:cogroupref:`[ChannelN]`, think "Deck N".
N can range from 1 to the number of active decks in Mixxx.
Preview decks and Sample decks ("samplers") in Mixxx are identical to regular decks, they simply have a different purpose (previewing tracks or playing samples, respectively).
Any control listed above for :mixxx:cogroupref:`[ChannelN]` will work for a samplers and preview decks, just replace :mixxx:cogroupref:`[ChannelN]` with :mixxx:cogroupref:`[PreviewDeckN]` or :mixxx:cogroupref:`[SamplerN]`.
.. seealso:: There are some :ref:`additional global controls for samplers <appendix-mixxxcontrols-samplers>`.
.. mixxx:control:: [ChannelN],back
[PreviewDeckN],back
[SamplerN],back
Fast rewind (REW)
:range: binary
:feedback: << button
.. mixxx:control:: [ChannelN],bpmlock
[PreviewDeckN],bpmlock
[SamplerN],bpmlock
Toggle the :term:`beatgrid`/:term:`BPM` lock state.
:range: binary
:feedback: The lock icon of the track is activated/deactivated.
.. versionadded:: 2.5.0
.. mixxx:control:: [ChannelN],beat_active
[PreviewDeckN],beat_active
[SamplerN],beat_active
Indicates, depending on the play direction, how the player is currently positioned to the closest beat.
An LED controlled by beat_active can be used for beat matching or for finding a beat using jog or control vinyl.
.. note:: In case of fractional loops (e.g. 1/32), the rate of beat events can be very high. You should test if your controller is capable to process this update rate. If not, inhibt the beat indication for short loops, depending on the value of `[ChannelN],beatloop_size`.
===== ================== =============================================================================================
Value Play direction Position
===== ================== =============================================================================================
0 Set when play direction changes or +-20% of the distance to the previous/next beat is reached
1 Forward Set at a beat
2 Reverse Set at a beat
===== ================== =============================================================================================
:range: real number, read-only
:feedback: None
.. versionadded:: 1.10.0 (Reverse indication added in 2.4.0)
.. mixxx:control:: [ChannelN],beat_closest
[PreviewDeckN],beat_closest
[SamplerN],beat_closest
Its value is set to the sample position of the closest beat of the active beat and is used for updating the beat LEDs.
:range: -1, 0.0, real-valued
:feedback: None
.. mixxx:control:: [ChannelN],beat_distance
[PreviewDeckN],beat_distance
[SamplerN],beat_distance
Outputs the relative position of the play marker in the section between the the previous and next beat marker.
:range: 0.0 - 1.0, real-valued
:feedback: None
.. mixxx:control:: [ChannelN],beatjump
[PreviewDeckN],beatjump
[SamplerN],beatjump
Jump forward (positive) or backward (negative) by N beats. If a loop is active, the loop is moved by X beats.
:range: any real number within the range, see :mixxx:coref:`[ChannelN],beatloop_X_activate`
:feedback: Player jumps forward or backward by X beats.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beatjump_size
[PreviewDeckN],beatjump_size
[SamplerN],beatjump_size
Set the number of beats to jump with :mixxx:coref:`beatjump_forward <[ChannelN],beatjump_forward>`
/:mixxx:coref:`beatjump_backward <[ChannelN],beatjump_backward>`.
:range: positive real number
:feedback: Beatjump size spinbox
.. versionadded:: 2.1.0
.. mixxx:control:: [ChannelN],beatjump_size_halve
[PreviewDeckN],beatjump_size_halve
[SamplerN],beatjump_size_halve
Halve the value of :mixxx:coref:`beatjump_size <[ChannelN],beatjump_size>`.
:range: binary
:feedback: Beatjump size spinbox
.. versionadded:: 2.4.0
.. mixxx:control:: [ChannelN],beatjump_size_double
[PreviewDeckN],beatjump_size_double
[SamplerN],beatjump_size_double
Double the value of :mixxx:coref:`beatjump_size <[ChannelN],beatjump_size>`.
:range: binary
:feedback: Beatjump size spinbox
.. versionadded:: 2.4.0
.. mixxx:control:: [ChannelN],beatjump_forward
[PreviewDeckN],beatjump_forward
[SamplerN],beatjump_forward
Jump forward by :mixxx:coref:`beatjump_size <[ChannelN],beatjump_size>`.
If a loop is active, the loop is moved forward by X beats.
:range: binary
:feedback: Player jumps forward by :mixxx:coref:`beatjump_size <[ChannelN],beatjump_size>`.
.. versionadded:: 2.1.0
.. mixxx:control:: [ChannelN],beatjump_backward
[PreviewDeckN],beatjump_backward
[SamplerN],beatjump_backward
Jump backward by :mixxx:coref:`beatjump_size <[ChannelN],beatjump_size>`.
If a loop is active, the loop is moved backward by X beats.
:range: binary
:feedback: Player jumps backward by :mixxx:coref:`beatjump_size <[ChannelN],beatjump_size>`.
.. versionadded:: 2.1.0
.. mixxx:control:: [ChannelN],beatjump_X_forward
[PreviewDeckN],beatjump_X_forward
[SamplerN],beatjump_X_forward
Jump forward by X beats. A control exists for
X = 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
If a loop is active, the loop is moved forward by X beats.
:range: binary
:feedback: Player jumps forward by X beats.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beatjump_X_backward
[PreviewDeckN],beatjump_X_backward
[SamplerN],beatjump_X_backward
Jump backward by X beats. A control exists for
X = 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
If a loop is active, the loop is moved backward by X beats.
:range: binary
:feedback: Player jumps backward by X beats.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beatloop_activate
[PreviewDeckN],beatloop_activate
[SamplerN],beatloop_activate
Set a loop that is :mixxx:coref:`beatloop_size <[ChannelN],beatloop_size>` beats long and enables the loop
:range: binary
:feedback: A loop is shown over :mixxx:coref:`beatloop_size <[ChannelN],beatloop_size>` beats
.. versionadded:: 2.1.0
.. mixxx:control:: [ChannelN],beatloop_X_activate
[PreviewDeckN],beatloop_X_activate
[SamplerN],beatloop_X_activate
Activates a loop over X beats. A control exists for
X = 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512
:range: binary
:feedback: A loop is shown over X beats.
.. versionadded:: 1.10.0
.. mixxx:control:: [ChannelN],beatloop_size
[PreviewDeckN],beatloop_size
[SamplerN],beatloop_size
Set the length of the loop in beats that will get set with
:mixxx:coref:`beatloop_activate <[ChannelN],beatloop_activate>` and
:mixxx:coref:`beatlooproll_activate <[ChannelN],beatlooproll_activate>`.
Changing this will resize an existing loop if the length of the loop matches
:mixxx:coref:`beatloop_size <[ChannelN],beatloop_size>`.
:range: positive real number
:feedback: Beatloop size spinbox and possibly loop section on waveform
.. versionadded:: 2.1.0
.. mixxx:control:: [ChannelN],beatloop_X_toggle
[PreviewDeckN],beatloop_X_toggle
[SamplerN],beatloop_X_toggle
Toggles a loop over X beats. A control exists for
X = 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512
:range: binary
:feedback: A loop is shown over X beats.
.. versionadded:: 1.10.0
.. mixxx:control:: [ChannelN],beatloop_X_enabled
[PreviewDeckN],beatloop_X_enabled
[SamplerN],beatloop_X_enabled
1 if beatloop X is enabled, 0 if not.
:range: binary
:feedback: Beatloop X button in skin is lit.
.. versionadded:: 1.10.0
.. mixxx:control:: [ChannelN],beatlooproll_activate
[PreviewDeckN],beatlooproll_activate
[SamplerN],beatlooproll_activate
Activates a rolling loop over :mixxx:coref:`beatloop_size <[ChannelN],beatloop_size>` beats.
Once disabled, playback will resume where the track would have been if it had not entered the loop.
:range: binary
:feedback: A loop overlay is shown over :mixxx:coref:`beatloop_size <[ChannelN],beatloop_size>` beats on waveform.
.. versionadded:: 2.1.0
.. mixxx:control:: [ChannelN],beatlooproll_X_activate
[PreviewDeckN],beatlooproll_X_activate
[SamplerN],beatlooproll_X_activate
Activates a rolling loop over X beats. Once disabled, playback will resume where the
track would have been if it had not entered the loop. A control exists for
X = 0.03125, 0.0625, 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512
:range: binary
:feedback: Beatloop X button in skin is lit. A loop overlay is shown over X beats on waveform.
.. versionadded:: 1.11.0
.. mixxx:control:: [ChannelN],beats_adjust_faster
[PreviewDeckN],beats_adjust_faster
[SamplerN],beats_adjust_faster
Adjust the average :term:`BPM` up by +0.01
:range: binary
:feedback: The :term:`beatgrid` lines move closer to each other.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beats_adjust_slower
[PreviewDeckN],beats_adjust_slower
[SamplerN],beats_adjust_slower
Adjust the average :term:`BPM` down by -0.01.
:range: binary
:feedback: The :term:`beatgrid` lines move further apart from each other.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beats_translate_curpos
[PreviewDeckN],beats_translate_curpos
[SamplerN],beats_translate_curpos
Adjust :term:`beatgrid` so closest beat is aligned with the current playposition.
:range: binary
:feedback: The beatgrid moves to align with current playposition.
.. versionadded:: 1.10.0
.. mixxx:control:: [ChannelN],beats_translate_match_alignment
[PreviewDeckN],beats_translate_match_alignment
[SamplerN],beats_translate_match_alignment
Adjust :term:`beatgrid` to match another playing deck.
:range: binary
:feedback: Instead of :term:`syncing <sync>` the beatgrid to the current playposition, sync the beatgrid so the nearest beat lines up with the other track's nearest beat.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beats_translate_earlier
[PreviewDeckN],beats_translate_earlier
[SamplerN],beats_translate_earlier
Move :term:`beatgrid` to an earlier position.
:range: binary
:feedback: The beatgrid moves left by a small amount.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],beats_translate_later
[PreviewDeckN],beats_translate_later
[SamplerN],beats_translate_later
Move :term:`beatgrid` to a later position.
:range: binary
:feedback: The beatgrid moves right by a small amount.
.. versionadded:: 2.0.0
.. mixxx:control:: [ChannelN],shift_cues_earlier
[PreviewDeckN],shift_cues_earlier
[SamplerN],shift_cues_earlier
:range: binary
:feedback: All :term:`cue markers <cue marker>` move left by 10ms.
.. versionadded:: 2.3.0
.. mixxx:control:: [ChannelN],shift_cues_later
[PreviewDeckN],shift_cues_later
[SamplerN],shift_cues_later
:range: binary
:feedback: All :term:`cue markers <cue marker>` move right by 10ms.
.. versionadded:: 2.3.0
.. mixxx:control:: [ChannelN],shift_cues_earlier_small
[PreviewDeckN],shift_cues_earlier_small
[SamplerN],shift_cues_earlier_small
:range: binary
:feedback: All :term:`cue markers <cue marker>` move left by 1ms.
.. versionadded:: 2.3.0
.. mixxx:control:: [ChannelN],shift_cues_later_small
[PreviewDeckN],shift_cues_later_small
[SamplerN],shift_cues_later_small
:range: binary
:feedback: All :term:`cue markers <cue marker>` move right by 1ms.
.. versionadded:: 2.3.0
.. mixxx:control:: [ChannelN],beats_undo_adjustment
[PreviewDeckN],beats_undo_adjustment
[SamplerN],beats_undo_adjustment
Restores the :term:`beatgrid` state before the last beatgrid adjustment done with the above `beats_` controls.
The undo stack holds up to ten beatgrid states. For changes done in quick succession
(less than 800 milliseconds between actions), e.g. repeated :mixxx:coref:`beats_translate_earlier <[ChannelN],beats_translate_later>`, only the first state is stored.
:range: binary
:feedback: The beatgrid is restored.
.. versionadded:: 2.5.0
.. mixxx:control:: [ChannelN],beatsync
[PreviewDeckN],beatsync
[SamplerN],beatsync
:term:`Syncs <sync>` the :term:`tempo` and phase (depending on quantize) to that of the other track (if :term:`BPM` is detected on both).
:range: binary
:feedback: The :guilabel:`Sync` button flashes and the :term:`tempo` slider snaps to the appropriate value.
.. versionchanged:: 1.10.0
.. mixxx:control:: [ChannelN],beatsync_phase
[PreviewDeckN],beatsync_phase
[SamplerN],beatsync_phase
:term:`Syncs <sync>` the :term:`phase` to that of the other track (if :term:`BPM` is detected on both).
:range: binary
:feedback: The :guilabel:`Sync` button flashes and the :term:`tempo` slider snap to the appropriate value.
.. versionadded:: 1.10.0
.. mixxx:control:: [ChannelN],beatsync_tempo
[PreviewDeckN],beatsync_tempo
[SamplerN],beatsync_tempo
:term:`Syncs <sync>` the :term:`tempo` to that of the other track (if :term:`BPM` is detected on both).
:range: binary
:feedback: The :guilabel:`Sync` button flashes and the :term:`tempo` slider snaps to the appropriate value.
.. versionadded:: 1.10.0
.. mixxx:control:: [ChannelN],bpm
[PreviewDeckN],bpm
[SamplerN],bpm
Reflects the perceived (rate-adjusted) :term:`BPM` of the loaded file.
This is a :ref:`ControlPotMeter control <appendix-mixxxcontrols-controlpotmeter>`.
:range: real-valued
:feedback: :term:`BPM` value display
.. versionchanged:: 1.10.0
.. mixxx:control:: [ChannelN],bpm_tap
[PreviewDeckN],bpm_tap
[SamplerN],bpm_tap
When tapped repeatedly, adjusts the :term:`BPM` of the track on the deck (not the tempo slider!) to match the taps.
.. note:: If you want to change the :term:`rate` of the deck use `script.bpm.tapButton(deck) <https://github.com/mixxxdj/mixxx/wiki/midi%20scripting#user-content-helper-functions>`_ in your controller mapping instead.
:range: binary
:feedback: :term:`BPM` value display (playback speed doesn't change)
.. versionadded:: 1.9.2
.. mixxx:control:: [ChannelN],CloneFromDeck
[PreviewDeckN],CloneFromDeck
[SamplerN],CloneFromDeck
Clone the given deck number, copying the play state, position, rate, and key. If 0 or a negative number is given, Mixxx will attempt to select the first playing deck as the source for the clone.
:range: integer between 1 and :mixxx:coref:`[Master],num_decks` (inclusive)
:feedback: The channel will start playing at the rate and position of the source deck.
.. versionadded:: 2.3.0
.. mixxx:control:: [ChannelN],CloneFromSampler
[PreviewDeckN],CloneFromSampler
[SamplerN],CloneFromSampler
Clone the given sampler number, copying the play state, position, rate, and key.
:range: integer between 1 and :mixxx:coref:`[App],num_samplers` (inclusive)
:feedback: The channel will start playing at the rate and position of the source deck.
.. versionadded:: 2.3.0
.. mixxx:control:: [ChannelN],LoadTrackFromDeck
[PreviewDeckN],LoadTrackFromDeck
[SamplerN],LoadTrackFromDeck
Load the track currently loaded to the given deck number.
:range: integer between 1 and :mixxx:coref:`[App],num_decks` (inclusive)
:feedback: Track name & waveform change
.. versionadded:: 2.4.0
.. mixxx:control:: [ChannelN],LoadTrackFromSampler
[PreviewDeckN],LoadTrackFromSampler
[SamplerN],LoadTrackFromSampler
Load the track currently loaded to the given sampler number.
:range: integer between 1 and :mixxx:coref:`[App],num_samplers` (inclusive)
:feedback: Track name & waveform change
.. versionadded:: 2.4.0