Skip to content

Commit 515c968

Browse files
authored
new readme
1 parent 304e5ec commit 515c968

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,24 @@ Clone or Download project and ...
66
import Sound
77
```
88
## Sound simulation
9-
init a Sound module with
9+
* Initialize a Sound module with
1010
```python
11-
Sound.Sound('path.wav')
11+
s = Sound.Sound(path='path.wav')
1212
```
13+
or
14+
```python
15+
s = Sound.Sound(path='path.wav',name='mySound')
16+
```
17+
18+
* Initialize FFT(Fast Fourier transform) on our Sound module
19+
```python
20+
s.initFFT()
21+
print(s.getFFT())
22+
s.drawFFT()
23+
```
24+
* Sound schematics
25+
```python
26+
s.draw() #Sound Digital Schematic
27+
s.drawFFT() #Sound FFT Schematic
28+
```
29+

0 commit comments

Comments
 (0)