The <slash> element

Parent element: <measure-style>

The <slash> element indicates that slash notation is to be used.

The stop type indicates the first beat where slash notation no longer displayed. Both the start and stop of the slash notation should be specified unless the slashes are displayed through the end of the part.

https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/slash/

Hierarchy

  • Slash

Implements

Constructors

Properties

attributes: SlashAttributes
contents: SlashContents
schema: {
    attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
        use-dots: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        use-stems: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "optional";
            value: readonly [{
                type: "optional";
                value: readonly [{
                    type: "required";
                    value: typeof SlashType;
                }, {
                    type: "zeroOrMore";
                    value: typeof SlashDot;
                }];
            }, {
                type: "zeroOrMore";
                value: typeof ExceptVoice;
            }];
        };
    }];
    name: "slash";
} = Slash.schema

Type declaration

  • Readonly attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
        use-dots: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        use-stems: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["start", "stop"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["start", "stop"];
            type: "choices";
        }
        • Readonly choices: readonly ["start", "stop"]
        • Readonly type: "choices"
    • Readonly use-dots: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
    • Readonly use-stems: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "optional";
            value: readonly [{
                type: "optional";
                value: readonly [{
                    type: "required";
                    value: typeof SlashType;
                }, {
                    type: "zeroOrMore";
                    value: typeof SlashDot;
                }];
            }, {
                type: "zeroOrMore";
                value: typeof ExceptVoice;
            }];
        };
    }]
  • Readonly name: "slash"
schema: {
    attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
        use-dots: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        use-stems: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    };
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "optional";
            value: readonly [{
                type: "optional";
                value: readonly [{
                    type: "required";
                    value: typeof SlashType;
                }, {
                    type: "zeroOrMore";
                    value: typeof SlashDot;
                }];
            }, {
                type: "zeroOrMore";
                value: typeof ExceptVoice;
            }];
        };
    }];
    name: "slash";
} = ...

Type declaration

  • Readonly attributes: {
        type: {
            type: "required";
            value: {
                choices: readonly ["start", "stop"];
                type: "choices";
            };
        };
        use-dots: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        use-stems: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
    }
    • Readonly type: {
          type: "required";
          value: {
              choices: readonly ["start", "stop"];
              type: "choices";
          };
      }
      • Readonly type: "required"
      • Readonly value: {
            choices: readonly ["start", "stop"];
            type: "choices";
        }
        • Readonly choices: readonly ["start", "stop"]
        • Readonly type: "choices"
    • Readonly use-dots: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
    • Readonly use-stems: {
          type: "optional";
          value: {
              choices: readonly ["yes", "no"];
              type: "choices";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            choices: readonly ["yes", "no"];
            type: "choices";
        }
        • Readonly choices: readonly ["yes", "no"]
        • Readonly type: "choices"
  • Readonly contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "optional";
            value: readonly [{
                type: "optional";
                value: readonly [{
                    type: "required";
                    value: typeof SlashType;
                }, {
                    type: "zeroOrMore";
                    value: typeof SlashDot;
                }];
            }, {
                type: "zeroOrMore";
                value: typeof ExceptVoice;
            }];
        };
    }]
  • Readonly name: "slash"

Methods

Generated using TypeDoc