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

Immediate feature requirement: Output peak frequency as text rather than image #211

Open
tathastu871 opened this issue Oct 18, 2021 · 5 comments

Comments

@tathastu871
Copy link

Spek outputs spectrogram but if we want to use it in scripting for bulk use. Command line interface is needed. And most importantly there should be option to output in tty the peak eg spectrogram shows 22khz as peak than it should output text 22khz so it can be used in scripting. Currently it outputs image and we have to manually view the image to find peak.
If such feature is introduced it will help in bulk testing of music files to sort which files are actually hifi/lossless based on output on terminal

@tathastu871
Copy link
Author

Please add such featire to outout peak frequency as text on stdout so that i can use it in bash scripts

@erhan-
Copy link

erhan- commented Dec 1, 2022

A good functionality which would allow the usage of spek to detect low quality files in our collections.

Related to #169

@jdstregz
Copy link

Maybe something like https://pypi.org/project/ffmpeg-bitrate-stats can be helpful for scripting things

@kikoreis
Copy link

Note that I've noticed quite a few files have a single "ghost" peak in one section (or instant) in the file, so a simple max value may not be a good indicator of the actual quality of the file.

@tathastu871
Copy link
Author

there cannot be single max when dealing with waves, need to group them in ranges find mean values, thresold if any high values / number of peaks near 16khz 18khz we can say low quality but only if there are no large values above 20, 22,

if found high near both 22 and 16 or less
thats mean faked someone tried to add noise to add high frequencies called upscalinf

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

4 participants