summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2021-01-11 15:45:12 +0100
committerSigrid <ftrvxmtrx@gmail.com>2021-01-11 15:45:12 +0100
commitce82f6750c5d98968259b80614643ed63b972ea3 (patch)
treeb3fe6d83bb1abf34129f1771810567ce2ac7b372 /sys/man/1
parent10237a22f189d304668283fb82870b36144d4d1b (diff)
audio/flacenc
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/audio38
1 files changed, 32 insertions, 6 deletions
diff --git a/sys/man/1/audio b/sys/man/1/audio
index 414827362..39339cdea 100644
--- a/sys/man/1/audio
+++ b/sys/man/1/audio
@@ -1,6 +1,6 @@
.TH AUDIO 1
.SH NAME
-mp3dec, mp3enc, oggdec, oggenc, flacdec, sundec, wavdec, pcmconv, mixfs \- decode and encode audio files
+mp3dec, mp3enc, oggdec, oggenc, flacdec, flacenc, sundec, wavdec, pcmconv, mixfs \- decode and encode audio files
.SH SYNOPSIS
.B audio/mp3dec
[
@@ -55,6 +55,27 @@ q ] [
] [
.I "long or silly options"
]
+.br
+.B audio/flacenc
+[
+.B -b
+.I bitspersample
+] [
+.B -c
+.I channels
+] [
+.B -l
+.I compresslevel
+] [
+.B -s
+.I sfreq
+] [
+.B -P
+.I padding
+] [
+.B -T
+.I field=value
+]
.PP
.B audio/pcmconv
[
@@ -107,10 +128,11 @@ seek to a specific position in seconds before decoding.
The encoders read PCM on standard input and produce compressed audio
on standard output.
.PP
-.I Oggenc
+.I Flacenc,
+.I oggenc
and
.I mp3enc
-produce OGG Vorbis and MP3 audio. For
+produce FLAC, OGG Vorbis and MP3 audio. For
.I mp3enc,
the MP3 file will use `constant bit-rate' (CBR) encoding by default,
but that can be changed via
@@ -120,11 +142,13 @@ or
.BR -v
(variable bitrate, VBR).
.PP
-.I Oggenc
-accepts raw PCM in the same byte order as
+.I Flacenc
+and
+.I oggenc
+accept raw PCM in the same byte order as
.B /dev/audio
(little-endian),
-t
+while
.I mp3enc -r
expects big-endian.
.SS Encoding options
@@ -380,3 +404,5 @@ dd -conv swab | audio/mp3enc -a -r -m m --resample 16 -b 24
first appeared in 9front (December, 2012).
.I Mixfs
first appeared in 9front (December, 2013).
+.I Flacenc
+first appeared in 9front (January, 2020).