packages/audio-pack/index.js
function build (instFile) {
  var dir = path.dirname(instFile)
  var inst = JSON.parse(fs.readFileSync(instFile))
  inst.samples = samples(path.join(dir, 'samples'), true)
  return JSON.stringify(inst, null, 2)
}
function build (instFile) {
  var dir = path.dirname(instFile)
  var inst = JSON.parse(fs.readFileSync(instFile))
  inst.samples = samples(path.join(dir, 'samples'), true)
  return JSON.stringify(inst, null, 2)
}
function build ( instFile ) { var dir = path . dirname ( instFile ) var inst = JSON . parse ( fs . readFileSync ( instFile ) ) inst . samples = samples ( path . join ( dir , 'samples' ) , true ) return JSON . stringify ( inst , null , 2 ) }
Build a JSON packed file from the instrument.json file
Build a JSON packed file from the instrument . json file