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

Short waveforms rendering differently in v7 vs. v6 #3893

Open
katspaugh opened this issue Oct 1, 2024 Discussed in #3885 · 0 comments
Open

Short waveforms rendering differently in v7 vs. v6 #3893

katspaugh opened this issue Oct 1, 2024 Discussed in #3885 · 0 comments

Comments

@katspaugh
Copy link
Owner

Discussed in #3885

Originally posted by giilby September 28, 2024
After upgrading from v6.6.4 to v7.8.6, I noticed that waveforms for short audio clips are rendering much differently when in a wide container. To start, here's a comparison of old vs. new for narrow containers:

v6:
v6-narrow

v7:
v7-narrow

When the same clip is rendered in a wider container (around 1800px):

v6:
v6-wide

v7:
v7-wide

The audio clip is 5 seconds long, and I've configured WaveSurfer with these size-related properties:

{
  cursorWidth: 0,
  barWidth: 1,
  barGap: 1,
  height: 40,
}

It seems like the old renderer was repeating bars to respect barWidth and barGap in scenarios like this, but maybe something else is going on. I reviewed the config options but didn't see anything else that seemed to be related. Any idea what's going on here? Any additional information I can provide?

Thanks!

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

No branches or pull requests

1 participant