diff cpack/dml/scripts/midi2snd @ 0:718306e29690 tip

commiting public release
author Daniel Wolff
date Tue, 09 Feb 2016 21:05:06 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cpack/dml/scripts/midi2snd	Tue Feb 09 21:05:06 2016 +0100
@@ -0,0 +1,4 @@
+#!/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