[{"data":1,"prerenderedAt":145},["ShallowReactive",2],{"blog-post-sox-split-audio-silence":3,"recent-posts":80},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":11,"slugs":12,"linked_documents":14,"lang":15,"alternate_languages":16,"data":17},"avWTqxIAACwAxQ-U","sox-split-audio-silence",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axP1_xMAAC0A2-3W&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avWTqxIAACwAxQ-U%22%29+%5D%5D",[],"2026-11-14T22:45:09+0000","2026-11-15T09:22:03+0000",[13],"sox-how-to-split-audio-by-silence",[],"en-us",[],{"title":18,"date":24,"description":25,"image":30,"content":40},[19],{"type":20,"text":21,"spans":22,"direction":23},"heading1","SoX: How to Split Audio by Silence",[],"ltr","2026-11-14",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Automatically split an audio file into separate clips whenever there is silence using SoX",[],{"dimensions":31,"alt":6,"copyright":6,"url":34,"id":35,"edit":36},{"width":32,"height":33},1280,720,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FC9NenuthNYq_63gI_soxsplitsilence.png?auto=format,compress","C9NenuthNYq_63gI",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,45,48,52,55,58,61,77],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","Before we begin, make sure you have SoX installed and open your terminal inside the folder containing your audio file, which we'll call \u003Ccode>input.wav\u003C\u002Fcode>.",[],{"type":42,"text":46,"spans":47,"direction":23},"To split the recording into individual files, type or paste this command into your terminal and press enter:",[],{"type":49,"text":50,"spans":51,"direction":23},"preformatted","sox input.wav output.wav silence 1 0.5 1% 1 0.5 1% : newfile : restart",[],{"type":42,"text":53,"spans":54,"direction":23},"Don't worry if the numbers look a little confusing; this simply tells SoX to look for half a second of audio below one percent volume, save a new clip, and repeat the process until the track ends.",[],{"type":42,"text":56,"spans":57,"direction":23},"Give your computer a moment to process the file; depending on how long your recording is, this usually takes just a few seconds.",[],{"type":42,"text":59,"spans":60,"direction":23},"Once your terminal prompt returns, run \u003Ccode>ls\u003C\u002Fcode> to confirm that your newly numbered output clips are sitting in the folder.",[],{"type":62,"oembed":63},"embed",{"embed_url":64,"type":65,"version":66,"title":21,"author_name":67,"author_url":68,"provider_name":69,"provider_url":70,"thumbnail_url":71,"thumbnail_width":72,"thumbnail_height":73,"html":74,"height":75,"width":76},"https:\u002F\u002Fyoutu.be\u002F1tByTi7MTMw","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002F1tByTi7MTMw\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F1tByTi7MTMw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"SoX: How to Split Audio by Silence\">\u003C\u002Fiframe>",113,200,{"type":42,"text":78,"spans":79,"direction":23},"If the tool is missing pauses or cutting off words too soon, try adjusting the \u003Ccode>0.5\u003C\u002Fcode> second duration or the \u003Ccode>1%\u003C\u002Fcode> volume threshold to better match the background noise in your recording.",[],{"results":81,"page":38,"results_per_page":143,"results_size":143,"total_results_size":144,"total_pages":38},[82,104,123],{"id":83,"uid":84,"url":6,"type":7,"href":85,"tags":86,"first_publication_date":87,"last_publication_date":88,"slugs":89,"linked_documents":91,"lang":15,"alternate_languages":92,"data":93},"awgi0RIAACYAhiZv","ripgrep-replace-text-in-files","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axP1_xMAAC0A2-3W&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awgi0RIAACYAhiZv%22%29+%5D%5D",[],"2026-12-04T22:45:44+0000","2026-12-05T11:31:11+0000",[90],"how-to-replace-text-in-files-with-ripgrep-and-sed",[],[],{"image":94,"title":100},{"dimensions":95,"alt":96,"copyright":6,"url":97,"id":98,"edit":99},{"width":32,"height":33},"Ripgrep: How to Replace Text in Files with Ripgrep and Sed","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FOlJ7le5oNEXxcE_I_ripgrep-replace-text-in-files.png?auto=format,compress","OlJ7le5oNEXxcE_I",{"x":37,"y":37,"zoom":38,"background":39},[101],{"type":20,"text":102,"spans":103,"direction":23},"How to Replace Text in Files with Ripgrep and Sed",[],{"id":105,"uid":106,"url":6,"type":7,"href":107,"tags":108,"first_publication_date":87,"last_publication_date":88,"slugs":109,"linked_documents":111,"lang":15,"alternate_languages":112,"data":113},"awgi2hIAACoAhiaF","ripgrep-case-insensitive-search","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axP1_xMAAC0A2-3W&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awgi2hIAACoAhiaF%22%29+%5D%5D",[],[110],"ripgrep-how-to-search-case-insensitive",[],[],{"image":114,"title":120},{"dimensions":115,"alt":116,"copyright":6,"url":117,"id":118,"edit":119},{"width":32,"height":33},"Ripgrep: How to Search Case Insensitive","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F6H2DfjROfkSO4wel_ripgrep-case-insensitive-search.png?auto=format,compress","6H2DfjROfkSO4wel",{"x":37,"y":37,"zoom":38,"background":39},[121],{"type":20,"text":116,"spans":122,"direction":23},[],{"id":124,"uid":125,"url":6,"type":7,"href":126,"tags":127,"first_publication_date":87,"last_publication_date":88,"slugs":128,"linked_documents":130,"lang":15,"alternate_languages":131,"data":132},"awgi_hIAACoAhibc","jq-use-with-curl","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axP1_xMAAC0A2-3W&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awgi_hIAACoAhibc%22%29+%5D%5D",[],[129],"how-to-use-jq-with-curl",[],[],{"image":133,"title":139},{"dimensions":134,"alt":135,"copyright":6,"url":136,"id":137,"edit":138},{"width":32,"height":33},"jq: How to Use jq with curl","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F3JyqU0cTsv3S-6D0_jq-use-with-curl.png?auto=format,compress","3JyqU0cTsv3S-6D0",{"x":37,"y":37,"zoom":38,"background":39},[140],{"type":20,"text":141,"spans":142,"direction":23},"How to Use 'jq' with 'curl'",[],3,137,1796479491028]