how to separation channel on audio with FLAC format ?

2 views (last 30 days)
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

Answers (1)

Image Analyst
Image Analyst on 28 Aug 2021
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.

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!