DPSegAudio

Direct plot for audio data with segementation marks.
#include "DPSegAudio.hxx"
 

Direct Segmented Audio plot function

void PlotSegAudio( const Audio& audio,
                   std::list<unsigned>& marks,
                   const std::string& label="",
                   int x=100,
                   int y=100, 
                   int w=500,
                   int h=225 )
Assigns the data for viewing, as well as a title and dimensions for the plot.
audio : audio data.
marks : list of values with segmentation marks (sample indexex).
label : title label for the plot.
x : x-coordinate of the upper left corner, default=100.
y : y-coordinate of the upper left corner, default=100.
w : width,  default=500.
h : height, default=225.