1. A method comprising: receiving, from a client, text associated with a request for text-to-speech synthesis; performing, via a processor of a computing device, an analysis of the text to identify a plurality of intonational phrases in the text, wherein a size of the text being analyzed is based on a network latency; generating, via the processor, a first file containing text-to-speech data for a first intonational phrase of the plurality of intonational phrases using a first text-to-speech voice, wherein the first text-to-speech voice is selected based on user preferences, and wherein the first intonational phrase is indexed by a first unique identifier; generating, via the processor, a second file containing the text-to-speech data for a second intonational phrase of the plurality of intonational phrases using a second text-to-speech voice, wherein the second text-to-speech voice is selected based on the user preferences, and wherein the second intonational phrase is indexed by a second unique identifier; storing the first file and the second file in a cache on a web-server; transmitting the first file to the client in response to the request; and while the client plays the first file, generating additional files containing additional text-to-speech data for remaining intonational phrases of the plurality of intonational phrases, wherein the remaining intonational phrases comprise the second intonational phrase, and wherein each of the additional files is indexed by the first unique identifier plus a respective offset.
1. A method comprising: receiving, from a client, text associated with a request for text-to-speech synthesis; performing, via a processor of a computing device, an analysis of the text to identify a plurality of intonational phrases in the text, wherein a size of the text being analyzed is based on a network latency; generating, via the processor, a first file containing text-to-speech data for a first intonational phrase of the plurality of intonational phrases using a first text-to-speech voice, wherein the first text-to-speech voice is selected based on user preferences, and wherein the first intonational phrase is indexed by a first unique identifier; generating, via the processor, a second file containing the text-to-speech data for a second intonational phrase of the plurality of intonational phrases using a second text-to-speech voice, wherein the second text-to-speech voice is selected based on the user preferences, and wherein the second intonational phrase is indexed by a second unique identifier; storing the first file and the second file in a cache on a web-server; transmitting the first file to the client in response to the request; and while the client plays the first file, generating additional files containing additional text-to-speech data for remaining intonational phrases of the plurality of intonational phrases, wherein the remaining intonational phrases comprise the second intonational phrase, and wherein each of the additional files is indexed by the first unique identifier plus a respective offset. 4. The method of claim 1 , wherein the first file contains notification information.