Katy Perry likes to meditate before she embarks on a "psychological journey" when she's writing music.