Search code examples
iphoneiosuitableviewaudiotext-to-speech

text to Speech: read List and play audio file between headlines


i am using dragon-dictations iPhone SDK Speech Kit for text to Speech in my app.
i want to read the headlines in tableView.
i am getting the values from coreData and saving them to a textfile
(later, i want to do more with the textfile).

So between the headlines, i want to play a sound, like a jingle, earcon or audio cue/audio file, so the user gets notified with this sound, that the headline is changed.
I have no idea how to implement a function, to play a jingle between headlines.


Solution

  • the solution for my question is:

    i have to use SSML. with ssml i can play a audiofile whereever i want.

    this is the line for it:

    <audio src="welcome.wav">