loudnessPlotter Package

loudness Module

loudnessPlotter.loudness.HTMLstats(stats)[source]

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

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

Bases: object

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

analyse()[source]

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

getHtmlContent()[source]

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

process()[source]

base function to parse and write HTML based on internal config

write()[source]

write single HTML file for a list of file

writeIndividual()[source]

write single HTML file for an individual file

loudnessPlotter.loudness.cli()[source]

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

loudnessPlotter.loudness.module_path()[source]

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

loudnessPlotter.loudness.parseLoudnessLog(filepath)[source]

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

‘I’ : [integratedvalue]}

value are string reprensenting LUFS value

loudnessPlotter.loudness.stats(loudnessdata)[source]

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

loudnessPlotter.loudness.we_are_frozen()[source]

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.win_buid()[source]
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