Skip to content

Commit

Permalink
Explore: update setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuan-ManX committed Mar 5, 2023
1 parent 2058a2a commit baa64aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In summary, SouPy is a comprehensive and rich audio exploration platform for res
To install the project, use the following command:

```python
pip install SouPy-X
pip install SouPyX
```

## Quick Start
Expand All @@ -30,7 +30,7 @@ First, follow the steps in the Installation section to install the SouPy package
* Audio Processing

```python
import SouPy-X as sp
import SouPyX as sp

# audio read
audio_file_path = 'audio_file.wav'
Expand All @@ -48,7 +48,7 @@ sp.core.audio_format_conversion(input_file, output_format)
* Oscillator、Filter、Display

```python
import SouPy-X as sp
import SouPyX as sp

# Generate a triangle wave with a frequency of 440Hz for 1 second
waveform = sp.synths.oscillator(freq=440, duration=1, type='triangle')
Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ SouPy还可用于AI音频音乐等方面的研究,通过使用神经网络模
要安装项目,请使用以下命令:

```python
pip install SouPy-X
pip install SouPyX
```

## 快速开始
Expand All @@ -27,7 +27,7 @@ pip install SouPy-X
* 音频处理

```python
import SouPy-X as sp
import SouPyX as sp

# 音频读取
audio_file_path = 'audio_file.wav'
Expand All @@ -46,7 +46,7 @@ sp.core.audio_format_conversion(input_file, output_format)
* 振荡器、滤波器、波形图

```python
import SouPy-X as sp
import SouPyX as sp

# 振荡器
waveform = sp.synths.oscillator(freq=440, duration=1, type='triangle')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from SouPy import __version__

setuptools.setup(
name='SouPy-X',
name='SouPyX',
version=__version__,
description='Sound Python Library',
author='Yuan Man',
Expand Down

0 comments on commit baa64aa

Please sign in to comment.