Why the brown ghost chirps at night