view cpack/dml/scripts/midi2snd @ 7:3c7cc53984a6 no-matlab tip

removed rcutils as seem incompatible with this version (no history/2 defined)
author wolffd.mail@googlemail.com
date Wed, 25 Jul 2018 15:51:48 +0000
parents 718306e29690
children
line wrap: on
line source
#!/usr/bin/env bash
# midi2snd MIDIFile RCFile SampleRate Format SFDIR 
# Convert midi file to Raw audio output stream on stdout, with info on stderr
fluidsynth -f <(m4 -DSFDIR="$5" < $2) -a file -p fluidsynth -o synth.sample-rate=$3 -o audio.file.format=$4 -o audio.file.type=raw -il -F >(cat) $1 1>&2