lib/index.js
function nameToUrl (name, sf, format) {
  format = format === 'ogg' ? format : 'mp3'
  sf = sf === 'FluidR3_GM' ? sf : 'MusyngKite'
  return 'https://gleitz.github.io/midi-js-soundfonts/' + sf + '/' + name + '-' + format + '.js'
}
function nameToUrl (name, sf, format) {
  format = format === 'ogg' ? format : 'mp3'
  sf = sf === 'FluidR3_GM' ? sf : 'MusyngKite'
  return 'https://gleitz.github.io/midi-js-soundfonts/' + sf + '/' + name + '-' + format + '.js'
}
Given an instrument name returns a URL to to the Benjamin Gleitzman's
package of [pre-rendered sound fonts](https://github.com/gleitz/midi-js-soundfonts)

@param {String} name - instrument name
@param {String} soundfont - (Optional) the soundfont name. One of 'FluidR3_GM'
or 'MusyngKite' ('MusyngKite' by default)
@param {String} format - (Optional) Can be 'mp3' or 'ogg' (mp3 by default)
@returns {String} the Soundfont file url
@example
var Soundfont = require('soundfont-player')
Soundfont.nameToUrl('marimba', 'mp3')