Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: [Record] continuous waveform mode #3818

Merged
merged 5 commits into from
Aug 12, 2024
Merged

Feat: [Record] continuous waveform mode #3818

merged 5 commits into from
Aug 12, 2024

Conversation

katspaugh
Copy link
Owner

@katspaugh katspaugh commented Aug 10, 2024

Short description

A new preview option for the Record plugin: continuousWaveform. It shows the audio recorded so far as a continuously growing waveform.

Implementation details

Along with the new continuousWaveform parameter, there's an optional continuousWaveformDuration that allows setting the expected duration of a recording.

How to test it

Open the record.js example and record something.

Screenshots

Screenshot 2024-08-10 at 18 37 26

Copy link

cloudflare-workers-and-pages bot commented Aug 10, 2024

Deploying wavesurfer-js with  Cloudflare Pages  Cloudflare Pages

Latest commit: e70f6f9
Status: ✅  Deploy successful!
Preview URL: https://afa23f2b.wavesurfer-js.pages.dev
Branch Preview URL: https://continuous.wavesurfer-js.pages.dev

View logs

@katspaugh katspaugh merged commit 4673c66 into main Aug 12, 2024
4 checks passed
@katspaugh katspaugh deleted the continuous branch August 12, 2024 05:33
@lofcz
Copy link

lofcz commented Nov 16, 2024

@katspaugh this is great, can this work without making the container scroll once the recording duration > continuousWaveformDuration, similar to how scrollingWaveform works?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants