Mute control
This class is accessed via the mute
property on a CamillaClient
instance.
It provides methods for reading and setting the mute control.
class: Mute
Bases: _CommandGroup
Collection of methods for mute control
Source code in camilladsp/camilladsp.py
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 |
|
fader(fader)
Get current mute setting for a fader.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fader |
int
|
Fader to read.
Selected using an integer, 0 for |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if muted, False otherwise. |
Source code in camilladsp/camilladsp.py
634 635 636 637 638 639 640 641 642 643 644 645 646 |
|
main()
Get current main mute setting.
Equivalent to calling get_fader()
with fader=0
.
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if muted, False otherwise. |
Source code in camilladsp/camilladsp.py
613 614 615 616 617 618 619 620 621 622 |
|
set_fader(fader, value)
Set mute status for a fader, true or false.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fader |
int
|
Fader to control.
Selected using an integer, 0 for |
required |
value |
bool
|
New mute setting. |
required |
Source code in camilladsp/camilladsp.py
648 649 650 651 652 653 654 655 656 657 |
|
set_main(value)
Set main mute, true or false.
Equivalent to calling set_fader()
with fader=0
.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
bool
|
New mute setting. |
required |
Source code in camilladsp/camilladsp.py
624 625 626 627 628 629 630 631 632 |
|
toggle_fader(fader)
Toggle mute status for a fader.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
fader |
int
|
Fader to control.
Selected using an integer, 0 for |
required |
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if the new status is muted, False otherwise. |
Source code in camilladsp/camilladsp.py
659 660 661 662 663 664 665 666 667 668 669 670 671 |
|