I first learned about this in the army, called "tactical breathing". I still consistently use this before public speaking or if I feel myself in a manic/stressed state of mind.