{"id":380,"date":"2020-08-25T11:17:25","date_gmt":"2020-08-25T19:17:25","guid":{"rendered":"https:\/\/roch.sdsu.edu\/?post_type=avada_faq&#038;p=380"},"modified":"2020-08-25T11:27:21","modified_gmt":"2020-08-25T19:27:21","slug":"how-can-i-record-or-playback-audio-in-python","status":"publish","type":"avada_faq","link":"https:\/\/roch.sdsu.edu\/index.php\/faq-items\/how-can-i-record-or-playback-audio-in-python\/","title":{"rendered":"How can I record or playback audio in Python?"},"content":{"rendered":"<p>There are a couple of Python modules that will let you do this, I would suggest using sounddevice.\u00a0 It can be installed with pip or conda:\u00a0 python-sounddevice as is built on top of the platform independent PortIO package.\u00a0 The <a href=\"https:\/\/python-sounddevice.readthedocs.io\/\">documentation<\/a> has lots of examples, ranging from very simple to sophisticated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a couple of Python modules that will let you do this, I would suggest using sounddevice.\u00a0 It can be installed with pip or conda:\u00a0 python-sounddevice as is built on top of the platform independent PortIO package.\u00a0 The documentation has lots of examples, ranging from very simple to sophisticated.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"faq_category":[8],"class_list":["post-380","avada_faq","type-avada_faq","status-publish","format-standard","hentry","faq_category-audio"],"_links":{"self":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/avada_faq\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/avada_faq"}],"about":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/types\/avada_faq"}],"author":[{"embeddable":true,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":1,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/avada_faq\/380\/revisions"}],"predecessor-version":[{"id":381,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/avada_faq\/380\/revisions\/381"}],"wp:attachment":[{"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"faq_category","embeddable":true,"href":"https:\/\/roch.sdsu.edu\/index.php\/wp-json\/wp\/v2\/faq_category?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}