Audio

Audio layers support the the following layer configuration properties:

Minimal

await composition.addAudio(
  "https://editframe.com/docs/composition"
);

Full configuration

await composition.addAudio(
  "https://editframe.com/docs/composition",
  {
    volume: 0.5,
  },
  {
    timeline: {
      start: 1,
    },
    trim: {
      start: 1.5,
      end: 5,
    },
  }
);