Volume data for my project

I am working on C.A.R.L., but I need to come up with a way to turn the volume from an audio jack into analog data.

Could I just connect the ground line to the arduino ground and the signal wire to an analog input?