Why MATLAB-synthesised-song different from real one?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I wonder why Why MATLAB-synthesised-song different from real one?
Réponse acceptée
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
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.
Plus de réponses (2)
Walter Roberson
le 24 Jan 2013
Modifié(e) : Walter Roberson
le 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 commentaires
Voir également
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!