Why MATLAB-synthesised-song different from real one?

Hi,
I wonder why Why MATLAB-synthesised-song different from real one?

1 commentaire

alicin
alicin le 24 Jan 2013
frequency, filter, noise.. What is the reasond for this_

Connectez-vous pour commenter.

 Réponse acceptée

Jan
Jan le 24 Jan 2013
Modifié(e) : Jan le 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 commentaires

I needed:
SongText = evalc('why');
Jan
Jan le 24 Jan 2013
I needed it, too. But even then, it is different from real one.
Walter Roberson
Walter Roberson le 25 Jan 2013
Modifié(e) : Walter Roberson le 25 Jan 2013
Yes. Every time I try,
why
and
evalc('why')
give me different results.
I think Cleve wanted it that way.

Connectez-vous pour commenter.

Plus de réponses (2)

Walter Roberson
Walter Roberson le 24 Jan 2013
Modifié(e) : Walter Roberson le 24 Jan 2013

2 votes

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.

Community Treasure Hunt

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

Start Hunting!

Translated by