> ## Documentation Index
> Fetch the complete documentation index at: https://chart-spec.enchor.us/llms.txt
> Use this file to discover all available pages before exploring further.

# AuthoredSource

```ts theme={null}
type AuthoredSource = 
  | {
  format: "chart";
  line: number;
  section: number;
}
  | {
  chunk: number;
  events: readonly [start: number, end: number];
  format: "mid";
};
```

Where an authored element is in its file, so an edit can rewrite exactly that source: a `.chart` line, or the start
and end events of a MIDI note or phrase (indices in the track chunk's events).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.