Since I was checking K1 for modules that reuse the same music even though they are different places, I created a spreadsheet that lists all of K1's modules and their corresponding Day, Night and Battle music. Day and Night is always the same (with one exception) and I think the game actually only uses Day anyway. All tracks are listed with their number corresponding to their row in ambientmusic.2da, their file name and the name given in the KotOR Soundtrack playlist linked below.
You should hopefully be able to sort the spreadsheet by any of the values. To do so, click in the column you want to sort by, press Ctrl+A to select everything and then in "Data" select "Sort by Column XX...".
That's all there is to it. I don't know if anyone will ever use this but since I made it, I figured I might as well shart it^^ At the very least you can use it to get warp codes
Here you go:
Note that most of the STUNT modules do not have any ambient music assigned. That does not mean that no music plays in this scene. Instead the music is most likely started by the script that controls the cutscene.
While building this list, I also found some music pieces that are not used in any of the game's modules. However scripts could still play them anywhere in the game. If you happen to know where exactly, please let me know and I'll add the information. Those are the following tracks (once again with the name for the linked playlist):
1 mus_gui_start (The Old Republic Theme)
That's the theme played in the main menu.
7 mus_theme_carth (Captured by the Leviathan)
This one is played in the cutscene where the Ebon Hawk is captured in the Leviathan's tractor beam.
33 mus_bat_out (The Temple)
45 mus_bat_valsith (Uthar Wynn's Trials)
46 mus_bat_sforge (Star Forge Battle (Not quite sure here as I haven't checked the game file))
And finally, here's the playlist.