loudnessPlotter Package

loudness Module


return html from M,S,I stats dictionnary (returned by stats())

class loudnessPlotter.loudness.LoudnessPlotter(filelist, outpath)[source]

Bases: object

base class for launching executable, parse log and write output HTML file


launch wave_analyze executable on each file of self.filelist putting stdout in a file fills self.processsed file path list


get content for multi-files, return tabed content and the plots (to put in js)


base function to parse and write HTML based on internal config


write single HTML file for a list of file


write single HTML file for an individual file


Simple command line interface. Process file or path, based on input args


This will get us the program’s directory, even if we are frozen using py2exe


return dict : { ‘M’ : [val,val2], ‘S’ : [value,value],

‘I’ : [integratedvalue]}

value are string reprensenting LUFS value


get min/max/average value of M,S,(I) value. Return a dictionnary


Returns whether we are frozen via py2exe. This will affect how we find out where we are located.

loudnessPlotter.loudness.writeHTML(loudnessdata, htmlout)[source]

Write a single self-contained HTML page with graph.

setup Module

loudnessPlotter.setup.find_data_files(source, target, patterns)[source]

Locates the specified data-files and returns the matches in a data_files compatible format.

source is the root of the source data tree.
Use ‘’ or ‘.’ for current directory.
target is the root of the target data tree.
Use ‘’ or ‘.’ for the distribution directory.
patterns is a sequence of glob-patterns for the
files you want to copy.
loudnessPlotter.setup.zip_folder(folder_path, output_path)[source]

Zip the contents of an entire folder (with that folder included in the archive). Empty subfolders will be included in the archive as well.

test Module

Table Of Contents

Previous topic

Welcome to loudnessPlotter’s documentation!

Next topic

test Package

This Page