Short-term memory is believed to rely mostly on an acoustic code for storing information, and to a lesser extent a visual code.