Skip to content

Instantly share code, notes, and snippets.

@jonathanconway
Created November 29, 2016 05:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanconway/907758206954771aa7d55dd9fe1d517c to your computer and use it in GitHub Desktop.
Save jonathanconway/907758206954771aa7d55dd9fe1d517c to your computer and use it in GitHub Desktop.
Plays a midi file. Bash script that calls FluidSynth with SoftSynth sound-bank on a midi file, to play it through the system audio.
#!/bin/bash
exec fluidsynth -i /Library/Audio/Sounds/Banks/GeneralUser\ GS\ v1.47.sf2 $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment