I started writing down the figured bass of an anime theme, and for a particular passage, I am confused on how to accurately write the figured bass progression. I have recreated the bare progressions excerpt below:
From what I have learned after pouring through the Internet and my old Harmony and voice leading textbook, I believe from measure (mm) 4, the key goes from g minor to the eventual D Major through the III7 as a altered common chord (with the C#). What follows in mm 5-7 is a descending sequence of 5ths that eventually ends in the D Major.
Is my analysis correct? And if so, how should I best write out the figured bass accurately?