{"id":33,"date":"2013-03-03T18:43:12","date_gmt":"2013-03-03T18:43:12","guid":{"rendered":"http:\/\/ggkarman.de\/tech\/?p=33"},"modified":"2013-08-22T20:26:28","modified_gmt":"2013-08-22T20:26:28","slug":"convert-to-mp3","status":"publish","type":"post","link":"https:\/\/ggkarman.de\/tech\/convert-to-mp3\/","title":{"rendered":"mp3"},"content":{"rendered":"<p>1. Override the default bit rate:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nsox myfile.wav -C 192 myfile.mp3\r\n<\/pre>\n<p>converts myfile.wav to myfile.mp3 with a user-specified bit rate (here, 192 Kbps). Further options that can be passed to the LAME encoder (encoding performance, VBR) are described here: <a href=\"http:\/\/sox.sourceforge.net\/soxformat.html\">http:\/\/sox.sourceforge.net\/soxformat.html<\/a><\/p>\n<p>2. Convert all wav files in a directory to mp3 with a shell command:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nfor a in *.wav; do sox &quot;$a&quot; -C 192 &quot;$a&quot;.mp3; done\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1. Override the default bit rate: converts myfile.wav to myfile.mp3 with a user-specified bit rate (here, 192 Kbps). Further options that can be passed to the LAME encoder (encoding performance, VBR) are described here: http:\/\/sox.sourceforge.net\/soxformat.html 2. Convert all wav files in a directory to mp3 with a shell command:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/posts\/33"}],"collection":[{"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":34,"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/posts\/33\/revisions"}],"predecessor-version":[{"id":268,"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/posts\/33\/revisions\/268"}],"wp:attachment":[{"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/media?parent=33"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/categories?post=33"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ggkarman.de\/tech\/wp-json\/wp\/v2\/tags?post=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}