HDMI doesn't help unless both the TV and soundbar support HDMI-ARC.
If the soundbar has only red/white analog audio inputs and the TV doesn't have an line level or headphone audio out then you will need a digital to analog converter to connect them. If the TV doesn't have any audio outputs then you will need to connect the soundbar directly to your external source (ie cable box).