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. Related SolutionsMATLAB: How to generate a song on Matlab Here's an example to get you started. 5 seconds of middle C.fs = 1e4; % sampling frequencyt = 1:1/fs:5; % time signalfreq = 261.6; % note frequency in Hz (middle C)y = sin(2*pi*freq*t); % create sine waveplayer = audioplayer(y, fs); % create audio player objectplay(player); % play the sound MATLAB: How to add columns to cell array [cells repmat({'-'},3,2)] Related QuestionCreate a music with different frequency and durationCreate a cell array of mixed dimensionHow to access the cell array
Best Answer