how to separation channel on audio with FLAC format ?

4 次查看(过去 30 天)
Hi everyone
I wanna ask about, how to separation channel on audio with FLAC format ?
I have audio in FLAC format
This audio is 2 channels, and I want to separate the channels
And how to compare the results
is there a program to separate the channel?
thank you

回答(1 个)

Image Analyst
Image Analyst 2021-8-28
From the help for audioread():
load handel.mat
filename = 'handel.flac';
audiowrite(filename,y,Fs);
% Read only the first 2 seconds.
samples = [1,2*Fs];
clear y Fs
[y,Fs] = audioread(filename,samples);
% Play the samples.
sound(y,Fs);
Adapt as needed.

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by