Analyzer from External librairies

Aubio

aubio is a tool designed for the extraction of annotations from audio signals. Its features include segmenting a sound file before each of its attacks, performing pitch detection, tapping the beat and producing midi streams from live audio. See http://aubio.org/

Aubio Melenergy

class timeside.plugins.analyzer.externals.aubio_melenergy.AubioMelEnergy[source]

Bases: timeside.core.analyzer.Analyzer

Aubio Mel Energy analyzer

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Return the analyzer name, such as “Mean Level”, “Max level”, “Total length, etc..

post_process(self)[source]

Post-Process data after processign the input frames with process()

Processors such as analyzers will produce Results during the Post-Process

process(self, frames, eod=False)[source]

Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached.

Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged.

Warning: it is required to call setup() before this method.

setup(self, channels=None, samplerate=None, blocksize=None, totalframes=None)[source]

Allocate internal resources and reset state, so that this processor is ready for a new run.

The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.

static unit()[source]

Return the unit of the data such as “dB”, “seconds”, etc…

static version()[source]

Return the version of the processor

Aubio MFCC

class timeside.plugins.analyzer.externals.aubio_mfcc.AubioMfcc[source]

Bases: timeside.core.analyzer.Analyzer

Aubio MFCC analyzer

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Return the analyzer name, such as “Mean Level”, “Max level”, “Total length, etc..

post_process(self)[source]

Post-Process data after processign the input frames with process()

Processors such as analyzers will produce Results during the Post-Process

process(self, frames, eod=False)[source]

Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached.

Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged.

Warning: it is required to call setup() before this method.

setup(self, channels=None, samplerate=None, blocksize=None, totalframes=None)[source]

Allocate internal resources and reset state, so that this processor is ready for a new run.

The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.

static unit()[source]

Return the unit of the data such as “dB”, “seconds”, etc…

static version()[source]

Return the version of the processor

Aubio Pitch

class timeside.plugins.analyzer.externals.aubio_pitch.AubioPitch(blocksize_s=None, stepsize_s=None)[source]

Bases: timeside.core.analyzer.Analyzer

Aubio Pitch estimation analyzer

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Return the analyzer name, such as “Mean Level”, “Max level”, “Total length, etc..

post_process(self)[source]

Post-Process data after processign the input frames with process()

Processors such as analyzers will produce Results during the Post-Process

process(self, frames, eod=False)[source]

Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached.

Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged.

Warning: it is required to call setup() before this method.

setup(self, channels=None, samplerate=None, blocksize=None, totalframes=None)[source]

Allocate internal resources and reset state, so that this processor is ready for a new run.

The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.

static unit()[source]

Return the unit of the data such as “dB”, “seconds”, etc…

static version()[source]

Return the version of the processor

Aubio Spectral Descriptors collection

class timeside.plugins.analyzer.externals.aubio_specdesc.AubioSpecdesc[source]

Bases: timeside.core.analyzer.Analyzer

Aubio Spectral Descriptors collection analyzer

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Return the analyzer name, such as “Mean Level”, “Max level”, “Total length, etc..

post_process(self)[source]

Post-Process data after processign the input frames with process()

Processors such as analyzers will produce Results during the Post-Process

process(self, frames, eod=False)[source]

Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached.

Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged.

Warning: it is required to call setup() before this method.

setup(self, channels=None, samplerate=None, blocksize=None, totalframes=None)[source]

Allocate internal resources and reset state, so that this processor is ready for a new run.

The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.

static unit()[source]

Return the unit of the data such as “dB”, “seconds”, etc…

static version()[source]

Return the version of the processor

Aubio Temporal

class timeside.plugins.analyzer.externals.aubio_temporal.AubioTemporal[source]

Bases: timeside.core.analyzer.Analyzer

Aubio Temporal analyzer

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this processor, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Return the analyzer name, such as “Mean Level”, “Max level”, “Total length, etc..

post_process(self)[source]

Post-Process data after processign the input frames with process()

Processors such as analyzers will produce Results during the Post-Process

process(self, frames, eod=False)[source]

Process input frames and return a (output_frames, eod) tuple. Both input and output frames are 2D numpy arrays, where columns are channels, and containing an undetermined number of frames. eod=True means that the end-of-data has been reached.

Output-only processors (such as decoders) will raise an exception if the frames argument is not None. All processors (even encoders) return data, even if that means returning the input unchanged.

Warning: it is required to call setup() before this method.

setup(self, channels=None, samplerate=None, blocksize=None, totalframes=None)[source]

Allocate internal resources and reset state, so that this processor is ready for a new run.

The channels, samplerate and/or blocksize and/or totalframes arguments may be required by processors which accept input. An error will occur if any of these arguments is passed to an output-only processor such as a decoder.

static unit()[source]

Return the unit of the data such as “dB”, “seconds”, etc…

static version()[source]

Return the version of the processor

Yaafe