フィルターのクリア

Writing midi files from audio data

7 ビュー (過去 30 日間)
Andy
Andy 2013 年 4 月 22 日
Hi All,
I have some problems writing midi files. I got an 'output' matrix containing music notes and each note is converted to audio data 'a'. Each 'a' can then be sounded out by soundsc by looping through the notes in the output array. Can anybody help me on how to store all the 'a' in a midi file?
fs=19200;
for x=1:length(output)
key = tone(output(x));
a = note10(key,0.5);
soundsc(a,fs);
end
Thank you for any help you may give in advance!
Andy

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by