s ▁theme ▁during ▁the ▁surprise ▁attack ▁bor rows ▁from ▁an ▁attack ▁theme ▁from ▁Wolf en , ▁in ▁turn ▁influenced ▁by ▁G olds m ith ' s ▁score ▁for ▁Ali en ). ▁Musical ▁moments ▁from ▁the ▁original ▁television ▁series ▁are ▁also ▁heard ▁during ▁investigation ▁of ▁the ▁Reg ula ▁space ▁station ▁and ▁elsewhere . ▁ ▁To ▁Hor ner , ▁the ▁" st uff ▁under ne ath " ▁the ▁main ▁story ▁was ▁what ▁needed ▁to ▁be ▁addressed ▁by ▁the ▁score ; ▁in ▁The ▁W r ath ▁of ▁Khan , ▁this ▁was ▁the ▁relationship ▁between ▁Kirk ▁and ▁Spo ck . ▁The ▁main ▁theme ▁serves ▁as ▁Kirk ' s ▁theme , ▁with ▁a ▁m ell ower ▁section ▁following ▁that ▁is ▁the ▁theme ▁for ▁the ▁Star ship ▁Enter prise . ▁Hor ner ▁also ▁wrote ▁a ▁mot if ▁for ▁Spo ck , ▁to ▁emphas ize ▁the ▁character ' s ▁depth : ▁" By ▁putting ▁a ▁theme ▁over ▁Spo ck , ▁it ▁war ms ▁him ▁and ▁he ▁becomes ▁three - dimensional ▁rather ▁than ▁a ▁collection ▁of ▁sch t icks ." ▁The ▁difference ▁in ▁the ▁short , ▁French ▁horn - based ▁c ues ▁for ▁the ▁villa in ▁and ▁longer ▁mel od ies ▁for ▁the ▁hero es ▁helped ▁to ▁differenti ate ▁characters ▁and ▁ships ▁during ▁the ▁battle ▁sequences . ▁ ▁The ▁sound track ▁was ▁Hor ner ' s ▁first ▁major ▁film ▁score , ▁and ▁was ▁written ▁in ▁four ▁and ▁a ▁half ▁weeks . ▁The ▁resulting ▁ 7 2 ▁minutes ▁of ▁music ▁was ▁then ▁performed ▁by ▁a ▁ 9 1 - pie ce ▁or