title: Create sine wave and sample it in python
body: <p>So, I want to create a 1.95Khz signal, that is simple.</p>
  
  <pre><code>N=1024
  </code></pre>
  
  <p><code>signal=[np.sin(2*np.pi*i/512)*20000+30000 for i in np.arange(0,N,1)]</code></p>
  
  <p>to have at least 2 periods.
  How can I simulate that I am reading it back, using a sample frequency of 96Khz. I want 1024 samples.
  Also when I send it out, each point is send every 1040ns( Each element of the signal array is send each 1040ns).</p>