فهرست منبع

Add sox and play commands for sox sound processing

Daniel Senff 10 سال پیش
والد
کامیت
6136fbe731
2فایلهای تغییر یافته به همراه48 افزوده شده و 0 حذف شده
  1. 23 0
      pages/common/play.md
  2. 25 0
      pages/common/sox.md

+ 23 - 0
pages/common/play.md

@@ -0,0 +1,23 @@
+# play
+
+> Audio player of SoX - Sound eXchange
+> Plays any audio from the command line
+> Audioformats are identified by extension
+
+- Play the given audio file
+
+`play {{audiofile}}`
+
+- Play the given audio files
+
+`play {{audiofile1}} {{audiofile2}}`
+
+- Play the given audio at twice the speed
+
+`play {{audiofile}} speed 2.0`
+
+- Play the given audio in reverse
+
+`play {{audiofile}} reverse`
+
+

+ 25 - 0
pages/common/sox.md

@@ -0,0 +1,25 @@
+# sox
+
+> SoX - Sound eXchange
+> Play, record and convert audio files
+> Audioformats are identified by extension
+
+- Merge two audio files into one
+
+`sox -m {{audiofile1}} {{audiofile2}} {{output_filename}}`
+
+- Trim an audio file to the specified time indecies
+
+`sox {{input_audiofile}} {{output_audiofile}} trim {{start}} {{end}}`
+
+- Normalize an audio file
+
+`sox --norm {{input_audiofile}} {{output_audiofile}}`
+
+- Reverse and save audio file
+
+`sox {{input_audiofile}} {{output_audiofile}} reverse`
+
+- Print statistical data of the audio file
+
+`sox {{audiofile}} -n stat`