projects
/
experiments
/
gstreamer.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fd3fa7a
)
gst-vocoder.sh: use alsamidisrc and adjust the comment accordingly
author
Antonio Ospite <ao2@ao2.it>
Wed, 29 Aug 2018 15:03:40 +0000
(17:03 +0200)
committer
Antonio Ospite <ao2@ao2.it>
Wed, 29 Aug 2018 15:04:53 +0000
(17:04 +0200)
shell/gst-vocoder.sh
patch
|
blob
|
history
diff --git
a/shell/gst-vocoder.sh
b/shell/gst-vocoder.sh
index
beeb725
..
936444d
100755
(executable)
--- a/
shell/gst-vocoder.sh
+++ b/
shell/gst-vocoder.sh
@@
-2,19
+2,20
@@
FORMANT="autoaudiosrc"
FORMANT="autoaudiosrc"
-# In order to have a MIDI carrier use the alsa loopback device and Timidity++ like this:
+# Connect your hardware MIDI device, or launch a virtual MIDI device like
+# this:
#
#
-# $ sudo modprobe snd-aloop
-# $ timidity -Os -o "hw:Loopback,0,0" -iA --sequencer-ports 1
+# $ xset -r && vkeybd; xset r on
#
#
-#
then connect to Timidity++ with a MIDI input device, e.g.
:
+#
Find out the port of the input MIDI device
:
#
#
-# $ xset -r
-# $ vkeybd --device alsa --addr 129:0
-# $ xset r on
+# $ aconnect -l
+# ...
+# client 128: 'Virtual Keyboard' [type=user,pid=25939]
+# 0 'Virtual Keyboard'
#
#
-# and have a lot of fun vocoding the crap out of your formant channel
-CARRIER_TONE="alsa
src device=hw:Loopback,1,0
! audioconvert"
+# and have a lot of fun vocoding the crap out of your formant channel
.
+CARRIER_TONE="alsa
midisrc ports=128:0 ! fluiddec synth-gain=1
! audioconvert"
# Add some white noise to the carrier
CARRIER_PARAMS="$CARRIER_TONE ! carrier. audiotestsrc wave=5 volume=0.1 ! carrier."
# Add some white noise to the carrier
CARRIER_PARAMS="$CARRIER_TONE ! carrier. audiotestsrc wave=5 volume=0.1 ! carrier."