midi-play: add midi-to-file script - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 181019165f861c28b8e7089328baff2b8dfe1fca | |
parent 05af58b9a6164c7d46e266ed2149e29fc562402b | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 9 Aug 2024 11:52:46 +0200 | |
midi-play: add midi-to-file script | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
A midi-play | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/midi-play b/midi-play | |
@@ -0,0 +1,4 @@ | |
+#!/bin/sh | |
+# read midi files as arguments and produces audio in .ogg format as stdout | |
+soundfont="${SOUNDFONT:-/home/annna/bin/modules/midi-media/soundfonts/generalu… | |
+fluidsynth -ni "$soundfont" -T oga -F - "$@" |