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

Compare raw audio data streams (e.g. PCM) by their spectrograms or hashes #2519

Open
BinToss opened this issue Nov 4, 2024 · 0 comments
Open

Comments

@BinToss
Copy link

BinToss commented Nov 4, 2024

A sub-issue of #1917 to break down that feature request to smaller steps.

Some people may request comparing audio by their waveforms, another graphical representation of audio data. However, waveforms only represent samples by their gain level. They do not represent the gain of each frequency that makes up a sample, unlike spectrograms. A spectrogram can be rendered via ffmpeg's showcqt filter, a custom implementation, or a third-party library. Alternatively, a non-graphical approach would hash the data streams and compare their hashes.

To reiterate, this issue is just for comparing raw audio streams.


Only after all of this is implemented (perhaps via a plugin which requires and utilizes the host's ffmpeg?) should audio file format metadata and decoding be implemented, but only for the top 15 or so most popular audio file and stream formats. Later, the audio-related features can be expanded by request.

Full-fledged "support" for audio comparison is a much larger task than users would think it to be.

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

No branches or pull requests

2 participants