Glad you found where the story and council member tracks are stored; I was wondering where they were located.
As for Keens 5 and 6, these are the patches I found.
#Keen 5 Music
#Song values:
#00 = Came In 01 = Armageddon Machine
#02 = High Scores 03 = Snooping
#04 = Bagpipes 05 = Wednesday on the Beach
#06 = Unknown 07 = Security Center
#08 = Help 09 = Be Sphereful With My Diamonds
#0A = Make it Tighter 0B = Omegamatic
#0C = Fanfare 0D = Quantum Explosion Dynamo
#This is the music played in each level:
# VALUE LEVEL MUSIC PLAYED LEVEL No
%patch $3067A $0B $00 #Map (Omegamatic) 0
$05 $00 #Ion Ventilation System (Wednesday on the Beach) 1
$07 $00 #Security Center (Security Center) 2
$09 $00 #Defense Tunnel Vlook (Be Sphereful) 3
$0A $00 #Energy Flow Systems (Make it Tighter) 4
$09 $00 #Defense Tunnel Burrh (Be Sphereful) 5
$0A $00 #Regulation Control Center (Make it Tighter) 6
$09 $00 #Defense Tunnel Sorra (Be Sphereful) 7
$0A $00 #Neutrino Burst Injector (Make it Tighter) 8
$09 $00 #Defense Tunnel Teln (Be Sphereful) 9
$0A $00 #Brownian Motion Inducer (Make it Tighter) 10
$03 $00 #Gravitational Damping Hub (Snooping) 11
$0D $00 #Quantum Explosion Dynamo (QED) 12
$04 $00 #Korath III Base (Bagpipes) 13
$0C $00 #Ending (Fanfare)
$02 $00 #High Scores (High Scores) 15
%patch $3069C $01 $00 #Scrolling Story (Armageddon Machine)
$00 $00 #Game Over (Came In)
$08 $00 #Help (Help)
#Keen 6 Music
#Song values:
#00 = A World of Wonderment 01 = Brer Tar
#02 = To the Future 03 = Faster
#04 = Space Funk 05 = Aliens Ate My Babysitter
#06 = Ominous 07 = Metal
#08 = Mamba Snake
#This is the music played in each level:
# VALUE LEVEL MUSIC PLAYED LEVEL No
%patch $3103E $05 $00 #Map (Aliens Ate My Babysitter) 0
$03 $00 #Bloogwaters Crossing (Faster) 1
$01 $00 #Guard Post One (Brer Tar) 2
$08 $00 #First Dome of Darkness (Mamba Snake) 3
$08 $00 #Second Dome of Darkness (Mamba Snake) 4
$08 $00 #Bloogdome (Mamba Snake) 5
$07 $00 #Bloogton Manufacturing (Metal) 6
$02 $00 #Bloogton Tower (To the Future) 7
$07 $00 #Bloogfoods, Inc. (Metal) 8
$01 $00 #Guard Post 2 (Brer Tar) 9
$03 $00 #Bloogville (Faster) 10
$02 $00 #BASA (To the Future) 11
$01 $00 #Guard Post 3 (Brer Tar) 12
$04 $00 #Bloogbase Recreational District(Space Funk) 13
$04 $00 #Bloogbase Management District (Space Funk) 14
$06 $00 #Bloog Control Center (Ominous) 15
$02 $00 #Blooglab Space Station (To the Future) 16
$00 $00 #Bean-with-Bacon Megarocket (A World of Wonderment) 17
$00 $00 #High Scores (A World of Wonderment) 18
controls the track played in both level 14 and the ending. If this is a problem, let me know and I'll see if there's a way to make them play different songs.
By the way, are you working on a Keen 5 mod or level pack?
Are you using instantcarma? That speeds things up no end.
Keen 5 is different from 4 and 6 in that its music list for non-level things are listed next to the levels, not in the code where needed. It's more advanced, but somehow, I feel, also rushed.