MATLAB: How can i make a music using matlab?

homeworkmusicsound

my instructor want us to make a music using MATLAB.

Best Answer

Attached is a demo, make_wav_file.m, on how to make a sound.
You can start it off with this:
NET.addAssembly('System.Speech');
obj = System.Speech.Synthesis.SpeechSynthesizer;
obj.Volume = 100;
Speak(obj,'Now you will listen to my music');
Good luck.