How do you record on a vinyl record?

Basically sound vibrations were carried along and tranferred to the soft vinyl through means of a needle.