want to join two audio files and write /save using audiowrite

3 Ansichten (letzte 30 Tage)
libra
libra am 13 Nov. 2019
Kommentiert: libra am 14 Nov. 2019
close all;clear all;clc
[y1,Fs] = audioread('a.wav');
[y2,Fs] = audioread('b.wav');
y3 = [y1; y2;];
sound(y3,16000)
audiowrite(y3,Fs,xx)
audiowrite function is not working..please explain

Antworten (1)

Bhaskar R
Bhaskar R am 13 Nov. 2019
First argument of the audiowrite is filename not variable need to be written, change accordingly

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by