Likutei Etzot, Joy 21
One must specify the sin, for one specifically needs verbal confession, to confess specifically in words each time about everything he has done in detail. But there are many obstacles to this. And through the joy of a commandment, for example, a wedding that is a commandment or another commandment done with joy, when he strengthens himself to rejoice with great joy until he dances a great deal out of joy, through this he can make a verbal confession, and through this he rectifies the blemish of his sins (Likutei Moharan I, Torah 178).
View original Hebrew
צָרִיךְ לְפָרֵט אֶת הַחֵטְא, כִּי צְרִיכִין דַּוְקָא וִדּוּי דְּבָרִים, לְהִתְוַדּוֹת בְּדִבּוּרִים דַּוְקָא בְּכָל פַּעַם עַל כָּל מַה שֶּׁעָשָׂה בִּפְרָטִיּוּת. אֲבָל יֵשׁ לָזֶה מְנִיעוֹת רַבּוֹת. וְעַל־יְדֵי שִׂמְחָה שֶׁל מִצְוָה כְּגוֹן חֲתֻנָּה שֶׁל מִצְוָה אוֹ שְׁאָר מִצְוָה בְּשִׂמְחָה, כְּשֶׁמִּתְגַּבֵּר לִשְׂמֹחַ בְּשִׂמְחָה גְּדוֹלָה עַד שֶׁיְּרַקֵּד הַרְבֵּה מֵחֲמַת שִׂמְחָה, עַל־יְדֵי זֶה יוּכַל לְהִתְוַדּוֹת וִדּוּי דְּבָרִים, וְעַל יְדֵי זֶה מְתַקֵּן פְּגַם חֲטָאָיו: (לק"א סי' קע"ח)