title: Basic pitch shift using Stream methods in sounddevice module for Python?
body: <p>I really do not understand the correct format or code structure regarding how to implement the Sounddevice Stream methods. I want to create a basic buffer that writes my array data to be read in a callback almost in real time. I want to be able to change the freq of the sound wave via a threaded query that is integrated with the stream. I am trying to understand the basic API and how input to output works with streaming via Sounddevice. </p>
  
  <p><a href="https://python-sounddevice.readthedocs.io/en/0.3.12/api.html" rel="nofollow noreferrer">https://python-sounddevice.readthedocs.io/en/0.3.12/api.html</a></p>
  
  <p>My lack of understanding of this API has me at a brick wall of knowing where to start. This is just for learning sound manipulation and applying effects to continuous sound without any audible cutoffs, kind of like a Theremin. </p>