You get these by selling R, XR or UR Grade Performance Cards. You get more of them by selling more valuable cards.
You can use Memory Catchers to purchase Miracle Rhythm Cubes, a maximum of 80 every week. You can purchase these in the Trade Shop section of Performance Cards