Answer:
There would be someone at the front of the theatre playing the piano. They would play fast when there was excitement, soft music for a love scene, mysterious music, etc. In the big cities, they would have a large organ, so in addition to the music, different sounds could also be made to accompany the action on the film.