madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

Pipe recording experiments master
authormartin f. krafft <>
Sun, 19 Sep 2021 21:24:04 +0000 (09:24 +1200)
committermartin f. krafft <>
Sun, 19 Sep 2021 21:24:04 +0000 (09:24 +1200)

index ab0d471901c7fca54bc06c7d44d92c0bb6cdbc24..5dad254431cae55d6a3cbb5ec14b99993ce64420 100755 (executable)
@@ -177,8 +177,11 @@ if [ -n "${PAREC_PIPE:-}" ]; then
   load_module module-pipe-sink "$devname" "$devname" file="$TMPDIR/outfifo"
   move_source_to_sink $index "$devname"
-  oggenc --raw -q5 -o "$outfile" "$TMPDIR/outfifo" || :
-  #pv -pterb "$TMPDIR/outfifo" > $TMPDIR/outfile.wav || :
+  #oggenc --raw -q5 -o "$outfile" "$TMPDIR/outfifo" || :
+  pv -pterb "$TMPDIR/outfifo" > $TMPDIR/outfile.wav &
+  pid=$!
+  pa_wait_for_event sink-input remove $index >/dev/null
+  kill $pid
   # More traditional approach, which just takes 1:1 time.