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

2 vues (au cours des 30 derniers jours)
libra
libra le 13 Nov 2019
Commenté : libra le 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

Réponses (1)

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

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by