GrainRenderer:
Filter:
SampleTools/Classes (extension) | Convenience

GrainRenderer
ExtensionExtension

conveniently render one-shot sounds

2019 Till Bovermann http://tai-studio.org

Description

A class to facilitate rendering of self-freeing SynthDefs (I.e., "grains"). It is possible to render the current setting to disk in various formats, e,g, to use the sounds in (hardware) drum samplers.

NOTE: The Synthdef needs to have the following features for this class to work properly:
NOTE: This class was tested on osx only but should work on other platforms, too.

Simple example:

Class Methods

.new

returns a new instance.

Arguments:

synthDef

the synthdef to edit.

numChans

the number of channels

path

where to render the sounds to

author

your name

Instance Methods

.renderAndWrite

render sound and write .scd file to pre-defined path.

.play

play synthdef.

.numChans

how many channels to render. must be reflected in the SynthDef as well

.path

the path to render the sounds to.

.synthDef

the synthdef

.author

the author