Sat, 9 Apr 2016 12:53:48 -0300 "Henrique N. Lengler" <henriquel...@openmailbox.org> > On Sat, Apr 09, 2016 at 01:18:11PM +0200, Alexandre Ratchov wrote: > > On Fri, Apr 08, 2016 at 07:09:59PM -0300, Henrique N. Lengler wrote: > > > Hi, > > > > > > Is there a way to record the sound playing on my speakers? > > > Like duplicating it and saving on my computer everything that goes out to > > > the > > > speaker. > > > > > > I would like to to this to record some screencast. > > > > > > Any way of doing this? > > > > > > > First you have to create a record-whay-you-hear device (aka > > monitoring), for instance add these options to /etc/rc.conf.local: > > > > sndiod_flags=-s default -m play,mon -s mon > > > > see -m and -s options in sndiod man page for more details. Then, > > restart sndiod with: > > > > rcctl restart sndiod > > > > Then, use your favourite program to record audio and configure it > > to record from device "snd/0.mon". Example: > > > > aucat -f snd/0.mon -o file.wav > > > > at this point whatever your system plays is recorded into file.wav. > > > > HTH > > > > Thank you, that worked. > > Henrique N. Lengler.
Just an idea, before providing a diff, does it look like a good candidate to go into FAQ13.4? Thank you for your consideration. [http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/www/faq/faq13.html#recordaudio] Best regards to Alexandre Ratchov for the 'sound' explanation, as always, to the point.