Why MATLAB-synthesised-song different from real one?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Jan
2013-1-24
编辑:Jan
2013-1-24
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 个评论
Walter Roberson
2013-1-25
编辑:Walter Roberson
2013-1-25
Yes. Every time I try,
why
and
evalc('why')
give me different results.
I think Cleve wanted it that way.
更多回答(2 个)
Walter Roberson
2013-1-24
编辑:Walter Roberson
2013-1-24
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!