lorismorphSpectral Processing:LorislorismorphlorismorphMorphs two stored sets of bandwidth-enhanced partials
and stores a new set of partials representing the morphed
sound. The morph is performed by linearly interpolating the
parameter envelopes (frequency, amplitude, and bandwidth, or
noisiness) of the bandwidth-enhanced partials according to
control-rate frequency, amplitude, and bandwidth morphing
functions. Syntaxlorismorph isrcidx, itgtidx, istoreidx, kfreqmorphenv, kampmorphenv, kbwmorphenvDescriptionlorismorph morphs two stored sets of bandwidth-enhanced
partials and stores a new set of partials representing the morphed
sound. The morph is performed by linearly interpolating the
parameter envelopes (frequency, amplitude, and bandwidth, or
noisiness) of the bandwidth-enhanced partials according to
control-rate frequency, amplitude, and bandwidth morphing
functions.
Initializationistoreidx, ireadidx, isrcidx, itgtidx are
labels that identify a stored set of bandwidth-enhanced
partials. lorisread imports partials from a SDIF file and stores them
with the integer label istoreidx. lorismorph morphs sets of partials
labeled isrcidx and itgtidx, and stores the resulting partials with
the integer label istoreidx. lorisplay renders the partials stored
with the label ireadidx. The labels are used only at initialization
time, and may be reused without any cost or benefit in efficiency, and
without introducing any interaction between instruments or
instances.Performancelorismorph generates a set of bandwidth-enhanced partials by
morphing two stored sets of partials, the source and target partials,
which may have been imported using lorisread, or generated by another
unit generator, including another instance of lorismorph. The morph is
performed by interpolating the parameters of corresponding (labeled)
partials in the two source sounds. The sound morph is
described by three control-rate morphing envelopes. kfreqmorphenv
describes the interpolation of partial frequency values in the two
source sounds. When kfreqmorphenv is 0, partial frequencies are
obtained from the partials stored at isrcidx. When kfreqmorphenv is 1,
partial frequencies are obtained from the partials at itgtidx. When
kfreqmorphenv is between 0 and 1, the partial frequencies are
interpolated between corresponding source and target
partials. Interpolation of partial amplitudes and bandwidth
(noisiness) coefficients are similarly described by kampmorphenv and
kbwmorphenv.Examples
Here is an example of the lorismorph opcode. It uses the file lorismorph.csd.
Example of the lorismorph opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.CreditsThis implementation of the Loris unit generators was written by Kelly
Fitz (loris@cerlsoundgroup.org). It is patterned after a prototype implementation of the
lorisplay unit generator written by Corbin Champion, and based on the
method of Bandwidth-Enhanced Additive Synthesis and on the sound
morphing algorithms implemented in the Loris library for sound
modeling and manipulation. The opcodes were further adapted as a
plugin for Csound 5 by Michael gogins.