Browse Source

Audio

pull/42/head
Jure Šorn 5 years ago
parent
commit
6cddcb6c6e
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -2654,7 +2654,7 @@ write_to_wav_file('test.wav', frames_i)
```
### Synthesizer
#### Plays song Popcorn by Gershon Kingsley:
#### Plays Popcorn by Gershon Kingsley:
```python
# $ pip3 install simpleaudio
import simpleaudio, math, struct

2
index.html

@ -2255,7 +2255,7 @@ frames_i = (add_noise(a) <span class="hljs-keyword">for</span> a <span class="h
write_to_wav_file(<span class="hljs-string">'test.wav'</span>, frames_i)
</code></pre></div>
<div><h3 id="synthesizer">Synthesizer</h3><div><h4 id="playssongpopcornbygershonkingsley">Plays song Popcorn by Gershon Kingsley:</h4><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install simpleaudio</span>
<div><h3 id="synthesizer">Synthesizer</h3><div><h4 id="playspopcornbygershonkingsley">Plays Popcorn by Gershon Kingsley:</h4><pre><code class="python language-python hljs"><span class="hljs-comment"># $ pip3 install simpleaudio</span>
<span class="hljs-keyword">import</span> simpleaudio, math, struct
<span class="hljs-keyword">from</span> itertools <span class="hljs-keyword">import</span> chain, repeat
F = <span class="hljs-number">44100</span>

|||||||
100:0
Loading…
Cancel
Save