question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated waveform with audiowaveform is half-complete

See original GitHub issue

The command I use : audiowaveform -i myfile.mp3 -b 16 -o myfile.json

What i get in my application : capture2 (missing part in yellow, the blue peaks match the music perfectly )

Snippet of my json file : {"sample_rate":44100,"samples_per_pixel":4410,"bits":16,"length":2318,"data":[-8,99,-2,91,7,167,-2512,2011,-2447,2009,-2475,1922,-2338,1626,-2356,1624,-2556,1697,-3050,1899,-3175,2268,-2978,2105,-2925,.....

What is the problem here ? Not enough peaks data are generated ?

Also i use : normalize: true as wavesurfer param And I filter the peaks data like that : response.data.data.filter(function(value) { return value >= 0; })

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mspaecommented, Sep 4, 2017

@GitHubRakeshSharma My bad, use this:

git clone git@github.com:katspaugh/wavesurfer.js.git && cd wavesurfer.js && npm i && npm run build && npm link && cd ../ && npm link wavesurfer.js

it …

  • clones wavesurfer.js into the directory wavesurfer.js
  • installs the dependencies in that project
  • builds it (the dist directory)
  • links it so wavesurfer is resolved to that copy

to update you just git pull inside the wavesurfer.js directory.

This is just a quick-fix until the next beta release comes out.

1reaction
X-Raymcommented, Oct 3, 2017

@mspae Just tested: seems to be good for me! Both peak generation and peak display from it! Thx !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Split Audio Waveform sprite that it width is out of range in a ...
Create an outer loop to generate each texture. ... Calculate the current textures width (used for the waveform array and drawing loops).
Read more >
react-audio-waveform - npm
Render waveforms from arrays of peak data generated by Audio Waveform quickly and easily. Installation. npm install react-audio-waveform --save.
Read more >
Audio Waveform [Layer Only] - HitFilm - 2022 - Manula.com
Audio Waveform is available in the Creator tier and Pro tier. Generate waveform patterns based on an audio layer. The waveform scrolls along...
Read more >
2020年10月_weixin_39621060的博客_CSDN博客
2021-01-12. Vagrant bundler error during EngineYard Local build. 2021-01-12. Generated waveform with audiowaveform is half-complete. 2021-01-12 ...
Read more >
Waveform - FFmpeg Wiki
Audio data is often represented by a waveform image. ... Note that reducing the samplerate too much might distort the generated waveform.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found