On the host with loudspeakers add following line into /etc/rc.conf.local:
and restart sndiod(1)
On the host, you wish to play music from, set a porper environment variable:
and you are ready to play music over network. Try it.
For more information read sndio(7).