The noun is probably from middle (noun) + -ing; the adjective is most likely derived from the noun, and the adverb from the adjective.
Improve your pronunciation
Practice speaking and memorizing "middling" and many other words and sentences in English.