Module pippi.wavetables

Variables

SEGMENT_RE

Functions

adsr

def adsr(
    ...
)

fromfile

def fromfile(
    ...
)

polyseg

def polyseg(
    ...
)

Calculate total output segment length in frames & alloc outbuf

loop thru segments: - generate segment - write segment into outbuf

for each segment: - calc the true length of the individual segment based on segment length - scale the size of the tmp segment to match remainder after start/end filtering - produce a tmp array from the waveform type (using normal wavetable or window generator) - copy into outbuf

segment crossfading?

seesaw

def seesaw(
    ...
)

to_stack

def to_stack(
    ...
)

to_wavetable

def to_wavetable(
    ...
)

to_window

def to_window(
    ...
)

wavetable

def wavetable(
    ...
)

Classes

Wavetable

class Wavetable(
    /,
    *args,
    **kwargs
)

Class variables

data
highvalue
length
lowvalue

Methods

clip
def clip(
    ...
)
convolve
def convolve(
    ...
)
crush
def crush(
    ...
)
crushed
def crushed(
    ...
)
cut
def cut(
    ...
)
drink
def drink(
    ...
)
env
def env(
    ...
)
graph
def graph(
    ...
)
harmonics
def harmonics(
    ...
)
interp
def interp(
    ...
)
leftpad
def leftpad(
    ...
)
leftpadded
def leftpadded(
    ...
)
max
def max(
    ...
)
normalize
def normalize(
    ...
)
pad
def pad(
    ...
)
padded
def padded(
    ...
)
rcut
def rcut(
    ...
)
repeat
def repeat(
    ...
)
repeated
def repeated(
    ...
)
reverse
def reverse(
    ...
)
reversed
def reversed(
    ...
)
rightpad
def rightpad(
    ...
)
rightpadded
def rightpadded(
    ...
)
scale
def scale(
    ...
)
scaled
def scaled(
    ...
)
skew
def skew(
    ...
)
skewed
def skewed(
    ...
)
snap
def snap(
    ...
)
snapped
def snapped(
    ...
)
taper
def taper(
    ...
)
toonsets
def toonsets(
    ...
)
write
def write(
    ...
)