The <grace> element

Parent element: <note>

The <grace> element indicates the presence of a grace note.

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

Hierarchy

  • Grace

Implements

Constructors

Properties

attributes: GraceAttributes
contents: []
schema: {
    attributes: {
        make-time: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
        slash: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        steal-time-following: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
        steal-time-previous: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
    };
    contents: readonly [];
    name: "grace";
} = Grace.schema

Type declaration

  • Readonly attributes: {
        make-time: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
        slash: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        steal-time-following: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
        steal-time-previous: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
    }
    • Readonly make-time: {
          type: "optional";
          value: {
              max: number;
              min: number;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: number;
            type: "float";
        }
        • Readonly max: number
        • Readonly min: number
        • Readonly type: "float"
    • Readonly slash: {
          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 steal-time-following: {
          type: "optional";
          value: {
              max: 100;
              min: 0;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: 100;
            min: 0;
            type: "float";
        }
        • Readonly max: 100
        • Readonly min: 0
        • Readonly type: "float"
    • Readonly steal-time-previous: {
          type: "optional";
          value: {
              max: 100;
              min: 0;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: 100;
            min: 0;
            type: "float";
        }
        • Readonly max: 100
        • Readonly min: 0
        • Readonly type: "float"
  • Readonly contents: readonly []
  • Readonly name: "grace"
schema: {
    attributes: {
        make-time: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
        slash: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        steal-time-following: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
        steal-time-previous: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
    };
    contents: readonly [];
    name: "grace";
} = ...

Type declaration

  • Readonly attributes: {
        make-time: {
            type: "optional";
            value: {
                max: number;
                min: number;
                type: "float";
            };
        };
        slash: {
            type: "optional";
            value: {
                choices: readonly ["yes", "no"];
                type: "choices";
            };
        };
        steal-time-following: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
        steal-time-previous: {
            type: "optional";
            value: {
                max: 100;
                min: 0;
                type: "float";
            };
        };
    }
    • Readonly make-time: {
          type: "optional";
          value: {
              max: number;
              min: number;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: number;
            min: number;
            type: "float";
        }
        • Readonly max: number
        • Readonly min: number
        • Readonly type: "float"
    • Readonly slash: {
          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 steal-time-following: {
          type: "optional";
          value: {
              max: 100;
              min: 0;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: 100;
            min: 0;
            type: "float";
        }
        • Readonly max: 100
        • Readonly min: 0
        • Readonly type: "float"
    • Readonly steal-time-previous: {
          type: "optional";
          value: {
              max: 100;
              min: 0;
              type: "float";
          };
      }
      • Readonly type: "optional"
      • Readonly value: {
            max: 100;
            min: 0;
            type: "float";
        }
        • Readonly max: 100
        • Readonly min: 0
        • Readonly type: "float"
  • Readonly contents: readonly []
  • Readonly name: "grace"

Methods

Generated using TypeDoc