<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Play and record audio simultaneously via Python Threading</title><link>https://community.element14.com/products/raspberry-pi/f/forum/7235/play-and-record-audio-simultaneously-via-python-threading</link><description>Hi all. I am working on a project to playback and record audio at the same time via Python. To run these two functions simultaneously, I used the Threading function. My code are as seen below: import threading import time def play1(): while time.time</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Fri, 30 Aug 2019 13:00:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/raspberry-pi/f/forum/7235/play-and-record-audio-simultaneously-via-python-threading" /><item><title>RE: Play and record audio simultaneously via Python Threading</title><link>https://community.element14.com/thread/140505?ContentTypeID=1</link><pubDate>Fri, 30 Aug 2019 13:00:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e91d4083-d81a-4dff-a454-8d52b5b892cf</guid><dc:creator>edwardoakley</dc:creator><description>&lt;p style="margin:0;"&gt;Did you make any progress on this? I have created a similar threading file and get the same issue &lt;span style="color:#ff0000;font-family:&amp;#39;Helvetica Neue&amp;#39;, Helvetica, Arial, sans-serif;font-size:10.6667px;background-color:#fcfcfc;"&gt;IOError: [Errno -9981] Input overflowed&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>