semvec/pypi-packages huggingface dataset:
FoxDotM 0.1.0.post0
'Alias' to `Master()` with the functionality to reset old values
Requires Python: ~=3.11

# FoxDotM - "Alias" to `Master()` with the functionality to reset old values

> Inspired by the [`masterAll()`](https://crashserver.fr/blog/the-ultimate-crash-server-foxdot-python-custom-functions/#globalfunction) duo Crash Server function.

## Instalation

``` shell
pip install FoxDotM
# or
pip install git+https://codeberg.org/FoxDotExtensions/FoxDotM
```

## Usage

Import lib

``` python
from FoxDotM import m
```

Set value

``` python
m.oct = 5
```

Reset value

``` python
~m.oct
```

Reset all values

``` python
~m
```

Create event

``` python
m.every(2, 'jump')
```

Cancel event

``` python
m.never('jump')
```
FoxDotUnderline 0.1.1
Stop through the underline, e.g. _d1 >> bass()
Requires Python: ~=3.11

# FoxDotUnderline - Stop through the underline

Just put a _ before or after the player's name.

``` python
_d1 >> bass()
```

## Instalation

``` shell
pip install FoxDotUnderline
# or
pip install git+https://codeberg.org/FoxDotExtensions/FoxDotUnderline
```

## Usage

Import lib

``` python
from FoxDotUnderline import *
```

Stop from the Synth startup

``` python
_d1 >> bass()
d1_ >> bass()
```

Stop from the change of an attribute

``` python
_d1.oct=5
d1_.oct=5
```

Stop from the use of a player method

``` python
_d1.every(2, 'jump')
d1_.every(2, 'jump')
```

Stop a synth that has `~` ahead

``` python
~_d1 >> bass()
~d1_ >> bass()
```

Stop by printing it, turning it into a string or getting for its repr

``` python
print(_d1_all)
str(d1_all_)
repr(d1_all_)
```
FoxDotShabda 0.1.1
Interface with shabda for audio samples and text speech.
Requires Python: ~=3.11

# FoxDotShabda - Interface with shabda for audio samples and text speech

## Instalation

``` shell
pip install FoxDotShabda
# or
pip install git+https://codeberg.org/FoxDotExtensions/FoxDotShabda
```

## Usage

Import lib

``` python
from FoxDotShabda import samples, speech
```

### `samples(definition: str)`

Fetch random samples from [freesound](https://freesound.org/)

Any word can be a pack definition. If you want more than one sample,
separate words by a comma: `"blue,red"`

You can define how many variations of a sample to assemble by adding a colon
and a number.
e.g. blue,red:3,yellow:2 will produce one 'blue' sample, three 'red' samples
and two 'yellow' sample.

``` python
samples('bass:4,hihat:4,rimshot:2')
```

will print in the terminal when finished downloading

``` python
s1 >> loop('bass', dur=PDur(3,8), sample=2)
s2 >> loop('hihat', dur=10, sus=2)
s3 >> loop('rimshot', dur=PDur(7,9)*8, sample=2)
```

### `speech(words: str, language: str = 'en-GB', gender: str = 'f')`

Generate Text-to-Speech samples.

If you want more than one sample, separate words by a comma: `"hello,bye"`
If you want a sentence, separate it with `_`: `"eita_carai,oi"`

By default the language is `en-GB` but you can change this.

The gender of the voice unfortunately can be `f` and `m`.

If you only want to change the gender, use the following syntax

``` python
speech('baby', gender='m')
```

``` python
speech('what')
speech('voa,ai','pt-BR')
speech('eita_carai,continua','pt-BR','m')
```

will print in the terminal when finished downloading

``` python
v1 >> loop('eita_carai', dur=4, pan=[-5,0,1,0])
v2 >> loop('voa', dur=PDur(3,8), pan=[0,1,0,-5])
v3 >> loop('ai', dur=4, pan=[1,0,-5,0])
v4 >> loop('continua', dur=var([PDur(3,8), 6], [7,1]), pan=[0,1,0,-5])
v5 >> loop('what', dur=8, sus=2, pan=[0,1,0,-5])
```