how to separation channel on audio with FLAC format ?

조회 수: 1 (최근 30일)
Sisi Misi
Sisi Misi 2021년 8월 28일
답변: Image Analyst 2021년 8월 28일
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