From 0b987500639fde1877bee82081c684e022d97cbc Mon Sep 17 00:00:00 2001 From: Cole Lawrence Date: Mon, 25 Jul 2022 12:04:37 -0400 Subject: [PATCH] docs: Use http for localhost example audio --- theatre/core/src/sequences/TheatreSequence.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theatre/core/src/sequences/TheatreSequence.ts b/theatre/core/src/sequences/TheatreSequence.ts index b8e2199..46ed91f 100644 --- a/theatre/core/src/sequences/TheatreSequence.ts +++ b/theatre/core/src/sequences/TheatreSequence.ts @@ -8,7 +8,7 @@ import type {Pointer} from '@theatre/dataverse' interface IAttachAudioArgs { /** - * Either a URL to the audio file (eg "https://localhost/audio.mp3") or an instance of AudioBuffer + * Either a URL to the audio file (eg "http://localhost:3000/audio.mp3") or an instance of AudioBuffer */ source: string | AudioBuffer /** @@ -136,7 +136,7 @@ export interface ISequence { * Usage: * ```ts * // Loads and decodes audio from the URL and then attaches it to the sequence - * await sheet.sequence.attachAudio({source: "https://localhost:3000/audio.mp3"}) + * await sheet.sequence.attachAudio({source: "http://localhost:3000/audio.mp3"}) * sheet.sequence.play() * * // Providing your own AudioAPI Context, destination, etc