Audiowrite - Undefined function or variable

Hi, I am trying to write an audio file (.wav). Have followed the syntax in the example provided but when trying to run it, i receive an error stating "Undefined function or variable 'y'". Well , y is the target variable where I want the loaded data to be stored in.... Any ideas ?

3 件のコメント

Walter Roberson
Walter Roberson 2017 年 1 月 30 日
Please show your code.
You need to use audioread() or equivalent to read the data. audiowrite() does not return any values.
jhon stewart
jhon stewart 2017 年 2 月 14 日
i have the same problem i'm trying to write an audio following the example "audioread('name_fil.wav',y,fs,nb)" and i receive te error "undefined function or variable 'y' " i'm tryng to record my voice to manipulate it so i use 8000 as the fs value
Walter Roberson
Walter Roberson 2017 年 2 月 14 日
audioread() only takes a file name. That syntax would be for audiowrite()

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAudio I/O and Waveform Generation についてさらに検索

製品

質問済み:

2017 年 1 月 30 日

コメント済み:

2017 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by