 For the famous "Layla" montage, Martin Scorsese (qv) actually  played the "piano coda" section of the song during the shooting of  each scene so that certain bars of the piano piece would match up  with certain shots.