soundscrape

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

Overview

An "environment" in the soundscrape sense is a lexical environment in the scheme sense. An empty environment only knows the symbols exported by the util, orchestra, operator, envelope, and misc soundscrape modules.

In soundscrape, they can also be used as dynamic musical parameters. When they are used this way, they are called `events'. Some examples should be given here. See http://www.audiosynth.com/schtmldocs/Documentation/Streams-Patterns-Events/ for more information.

Usage

make-environment
[Special Form]

Make an environment and populate it. args is a list of symbols and values. This is a special form, so args are not evaluated before calling this syntax; rather, values are evaluated in the lexical environment that is being created, like let*. This allows binding values to reference other bindings.

with-environment env . body
[Special Form]

Execute body within the lexical environment env.

binding-play . args
[Function]

[undocumented]

call-with-environment env proc . args
[Function]

Call proc with arguments args. If any argument to proc is not specified in args, get it from environment env.

display-environment env
[Function]

Display a list of SYMBOL => VALUE pairs.

estream->unit-generator estream
[Function]

[undocumented]

estream:binder estream . args
[Function]

Returns a new stream that binds symbols to values from value streams (not event streams).

estream:empty
[Function]

A stream that returns new, empty events.

estream:merge! s1 s2
[Function]

Merge two event streams. s2 takes precedence. This procedure modifies the incoming events to produce the results.

estream:proto-event
[Function]

A stream that returns new events. Document me!

event->unit-generator e
[Function]

[undocumented]

make-empty-environment
[Function]

Make an empty environment. The environment will, however, contain bindings exported by soundscrape.

play-estream estream
[Function]

[undocumented]

< | ^ | > | :>