shithub: rc

Download patch

ref: bb148ee1efa83571cafd184b60f0ba9347755eeb
parent: 4028a0b5f197066ef36281f45c8efbaaaf3dbe37
author: qwx <qwx@sciops.net>
date: Sat Jul 22 04:08:00 EDT 2023

fn: add some convenience functions for usb recording

--- a/fn
+++ b/fn
@@ -16,6 +16,9 @@
 fn SD{ audio/stretch -r 1.1 }
 fn SU{ audio/stretch -r 0.9 }
 fn td2{ play -o /fd/1 $*(2-) | audio/stretch -r 0.8909 -s | audio/stretch -r $1 | audio/pplay }
+fn usbrec{ dd -if /dev/audioin -bs 1764x2 | audio/flacenc }
+# freqgraph.c from umbraticus
+fn usbgraph{ dd -if /dev/audioin -bs 1764x2 | freqgraph >/dev/null }
 
 # play(1) auxiliaries
 # skip to next track