[{"data":1,"prerenderedAt":120},["ShallowReactive",2],{"blog-post-sox-change-audio-pitch":3,"recent-posts":72},{"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},"avWNIhIAAC4AxQHE","sox-change-audio-pitch",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avZBfxEAACkAgMgi&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avWNIhIAAC4AxQHE%22%29+%5D%5D",[],"2026-11-12T22:45:18+0000",[12],"sox-how-to-change-audio-pitch",[],"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 Pitch",[],"ltr","2026-11-12",[25],{"type":26,"text":27,"spans":28,"direction":22},"heading2","Learn how to change the pitch 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\u002FdFA9zl5K1bmhlk0e_soxchangepitch.png?auto=format,compress","dFA9zl5K1bmhlk0e",{"x":36,"y":36,"zoom":37,"background":38},0,1,"transparent",[40,44,47,51,54,57,60,63,66,69],{"type":41,"text":42,"spans":43,"direction":22},"paragraph","Before we start, make sure you have Homebrew installed on your Mac and an audio file ready, like \u003Ccode>input.wav\u003C\u002Fcode>.",[],{"type":41,"text":45,"spans":46,"direction":22},"First, open your Terminal by pressing \u003Ccode>command + space\u003C\u002Fcode> and typing Terminal. Let's install SoX by running:",[],{"type":48,"text":49,"spans":50,"direction":22},"preformatted","brew install sox",[],{"type":41,"text":52,"spans":53,"direction":22},"Homebrew will download and install the package, which usually takes just a few seconds to finish.",[],{"type":41,"text":55,"spans":56,"direction":22},"Once that's done, navigate to the folder containing your audio file. To raise the pitch by two semitones, run this command:",[],{"type":48,"text":58,"spans":59,"direction":22},"sox input.wav output.wav pitch 200",[],{"type":41,"text":61,"spans":62,"direction":22},"SoX measures pitch in cents, where 100 cents equals one semitone, so 200 raises it by two full semitones. If you want to lower the pitch by two semitones instead, just use a negative number:",[],{"type":48,"text":64,"spans":65,"direction":22},"sox input.wav output.wav pitch -200",[],{"type":41,"text":67,"spans":68,"direction":22},"To make sure everything worked, play back your new file right in the terminal by running \u003Ccode>play output.wav\u003C\u002Fcode>. You should immediately hear the updated pitch.",[],{"type":41,"text":70,"spans":71,"direction":22},"If you want to experiment with different pitch levels without saving a new file every time, just run \u003Ccode>play input.wav pitch 200\u003C\u002Fcode> to preview the sound live.",[],{"results":73,"page":37,"results_per_page":118,"results_size":118,"total_results_size":119,"total_pages":37},[74,96,98],{"id":75,"uid":76,"url":6,"type":7,"href":77,"tags":78,"first_publication_date":79,"last_publication_date":10,"slugs":80,"linked_documents":82,"lang":14,"alternate_languages":83,"data":84},"avV_qhIAACgAxOVE","sox-fade-in-fade-out-audio","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avZBfxEAACkAgMgi&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avV_qhIAACgAxOVE%22%29+%5D%5D",[],"2026-11-12T09:09:07+0000",[81],"sox-how-to-add-fade-in--fade-out-to-audio",[],[],{"image":85,"title":92},{"dimensions":86,"alt":6,"copyright":6,"url":89,"id":90,"edit":91},{"width":87,"height":88},1376,768,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002Fh-qeKr1k78EgiZok_SoX-HowtoAddFade-InandFade-OuttoAudio.jpg?auto=format,compress","h-qeKr1k78EgiZok",{"x":36,"y":36,"zoom":37,"background":38},[93],{"type":19,"text":94,"spans":95,"direction":22},"SoX: How to Add Fade-In & Fade-Out to Audio",[],{"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":97},{"image":29,"title":17},{"id":99,"uid":100,"url":6,"type":7,"href":101,"tags":102,"first_publication_date":103,"last_publication_date":103,"slugs":104,"linked_documents":106,"lang":14,"alternate_languages":107,"data":108},"avV8OhIAACsAxN6U","pandoc-convert-markdown-to-pdf","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avZBfxEAACkAgMgi&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avV8OhIAACsAxN6U%22%29+%5D%5D",[],"2026-11-12T08:46:44+0000",[105],"pandoc-how-to-convert-markdown-to-pdf",[],[],{"image":109,"title":114},{"dimensions":110,"alt":6,"copyright":6,"url":111,"id":112,"edit":113},{"width":87,"height":88},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FymFw9A0mug5ghXUK_pandocmarkdowntopdf.jpg?auto=format,compress","ymFw9A0mug5ghXUK",{"x":36,"y":36,"zoom":37,"background":38},[115],{"type":19,"text":116,"spans":117,"direction":22},"Pandoc: How to Convert Markdown to PDF",[],3,47,1794523541182]