MIDI on MacOS Ventura

Hi all,

Has anyone got any tips on how to get the MIDI interface working on MacOS Ventura? I installed FluidSynth and a soundfont via Homebrew, but the game still tells me that MIDI is not supported on my system.

Does anyone have any ideas how to get it working?

TIA

1 Like

on linux you usually need to symlink fluidsynth.so.2 to loader/bin/
not sure if libraries are loaded the same way on macos but check it out

Thanks, I’ll look into that. Might just end up installing a Linux VM.

i like midis and all but i dont think its quite worth the ss13 on linux treatment

Linux VM absolutely is not the best way to play the game.

If you know how native libraries and Homebrew work, some people have managed to get it to work by installing Fluidsynth from there and linking the correct libraries. Otherwise your only option is to wait for me to finally get around to shipping the natives (some day).

1 Like

If anyone knows which libraries need to be linked, please let quote me.

Ok so thanks to the guy in this discussion, I figured out we need to have an x86 version of FluidSynth:
 https://steamcommunity.com/app/1482520/discussions/0/3808404524159230426/
To sum up, here’s my approach on how we can make it work:
0) requirements: zsh, probably git.

  1. install the x86 version of Homebrew, but actually better to have both ARM and x86.
    Here’s the way:

arch -x86_64 zsh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"%22)

  1. Then edit ~/.zshrc adding those lines:
     
# Multiple Homebrews on Apple Silicon
if ["$(arch)" = "arm64"]; then
    eval "$(/opt/homebrew/bin/brew shellenv)"
    export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
    # export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" # For compilers to find [email protected]
else
    eval "$(/usr/local/bin/brew shellenv)"
    export PATH="/usr/local/opt/[email protected]/bin:$PATH"
    export PATH="/usr/local/opt/[email protected]/bin:$PATH"
    # export LDFLAGS="-L/usr/local/opt/[email protected]/lib" # For compilers to find [email protected]
fi
  1.  

Just an example how to open this file using the vscode:

code ~/.zshrc

`3) After that, you open new terminal session, switch to x86 zsh:

arch -x86_64 zsh

4) Install flyidsynth:

arch -x86_64 brew install fluid-synth

And it should work (at least worked for me)

If anyone using M1 would have any troubles with that feel free to quote here, dm here or in steam.`

On 4/12/2023 at 1:52 PM, deltanedas said:

on linux you usually need to symlink fluidsynth.so.2 to loader/bin/
not sure if libraries are loaded the same way on macos but check it out

Is there a guide on how to do this? Want to sort it on SteamOS.

ive never used a readonly distro so dont know where fluidsynth might be

On 8/27/2023 at 1:25 AM, amatadorro said:

Ok so thanks to the guy in this discussion, I figured out we need to have an x86 version of FluidSynth:
 https://steamcommunity.com/app/1482520/discussions/0/3808404524159230426/
To sum up, here’s my approach on how we can make it work:
0) requirements: zsh, probably git.

  1. install the x86 version of Homebrew, but actually better to have both ARM and x86.
    Here’s the way:

arch -x86_64 zsh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"%22)

  1. Then edit ~/.zshrc adding those lines:
     

Multiple Homebrews on Apple Silicon

if [“$(arch)” = “arm64”]; then
eval “$(/opt/homebrew/bin/brew shellenv)”
export PATH=“/opt/homebrew/opt/[email protected]/bin:$PATH”

export LDFLAGS=“-L/opt/homebrew/opt/[email protected]/lib” # For compilers to find [email protected]

else
eval “$(/usr/local/bin/brew shellenv)”
export PATH=“/usr/local/opt/[email protected]/bin:$PATH”
export PATH=“/usr/local/opt/[email protected]/bin:$PATH”

export LDFLAGS=“-L/usr/local/opt/[email protected]/lib” # For compilers to find [email protected]

fi

  1.  

Just an example how to open this file using the vscode:

code ~/.zshrc

`3) After that, you open new terminal session, switch to x86 zsh:

arch -x86_64 zsh

  1. Install flyidsynth:

arch -x86_64 brew install fluid-synth

And it should work (at least worked for me)

If anyone using M1 would have any troubles with that feel free to quote here, dm here or in steam.`

I thought I had posted this weeks ago, but this works for me like a charm. I’m on the M2 as well. Thanks for figuring this out/linking it here

# Multiple Homebrews on Apple Silicon
if [ "$arch" = "arm64" ]
then
    eval "$(/opt/homebrew/bin/brew shellenv)"
    export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"
    # export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" # For compilers to find [email protected]
else
    eval "$(/usr/local/bin/brew shellenv)"
    HOMEBREW_PREFIX="/usr/local"
    HOMEBREW_REPOSITORY="${HOMEBREW_PREFIX}/Homebrew"
    export PATH="/usr/local/opt/[email protected]/bin:$PATH"
    export PATH="/usr/local/opt/[email protected]/bin:$PATH"
fi

Also it needs to set HOMEBREW_PREFIX and HOMEBREW_REPOSITORY variables.

1 Like