start function when music stops

hi i was wandering if there is a way to start a function when an audio clip stops playing?

rather than just checking for the audio to stop it must be a function which only starts when the audio has stopped

private bool playing = false;

//put this in the update fuction

if(playing)
 if(!audio.isplaying){
 playing = false;
 //start function 
}

hope this helps