fillSynth

Fill a given portion of a sound with a signal from specified synthesizer.

void
fillSynth
(,
uint channel
,,
float freq
,
double startTime
,
double duration
,
float amplitude
)

Parameters

sound Sound

a sound object to write to

channel uint

channel to fill (beginning from 0)

synth Synth

synthesizer object

freq float

synthesizer frequency

startTime double

start time of a signal in seconds

duration double

duration of a signal in seconds

amplitude float

volume coefficient of a signal

Meta