Capítulo 187 de 988

Chapter 187: audioBufferToDataUrl()

Core Idea

_Part of the @remotion/media-utils package of helper functions. Available from v2.

Key Concepts

  • API Usage
  • Example: Rendering a sine tone
  • See also

Code Examples

const audioBuffer = new AudioBuffer({length: 0, sampleRate: 44100});

const str = audioBufferToDataUrl(audioBuffer);
  • What it demonstrates: Usage pattern for audioBufferToDataUrl() from the official docs.

Key Takeaways

  1. Understand api usage when working with audioBufferToDataUrl().
  2. Understand example: rendering a sine tone when working with audioBufferToDataUrl().
  3. Understand see also when working with audioBufferToDataUrl().

Connects To

  • Animatedimage: related page in the Assets & Media section.
  • Delaying: related page in the Assets & Media section.
  • Exporting: related page in the Assets & Media section.