The installation method here requires Homebrew. If you have not installed it yet, please install Homebrew first.
Install FluidSynth as follows:
% brew install fluid-synth
(Depending on the version, ‘fluid-synth’ might be listed as ‘fluidsynth’.)
Find the sound-font file named ‘FluidR3_GM.sf2’ on the Internet and download it (For example, from here).
Start FluidSynth in the background as follows:
% fluidsynth -s -i -m coremidi -o midi.autoconnect=1 ~/Downloads/FluidR3_GM/FluidR3_GM.sf2 &
Change the last argument appropriately depending on the location of the sound-font file.