Add gst-fakesrc-random-midi-notes.sh
authorAntonio Ospite <ao2@ao2.it>
Thu, 2 Oct 2014 16:28:19 +0000 (18:28 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 2 Oct 2014 16:28:19 +0000 (18:28 +0200)
shell/gst-fakesrc-random-midi-notes.sh [new file with mode: 0755]

diff --git a/shell/gst-fakesrc-random-midi-notes.sh b/shell/gst-fakesrc-random-midi-notes.sh
new file mode 100755 (executable)
index 0000000..e9fb58b
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+gst-launch-1.0 \
+  fakesrc datarate=400 sizetype=2 sizemin=3 sizemax=3 num-buffers=1000 format=3 filltype=3 ! \
+  audio/x-midi-event ! fluiddec ! audioconvert ! autoaudiosink