Why MATLAB-synthesised-song different from real one?
1 view (last 30 days)
Show older comments
Hi,
I wonder why Why MATLAB-synthesised-song different from real one?
Accepted Answer
Jan
on 24 Jan 2013
Edited: Jan
on 24 Jan 2013
Real one is simply too boring for a good song:
song = real(1);
wavplay(song, 44100);
At least the text of the "Why MATLAB-synthesised-song" is a revelation:
SongText = evalc('why'); % a duet with Sean
NET.addAssembly('System.Speech')
speaker = System.Speech.Synthesis.SpeechSynthesizer();
speaker.Rate = 1
speaker.Speak(SongText)
3 Comments
Walter Roberson
on 25 Jan 2013
Edited: Walter Roberson
on 25 Jan 2013
Yes. Every time I try,
why
and
evalc('why')
give me different results.
I think Cleve wanted it that way.
More Answers (2)
Walter Roberson
on 24 Jan 2013
Edited: Walter Roberson
on 24 Jan 2013
MATLAB changes the output to avoid potential copyright violations. The details of how it does that are "trade secret", in order to prevent people from creating the MATLAB output some other way and copyrighting that version too.
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!