annotate gmm_baseline_experiments/external_libs/librosa/librosa-0.3.1/docs/glossary.rst @ 5:b523456082ca tip

Update path to dataset and reflect modified chunk naming convention.
author peterf
date Mon, 01 Feb 2016 21:35:27 +0000
parents cb535b80218a
children
rev   line source
peterf@2 1 Glossary
peterf@2 2 ========
peterf@2 3
peterf@2 4 .. glossary::
peterf@2 5
peterf@2 6 time series
peterf@2 7 Typically an audio signal, denoted by ``y``, and represented as a
peterf@2 8 one-dimensional *numpy.ndarray* of floating-point values. ``y[t]``
peterf@2 9 corresponds to amplitude of the waveform at sample ``t``.
peterf@2 10
peterf@2 11 sampling rate
peterf@2 12 The (positive integer) number of samples per second of a time series.
peterf@2 13 This is denoted by an integer variable ``sr``.
peterf@2 14
peterf@2 15 frame
peterf@2 16 A short slice of a :term:`time series` used for analysis purposes. This
peterf@2 17 usually corresponds to a single column of a spectrogram matrix.
peterf@2 18
peterf@2 19 window
peterf@2 20 A vector or function used to weight samples within a frame when computing
peterf@2 21 a spectrogram.
peterf@2 22
peterf@2 23 frame length
peterf@2 24 The (positive integer) number of samples in an analysis window (or
peterf@2 25 :term:`frame`).
peterf@2 26 This is denoted by an integer variable ``n_fft``.
peterf@2 27
peterf@2 28 hop length
peterf@2 29 The number of samples between successive frames, e.g., the columns
peterf@2 30 of a spectrogram. This is denoted as a positive integer ``hop_length``.
peterf@2 31
peterf@2 32 window length
peterf@2 33 The length (width) of the window function (e.g., Hann window). Note that this
peterf@2 34 can be smaller than the :term:`frame length` used in a short-time Fourier
peterf@2 35 transform. Typically denoted as a positive integer variable ``win_length``.
peterf@2 36
peterf@2 37 spectrogram
peterf@2 38 A matrix ``S`` where the rows index frequency bins, and the columns index
peterf@2 39 frames (time). Spectrograms can be either real-valued or complex-valued. By
peterf@2 40 convention, real-valued spectrograms are denoted as *numpy.ndarray*\ s ``S``,
peterf@2 41 while complex-valued STFT matrices are denoted as ``D``.
peterf@2 42
peterf@2 43 onset (strength) envelope
peterf@2 44 An onset envelope ``onset_env[t]`` measures the strength of note onsets at
peterf@2 45 frame ``t``. Typically stored as a one-dimensional *numpy.ndarray* of
peterf@2 46 floating-point values ``onset_envelope``.
peterf@2 47
peterf@2 48 chroma
peterf@2 49 Also known as pitch class profile (PCP). Chroma representations measure the
peterf@2 50 amount of relative energy in each pitch class (e.g., the 12 notes in the
peterf@2 51 chromatic scale) at a given frame/time.