Sound velocity measurements in liquid argon, oxygen and nitrogen