I have a Macbook Pro 13" and it's a mid 2012 model. It's hooked up to my TV through the HDMI cord as well as the mini display adapter and the display is great, but there's no sound at all. My computer recognizes the HDMI cord and that option is selected. It's also selected via the opt button then clicking the sound, as well as through the MIDI application. I have also tried two different HDMI cords with no luck. I've been looking around and absolutely nothing fixes my problem. I'm really confused as to how my computer could recognize all this being connected and still produce no sound. Can anybody help me figure this out?
You need a mini DisplayPort (mDP) to HDMI adapter with audio support.
One like BlueRigger adapter should work perfectly for your application.
If you look at the Tech Specs page from Apple specific to your model, you will see that HDMI video with audio is supported.
Just plug in your HDMI cable to that adapter and the other end into your TV and you are good to go.