Kitzur Likutei Moharan I, 21:4
And through the heart becoming fervent, one merits purity of heart, and there will be fulfilled in him what is written: "Create in me a pure heart, O God, and renew a steadfast spirit within me." For what one speaks between himself and his Maker is the aspect of the holy spirit, each one according to his aspect. For through entering into this and compelling himself and preparing himself to speak before God, blessed be He, God, blessed be He, sends him words into his mouth, which are the aspect of the holy spirit; and King David, peace be upon him, founded the Book of Psalms from this. And one must see to renew himself constantly, to ask each time with supplications and new words of appeasement, which one merits through a pure heart, as mentioned above.
View original Hebrew
וְעַל יְדֵי זֶה שֶׁנִּתְלַהֵב הַלֵּב זוֹכֶה לְטָהֳרַת הַלֵּב וִיקֻיַּם בּוֹ מַה שֶּׁכָּתוּב "לֵב טָהוֹר בְּרָא לִי אֱלהִים וְרוּחַ נָכוֹן חַדֵּשׁ בְּקִרְבִּי" . כִּי מַה שֶּׁמְּדַבְּרִים בֵּינוֹ לְבֵין קוֹנוֹ הוּא בְּחִינַת רוּחַ הַקּדֶשׁ כָּל אֶחָד לְפִי בְּחִינָתוֹ. כִּי עַל יְדֵי שֶׁנִּכְנָס לָזֶה וּמַכְרִיחַ עַצְמוֹ וּמֵכִין עַצְמוֹ לְדַבֵּר לִפְנֵי הַשֵּׁם יִתְבָּרַךְ שׁוֹלֵחַ לוֹ הַשֵּׁם יִתְבָּרַךְ דִּבּוּרִים בְּפִיו שֶׁהֵם בְּחִינַת רוּחַ הַקּדֶשׁ וְדָוִד הַמֶּלֶךְ עָלָיו הַשָּׁלוֹם יָסַד מִזֶּה סֵפֶר תְּהִלִּים. וְצָרִיךְ לִרְאוֹת לְחַדֵּשׁ עַצְמוֹ תָּמִיד לְבַקֵּשׁ בְּכָל פַּעַם בְּתַחֲנוּנִים וְדִבְרֵי רִצּוּיִים חֲדָשִׁים שֶׁזּוֹכֶה לָזֶה עַל יְדֵי לֵב טָהוֹר כַּנַּ"לRead this passage within Part I · Torah 21, in its full context