[{"data":1,"prerenderedAt":130},["ShallowReactive",2],{"blog-post-sox-change-audio-volume":3,"recent-posts":86},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":10,"slugs":11,"linked_documents":13,"lang":14,"alternate_languages":15,"data":16},"avWfjhIAACoAxSRa","sox-change-audio-volume",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avo17REAACkAkm6j&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avWfjhIAACoAxSRa%22%29+%5D%5D",[],"2026-11-15T22:45:01+0000",[12],"sox-how-to-change-audio-volume",[],"en-us",[],{"title":17,"date":23,"description":24,"image":29,"content":39},[18],{"type":19,"text":20,"spans":21,"direction":22},"heading1","SoX: How to Change Audio Volume",[],"ltr","2026-11-15",[25],{"type":26,"text":27,"spans":28,"direction":22},"heading2","Learn how to change the volume of an audio file using SoX",[],{"dimensions":30,"alt":6,"copyright":6,"url":33,"id":34,"edit":35},{"width":31,"height":32},1280,720,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FmJDrXryuaCVFhGHg_soxlouderaudio.png?auto=format,compress","mJDrXryuaCVFhGHg",{"x":36,"y":36,"zoom":37,"background":38},0,1,"transparent",[40,44,48,52,55,58,61,64,67,70,73,76,79,83],{"type":41,"text":42,"spans":43,"direction":22},"heading3","Install SoX",[],{"type":45,"text":46,"spans":47,"direction":22},"paragraph","Before we start, make sure you have SoX installed on your computer and an audio file ready in a folder. If you don't have SoX yet, you can install it with Homebrew:",[],{"type":49,"text":50,"spans":51,"direction":22},"preformatted","brew install sox",[],{"type":41,"text":53,"spans":54,"direction":22},"Change the Volume",[],{"type":45,"text":56,"spans":57,"direction":22},"First, open your terminal and navigate to the folder containing your audio file. The quickest way to change the volume is the \u003Ccode>-v\u003C\u002Fcode> flag. To double the volume, run this command:",[],{"type":49,"text":59,"spans":60,"direction":22},"sox -v 2.0 input.wav output.wav",[],{"type":45,"text":62,"spans":63,"direction":22},"Just swap \u003Ccode>input.wav\u003C\u002Fcode> with your actual file name. SoX works with MP3 files too. Values above \u003Ccode>1.0\u003C\u002Fcode> make it louder, and values below it, like \u003Ccode>0.5\u003C\u002Fcode>, make it quieter. Always give the new file a different name, because SoX overwrites existing files without asking.",[],{"type":45,"text":65,"spans":66,"direction":22},"If you'd rather work in decibels, put the \u003Ccode>gain\u003C\u002Fcode> effect at the end instead. For example, \u003Ccode>gain 6\u003C\u002Fcode> boosts it by 6 dB and \u003Ccode>gain -10\u003C\u002Fcode> turns it down.",[],{"type":41,"text":68,"spans":69,"direction":22},"Make It as Loud as Possible",[],{"type":45,"text":71,"spans":72,"direction":22},"To make a quiet file as loud as it can go without clipping, run this command:",[],{"type":49,"text":74,"spans":75,"direction":22},"sox input.wav output.wav norm -0.1",[],{"type":45,"text":77,"spans":78,"direction":22},"This finishes almost instantly, and don't worry if you don't see a success message. To make sure everything worked, run \u003Ccode>play output.wav\u003C\u002Fcode> and have a listen.",[],{"type":80,"oembed":81},"embed",{"embed_url":82,"type":80},"",{"type":45,"text":84,"spans":85,"direction":22},"If you want to know the biggest safe value for \u003Ccode>-v\u003C\u002Fcode>, run \u003Ccode>sox input.wav -n stat -v\u003C\u002Fcode>. SoX prints the exact multiplier you can use without distortion.",[],{"results":87,"page":37,"results_per_page":128,"results_size":128,"total_results_size":129,"total_pages":37},[88,90,109],{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":10,"slugs":11,"linked_documents":13,"lang":14,"alternate_languages":15,"data":89},{"image":29,"title":17},{"id":91,"uid":92,"url":6,"type":7,"href":93,"tags":94,"first_publication_date":10,"last_publication_date":10,"slugs":95,"linked_documents":97,"lang":14,"alternate_languages":98,"data":99},"avWntRIAAC0AxTLs","sox-concatenate-audio-files","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avo17REAACkAkm6j&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avWntRIAAC0AxTLs%22%29+%5D%5D",[],[96],"sox-how-to-concatenate-audio-files",[],[],{"image":100,"title":105},{"dimensions":101,"alt":6,"copyright":6,"url":102,"id":103,"edit":104},{"width":31,"height":32},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FAfHHUVDRAQb5RZwx_soxconcataudio.png?auto=format,compress","AfHHUVDRAQb5RZwx",{"x":36,"y":36,"zoom":37,"background":38},[106],{"type":19,"text":107,"spans":108,"direction":22},"SoX: How to Concatenate Audio Files",[],{"id":110,"uid":111,"url":6,"type":7,"href":112,"tags":113,"first_publication_date":10,"last_publication_date":10,"slugs":114,"linked_documents":116,"lang":14,"alternate_languages":117,"data":118},"avYaDhEAACkAgIs6","sox-generate-white-noise","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avo17REAACkAkm6j&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avYaDhEAACkAgIs6%22%29+%5D%5D",[],[115],"sox-how-to-generate-white-noise",[],[],{"image":119,"title":124},{"dimensions":120,"alt":6,"copyright":6,"url":121,"id":122,"edit":123},{"width":31,"height":32},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FEqoOaUiO182qEeBj_soxwhitenoise.png?auto=format,compress","EqoOaUiO182qEeBj",{"x":36,"y":36,"zoom":37,"background":38},[125],{"type":19,"text":126,"spans":127,"direction":22},"SoX: How to Generate White Noise",[],3,54,1794782724072]