From: Andre Noll Date: Mon, 6 Nov 2017 17:02:57 +0000 (+0100) Subject: doc: Move filter examples to man page. X-Git-Tag: v0.6.2~6^2~1 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3a1470de6e286914b8e4101c713928b15a3f3aac;hp=db3c57973fd902e1881c520113444e94399552ec doc: Move filter examples to man page. para_filter(1) is a better place for examples than the user manual because the man pages explain one command command while purpose of the manual is to describe the connection and the interaction of the various commands. --- diff --git a/m4/lls/filter.suite.m4 b/m4/lls/filter.suite.m4 index 0cd69ebd..23d5ed01 100644 --- a/m4/lls/filter.suite.m4 +++ b/m4/lls/filter.suite.m4 @@ -35,3 +35,15 @@ version-string = GIT_VERSION() through all given filters (in a single thread without copying the data). The same filter may appear more than once, and order matters. [/help] +[section Examples] + .IP \(bu 4 + Decode a wma file to wav format: + .EX + \ para_filter -f wmadec -f wav < file.wma > file.wav + .EE + .IP \(bu 4 + Amplify a raw audio file by a factor of 1.5: + .EX + \ para_filter -f amp --amp 32 < foo.raw > bar.raw + .EE +[/section] diff --git a/web/manual.md b/web/manual.md index f041b3da..23966565 100644 --- a/web/manual.md +++ b/web/manual.md @@ -1755,17 +1755,6 @@ Both filters require almost no additional computing time, even when operating on uncompressed audio streams, since data buffers are simply "pushed down" rather than copied. -Examples --------- - --> Decode an mp3 file to wav format: - - para_filter -f mp3dec -f wav < file.mp3 > file.wav - --> Amplify a raw audio file by a factor of 1.5: - - para_filter -f amp --amp 32 < foo.raw > bar.raw - ====== Output ======