soundscrape

A programmatic framework for modular synthesis:
Scheme in the front, C in the back!
< | ^ | > | :>

Overview

This module defines the scheme versions of operators also implemented with unit generators.

Usage

1/ x
[Function]

Reciprocal

absdif a b
[Function]

Absolute value of difference.

amclip a b
[Function]

Two-quadrant multiply, (* a b) if (> b 0).

amp->db x
[Function]

Amplitude -> Decibels

atan2 z . y
[Function]

[undocumented]

ceil
[Function]

[undocumented]

clip2 a b
[Function]

Clip a to +/-b.

cps->midi x
[Function]

Hz -> MIDI note

cps->oct x
[Function]

Hz -> Octave

cube x
[Function]

(* x x x)

db->amp x
[Function]

Decibels -> Amplitude

degree->key degree scale gamut
[Function]

Return a note based in gamut from the degth element of list scale.

difsqr a b
[Function]

Difference of squares.

distort x
[Function]

(/ x (+ 1 (abs x))))

excess a b
[Function]

(- a (clip2 a b))

frac x
[Function]

Fractional part of x

hypot a b
[Function]

Hypotenuse of triangle with sides a and b.

log10 x
[Function]

Similar to log, but base 10.

log2 x
[Function]

Similar to log, but base 2.

midi->cps x
[Function]

MIDI note -> Hz

midi->ratio x
[Function]

MIDI note range -> frequency ratio

mod
[Function]

[undocumented]

oct->cps x
[Function]

Octave -> Hz

ratio->midi x
[Function]

frequency ratio -> MIDI note range

scaleneg a b
[Function]

Scale a by b if a is negative. Otherwise just return a.

sign x
[Function]

-1 if x is negative, 1 otherwise

softclip x
[Function]

clip the output to +/- 1, but don't mess with (abs x) < 0.5

sqrdif a b
[Function]

Square of difference.

sqrsum a b
[Function]

Square of sum.

squared x
[Function]

(* x x)

trunc a b
[Function]

Truncate a to be a multiple of b.

< | ^ | > | :>