Metadata-Version: 2.1
Name: minBlepy
Version: 16
Summary: MinBLEPs library including fast naive waveform conversion
Home-page: https://github.com/combatopera/minBlepy
Author: Andrzej Cichocki and contributors
Author-email: 3613868+combatopera@users.noreply.github.com
Description-Content-Type: text/markdown
License-File: COPYING
Requires-Dist: lagoon>=21
Requires-Dist: numpy>=2.0.2
Requires-Dist: pyrbo>=13

# minBlepy
MinBLEPs library including fast naive waveform conversion

## Install
These are generic installation instructions.

### To use, permanently
The quickest way to get started is to install the current release from PyPI:
```
pip3 install --user minBlepy
```

### To use, temporarily
If you prefer to keep .local clean, install to a virtualenv:
```
python3 -m venv venvname
venvname/bin/pip install -U pip
venvname/bin/pip install minBlepy
. venvname/bin/activate
```

## API

<a id="minBlepy"></a>

### minBlepy

<a id="minBlepy.floatdtype"></a>

###### floatdtype

Common data type of naive values and digital audio sample points, effectively about 24 bits.

<a id="minBlepy.minblep"></a>

### minBlepy.minblep

<a id="minBlepy.minblep.MinBleps"></a>

#### MinBleps Objects

```python
class MinBleps()
```

<a id="minBlepy.minblep.MinBleps.paste"></a>

###### paste

```python
def paste(naivex, diffbuf, outbuf)
```

Add minBLEPs to `outbuf` for the differentiated naive signal block in `diffbuf`.
The first element of `diffbuf` should be the first naive value in the current block minus the last naive value of the previous block.
The `naivex` is the index of the first naive value, modulo `naiverate`.
The `outbuf` must have enough space for overflow of the last possible minBLEP, and should be initialised to the overflow section of the previous `outbuf` and otherwise zero.

