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
use alloc::string::String;
use musicxml_internal::{DatatypeDeserializer, DatatypeSerializer};
use musicxml_macros::{DatatypeDeserialize, DatatypeSerialize};
/// Represents muting playback for different instruments, including brass, winds, and strings.
///
/// The [On][Mute::On] and [Off][Mute::Off] values are used for undifferentiated mutes.
/// The remaining values represent specific mutes.
#[derive(Debug, PartialEq, Eq, DatatypeDeserialize, DatatypeSerialize)]
pub enum Mute {
/// Represents an on-mute.
On,
/// Represents an off-mute.
Off,
/// Represents a bucket mute.
Bucket,
/// Represents a cup mute.
Cup,
/// Represents an echo mute.
Echo,
/// Represents a harmon no-stem mute.
#[rename("harmon-no-stem")]
HarmonNoStem,
/// Represents a harmon stem mute.
#[rename("harmon-stem")]
HarmonStem,
/// Represents a hat mute.
Hat,
/// Represents a palm mute.
Palm,
/// Represents a plunger mute.
Plunger,
/// Represents a practice mute.
Practice,
/// Represents a solotone mute.
Solotone,
/// Represents a stop-hand mute.
#[rename("stop-hand")]
StopHand,
/// Represents a stop mute.
#[rename("stop-mute")]
StopMute,
/// Represents a straight mute.
Straight,
}