This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

visualize

Open 'EBU Mode' meter display

Syntax

visualize(loudMtr)

Description

example

visualize(loudMtr) opens an 'EBU Mode' loudness meter display. The values of momentary loudness, short-term loudness, integrated loudness, loudness range, and true-peak are updated as the simulation progresses. The display also shows the maximum value of momentary and short-term loudness, and the time since the last call to reset.

Examples

collapse all

Create an object of the loudnessMeter System object™, and then call visualize to open an 'EBU Mode' loudness meter display.

loudMtr = loudnessMeter;
visualize(loudMtr)

Create an audio file reader System object and specify the audio file to analyze. Create an audio device writer System object to play the audio to your output device.

fileReader = dsp.AudioFileReader('RockDrums-48-stereo-11secs.mp3');
deviceWriter = audioDeviceWriter('SampleRate',fileReader.SampleRate);

In an audio stream loop, read the audio from the file and play it to your device. The loudness meter visualization updates at each call.

while ~isDone(fileReader)
    audioIn = fileReader();
    loudMtr(audioIn);
    deviceWriter(audioIn);
end

Input Arguments

collapse all

Object of the loudnessMeter System object™.

See Also

Blocks

Functions

Introduced in R2016b