annotate 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 |
|
rev |
line source |
Daniel@0
|
1 #!/usr/bin/env bash
|
Daniel@0
|
2 # midi2snd MIDIFile RCFile SampleRate Format SFDIR
|
Daniel@0
|
3 # Convert midi file to Raw audio output stream on stdout, with info on stderr
|
Daniel@0
|
4 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
|