Giter Club home page Giter Club logo

peaqer.py's Introduction

peaqer.py

This is a Python-script to batch-en- and decode audio samples to generate graphs of audio metric scores.

Example graph

This is a graph generated from ODG-scores as determined with GstPEAQ as audio quality metric.

An example graph

Note that objective audio metrics augment (but do not replace) actual listening tests. Automated metrics can provide approximate guidance, though.

Requirements

  • An audio quality measurement tool, such as GstPEAQ. The script peaqer.py derives its name from the PEAQ audio quality metric.
  • Some audio en- and decoders, such as Opus tools or LAME etc.
  • FFmpeg
  • python3, with matplotlib installed. On Debian and Ubuntu, this can be obtained with the python3-matplotlib package, but installing via pip should be plenty fine as well.

Method of operation

The script peaqer.py does not have any command line arguments - all settings regarding the encoding-experiments are set in settings.json.

Proposed workflow:

  1. Assemble a directory with .wav files. For audio quality testing, usually rather short files with 5 to 20 seconds of audio content are employed.
  2. Copy settings.json into that directory and customize it to your needs.
  3. Start peaqer.py with the current workdir being the aforementioned directory with .wav files and settings.json.
  4. Be patient while peaqer.py en- and decodes the samples files with all encoders and bitrates and invokes the configured audio quality metric tools. This can take a while.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.