Skip to content

Simple script to test if you can hear the quality difference in two audio files

License

Notifications You must be signed in to change notification settings

codesoap/figment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

figment is a shell script which takes two audio files as arguments, plays a random one repeatedly and let's you guess which one had the better audio quality each time. After exiting with CTRL-C it will show you how many times you were right.

This could help you decide how strongly you want to compress your music library or similar.

You'll need mpv to use the script.

Example

$ ffmpeg -ss 00:45 -t 5 -i 07.Run_With_The_Wolves.flac -c:a libopus -b:a 96k good.opus
$ ffmpeg -ss 00:45 -t 5 -i 07.Run_With_The_Wolves.flac -c:a libopus -b:a 64k bad.opus
$ figment good.opus bad.opus
Was this [g]ood or [b]ad? g
Was this [g]ood or [b]ad? g
Was this [g]ood or [b]ad? b
Was this [g]ood or [b]ad? b
Was this [g]ood or [b]ad? b
Was this [g]ood or [b]ad? b
Was this [g]ood or [b]ad? g
^C
You were correct 3 out of 7 times (43%).

About

Simple script to test if you can hear the quality difference in two audio files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages