semvec/pypi-packages huggingface dataset:
tingle 0.3.7
Easy-to-use audio processing tools
Requires Python: >=3.7

# Tingle

[![License](https://img.shields.io/pypi/l/tingle.svg)](https://github.com/alisoltanirad/Tingle/blob/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/tingle.svg)](https://pypi.org/project/tingle/)
[![Downloads](https://pepy.tech/badge/tingle)](https://pepy.tech/project/tingle)
[![Activity](https://img.shields.io/github/last-commit/alisoltanirad/tingle)](https://github.com/alisoltanirad/Tingle/)

Python audio processing toolbox.


## <a name="install"></a> Install

Install latest stable version using pip:

    $ pip install tingle


## <a name="quickstart"></a> Quick Start

Make a binaural beat:
```python
>>> from tingle.signal import BinauralBeat

>>> beat = BinauralBeat(200, 220, 15)
>>> beat.export('beat.wav')
```

Monaural beat:
```python
>>> from tingle.signal import MonauralBeat

>>> beat2 = MonauralBeat(400, 20)
>>> beat2.export('monaural.wav')
```

Binaural or monaural beat frequencies can be an integer or a tuple of two 
integers (start, end):
```python
>>> beat3 = BinauralBeat(240, (260, 250), 30)
>>> beat4 = MonauralBeat((300, 440), 20)
```

White noise:
```python
>>> from tingle.signal import WhiteNoise

>>> noise = WhiteNoise(10)
>>> noise.export('noise.wav')
```

Read wav file and extract data:
```python
>>> from tingle.io import read

>>> audio = read('beat.wav')
>>> audio.metadata['nchannels']
2
>>> audio.metadata['framerate']
44100
>>> frames = audio.get_frames()
```

Slice audio files:
```python
>>> first_10_seconds = audio[:10]
>>> seconds_5.5_to_20 = audio[5.5:20]
```

Change volume (dB):
```python
>>> audio = audio + 2
>>> audio = audio - 7
```

Write wav file:
```python
>>> from tingle.io import write
>>> write('audio.wav', frames, 44100)
```


## <a name="dependencies"></a> Dependencies

- [NumPy](https://numpy.org)  
For audio data structures


Keep in mind NumPy will be automatically installed with Tingle since Tingle 
uses NumPy arrays to read and write audio files.


## <a name="license"></a> License

MIT -- See [LICENSE](https://github.com/alisoltanirad/Tingle/blob/main/LICENSE) 
for details.
vis3dpy 0.0.2
Minimal 3D data visualizer
Requires Python: >=3.6

# vis3dpy
![preview image](https://github.com/LukasDrsman/vis3dpy/blob/main/assets/coil.png)

## Installation
#### Requirements:
 * python3 with pip

#### Install:
```sh
pip install vis3dpy
```

## Usage
### *class* *vis3d.plot.* Figure *(window width, window height, grid color, mode)*
 * ***window width*** - x size of the window in pixels
 * ***window height*** - y size of the window in pixels
 * ***grid color*** - color of the generated grid (for now just the cube)
 * ***mode*** (*default* : 0) - 0 for orthographic, 1 for perspective

| method | parameters | description |
|--------|------------|-------------|
| scatter | points, color  | creates a scatter plot |
| plot | points, color | creates a line plot |
| show | none | displays plots |

## To Do
 - [x] upload to pypi
 - [ ] clean the code
 - [ ] fix UI control bugs
 - [ ] add grid
 - [ ] add axis labels