Azzera filtri
Azzera filtri

Writing midi files from audio data

7 visualizzazioni (ultimi 30 giorni)
Andy
Andy il 22 Apr 2013
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

Risposte (0)

Categorie

Scopri di più su Simulation, Tuning, and Visualization in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by