Skip to content

Speed comparison against audiowaveform #15

@regorxxx

Description

@regorxxx

Just to be sure I'm not missing something, one of your initial claims was that waveform processing with this component would be faster than external binaries but I'm not so sure with preliminary tests.

Profiling was done just before calling startWaveformAnalysis:

Audio Wizard => Waveform callback fired, success: true
Audio Wizard => Processing 1 track(s)
Audio Wizard => Track 1: 2316 waveform values over 289.50s (resolution: ~2.0 pts/sec)
Spider Monkey Panel v1.6.1-mod: profiler (AudioWizard): 927ms

But using my script, same resolution and track:

Spider Monkey Panel v1.6.1-mod: profiler (audiowaveform): Retrieve volume levels. Compression utf-16. 860ms

Note I did not bother to change any other settings, i.e. the script is even compressing the data and saving it to a file.

I see similar results with any track, my implementation is just as fast or faster than the component.

Not denying there are other benefits to the component and internal processing, but am I missing something here? Optimizations left?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions