Raspberry pi and RoPiee programming question

That looks fine.

There is more advice here , including how do ssh into the pi and see if the audio output is there.

But you could also check the HAT is properly seated on the Pi.

And perhaps re-flash and see if that resolves the problem.