Regenerative changes of voltage-dependent Ca2+ and K+ currents encode a learned stimulus association.