{"id":380,"date":"2010-05-23T19:36:44","date_gmt":"2010-05-23T09:36:44","guid":{"rendered":"http:\/\/www.zamaudio.com\/?p=380"},"modified":"2012-11-29T20:58:45","modified_gmt":"2012-11-29T09:58:45","slug":"use-your-gpu-as-a-dsp-chip","status":"publish","type":"post","link":"https:\/\/www.zamaudio.com\/?p=380","title":{"rendered":"Use your NVIDIA GPU as a DSP chip"},"content":{"rendered":"<p>I have been working on a jack client that uses the GPU to process audio.  The benefit of this is that it lightens the load off the CPU to process audio.  I used the NVIDIA CUDA toolchain to create a jack-cuda client.  Currently I have made a gain plugin that uses 256 parallel threads to amplify a jack audio stream in realtime.  There is a bit of overhead because it copies the stream to video ram first, then processes the audio and copies it back to main ram, but the PCI-e bus is pretty fast so it&#8217;s still overall pretty fast.<\/p>\n<p>Feel free to try out my jack-cuda client <a href=\"http:\/\/zamaudio.com\/mbox2\/jack-cuda.tar.gz\">here<\/a>.<\/p>\n<p><a href=\"http:\/\/zamaudio.com\/mbox2\/jack-cuda-20121129.tar.bz2\">New version here<\/a> with working makefile for Cuda 5.0.<\/p>\n<p><a href=\"http:\/\/www.zamaudio.com\/wp-content\/uploads\/2010\/05\/cuda.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.zamaudio.com\/wp-content\/uploads\/2010\/05\/cuda-300x168.png\" alt=\"\" title=\"cuda\" width=\"300\" height=\"168\" class=\"aligncenter size-medium wp-image-657\" srcset=\"https:\/\/www.zamaudio.com\/wp-content\/uploads\/2010\/05\/cuda-300x168.png 300w, https:\/\/www.zamaudio.com\/wp-content\/uploads\/2010\/05\/cuda-1024x576.png 1024w, https:\/\/www.zamaudio.com\/wp-content\/uploads\/2010\/05\/cuda.png 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been working on a jack client that uses the GPU to process audio. The benefit of this is that it lightens the load off the CPU to process audio. I used the NVIDIA CUDA toolchain to create a jack-cuda client. Currently I have made a gain plugin that uses 256 parallel threads to [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts\/380"}],"collection":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=380"}],"version-history":[{"count":11,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":382,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=\/wp\/v2\/posts\/380\/revisions\/382"}],"wp:attachment":[{"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zamaudio.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}