The <pan> element

Parent element: <midi-instrument>\

The <pan> and <elevation> elements allow placing of sound in a 3-D space relative to the listener. Both are expressed in degrees ranging from -180 to 180. For pan, 0 is straight ahead, -90 is hard left, 90 is hard right, and -180 and 180 are directly behind the listener.

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

Hierarchy

  • Pan

Implements

Constructors

Properties

attributes: PanAttributes
contents: PanContents
schema: {
    attributes: {};
    contents: readonly [{
        label: "value";
        type: "label";
        value: {
            type: "required";
            value: {
                max: 180;
                min: -180;
                type: "float";
            };
        };
    }];
    name: "pan";
} = Pan.schema

Type declaration

  • Readonly attributes: {}
    • Readonly contents: readonly [{
          label: "value";
          type: "label";
          value: {
              type: "required";
              value: {
                  max: 180;
                  min: -180;
                  type: "float";
              };
          };
      }]
    • Readonly name: "pan"
    schema: {
        attributes: {};
        contents: readonly [{
            label: "value";
            type: "label";
            value: {
                type: "required";
                value: {
                    max: 180;
                    min: -180;
                    type: "float";
                };
            };
        }];
        name: "pan";
    } = ...

    Type declaration

    • Readonly attributes: {}
      • Readonly contents: readonly [{
            label: "value";
            type: "label";
            value: {
                type: "required";
                value: {
                    max: 180;
                    min: -180;
                    type: "float";
                };
            };
        }]
      • Readonly name: "pan"

      Methods

      Generated using TypeDoc