Oscillations of pH inside the secretory granule control the gain of Ca2+ release for signal transduction in goblet cell exocytosis.