It shall be unlawful to use, maintain or operate loudspeakers, sound trucks, amplifiers, or other mechanical or electrical devices for increasing the volume of sound, upon the streets, sidewalks, parks or other public places of the county, provided that nothing in this section shall apply to the United States of America, the state, the county, the city or to public agencies.