Giter VIP home page Giter VIP logo

loudnessnorm's Introduction

loudnessnorm

An implementation of RMS based audio normalization in Rust. Currently, it's only able to decode WAVE files with 32-bit floating point samples (because it's easier to work with).

The loudness of the samples are normalized by calculating the RMS then the gain is changed to bring the average amplitude of the source signal to a target level (by default 0 dBFS).

Installation

For Windows NT based systems just download the executable from AppVeyor. Navigate to one of the option listed there then head to the ARTIFACTS tab and download the executable listed here.

A package on crates.io is also present. If the toolchain for Rust is already present in the system then run this command (it's better because it natively compiles in your system).

cargo install loudnessnorm

  • Why 32-bit floating point?

    The intent was to keep the source files the same specs. But, the WAVE library I'm using for I/O doesn't allow this kind of behaviour (conversion of sample formats is not allowed). The final descision is to keep it 32-bit floating point because sample conversion would add a overhead to the program.

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.