Skip to content
/ yuleq Public

Interactive command line tool for comparing audio files

Notifications You must be signed in to change notification settings

Chuvok/yuleq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yuleq, short for yu’egh leQ, is a tool for comparing audio files.

Use
---
Run from terminal

    yuleq item1.wav item2.wav item3.wav

The test items are played in a continuous loop. Switch between the items using
the number keys and and adjust the loop.

To get a useful result, the test items should have common properties:
 - same delay
 - same loudness
 - same length (warning is shown)
 - same number of channels (enforced)
 - same sampling rate (enforced)

Use the -b option to run a blind test with shuffled test items. The -r option 
does the same, but keeps the first item in place as reference.

Wav files are supported directly, other formats require the ffmpeg executable.
If you get a "ffprobe failed" or "ffmpeg failed" error, ffprobe or ffmpeg might
be missing from $PATH. Run with -v option for more details.

It might be necessary to bypass low quality resamplers in sound servers or audio
interfaces. The -o option can be used to resample the test items before playback
through ffmpeg's high quality resampler. Make sure to use the output devices
native sampling rate. Using this option requires the ffmpeg executable.

Build
-----
Yuleq requires the portaudio library. It should be available through the system
package manager. The makefile also requires pkg-config, which should be pre-
installed on most systems.

Debian / Ubuntu

    sudo apt install portaudio19-dev
    make

MacOS

    brew install portaudio
    make

Windows is supported, however you must set up your own Visual Studio project.

Qapla'!


License
-------
MIT License

Copyright 2024 <chuvok@maeppi.e4ward.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

The software is provided "as is", without warranty of any kind, express or
implied, including but not limited to the warranties of merchantability, fitness
for a particular purpose and noninfringement. In no event shall the authors or
copyright holders be liable for any claim, damages or other liability, whether
in an action of contract, tort or otherwise, arising from, out of or in
connection with the software or the use or other dealings in the software.

About

Interactive command line tool for comparing audio files

Topics

Resources

Stars

Watchers

Forks

Languages