ICT: Diary
D: 28 W: 05

< December 2021 >
Sun Mon Tue Wed Thu Fri Sat
 1234
567891011
12131415161718
19202122232425
262728293031 

Based on notaweblog.php by joshua stein

[ ] Wednesday, 22 December 2021 [ ]

audio

doas rcctl set sndiod flags -s default -m play,mon -s mon
doas rcctl restart sndiod

To then record audio on the system:

aucat -f snd/0.mon -o output.wav

Converting the wav to mp3 can then be done ffmpeg or lame:

ffmpeg -i infile.wav -vn -q:a 4 outfile.mp3
lame -cbr -b 192 -q 2 -t -p infile.wav outfile.mp3

cgit

Looking into adding an about tab to my cgit install - came across an interesting article readme files in cgit.

aucatsndiodgit


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $