I am making Shadowing application . I have in trouble that play music by sentence. like this ,...
If Music is given this "hello world. super world" , I want to do like this...
@implementation
....
MPMusicPlayerController *musicPlayer;
- (void) playMusicByOneSentence
{
//[musicPlayer play] is play a whole song. I want to play song by each sentence and sleep 5 sec.
//[musicPlayer play];
// I want to like following like this
[musicPlayer playByOneSentence];
}
}
playByOneSentenc
method is continue play sound one sentence, and stop 5 sec until finished a whole song.
But I have no idea like above this action. Objective-C's play
method is just play a whole music.
Do you have any idea?