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

1 回表示 (過去 30 日間)
libra
libra 2019 年 11 月 13 日
コメント済み: libra 2019 年 11 月 14 日
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

回答 (1 件)

Bhaskar R
Bhaskar R 2019 年 11 月 13 日
First argument of the audiowrite is filename not variable need to be written, change accordingly
  1 件のコメント
libra
libra 2019 年 11 月 14 日
thanks I have changed and done

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAudio 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