Function audio_visualizer::waveform::staticc::png_file::visualize [−][src]
pub fn visualize(
samples: &[i16],
channels: Channels,
directory: &str,
filename: &str
)
Visualizes audio as a waveform in a png file. If the data is mono, it creates one file. If the data is stereo, it creates two files (with left and right prefix)