cAudio::sRingModulatorParameters Struct Reference

The ring modulator multiplies an input signal by a carrier signal in the time domain, resulting in tremolo or inharmonic effects. More...

#include <IEffectParameters.h>

List of all members.

Public Types

enum  ModulatorWaveform { EMW_SINUSOID, EMW_SAW, EMW_SQUARE, EMW_COUNT }

Public Member Functions

 sRingModulatorParameters (float frequency=440.0f, float highPassCutoff=800.0f, ModulatorWaveform waveform=EMW_SINUSOID)

Public Attributes

float Frequency
float HighPassCutoff
ModulatorWaveform Waveform

Detailed Description

The ring modulator multiplies an input signal by a carrier signal in the time domain, resulting in tremolo or inharmonic effects.

Definition at line 678 of file IEffectParameters.h.


Member Data Documentation

This is the frequency of the carrier signal. If the carrier signal is slowly varying (less than 20 Hz), the result is a tremolo (slow amplitude variation) effect. If the carrier signal is in the audio range, audible upper and lower sidebands begin to appear, causing an inharmonic effect. The carrier signal itself is not heard in the output. Range: 0.0 to 8000.0

Definition at line 698 of file IEffectParameters.h.

This controls the cutoff frequency at which the input signal is high-pass filtered before being ring modulated. If the cutoff frequency is 0, the entire signal will be ring modulated. If the cutoff frequency is high, very little of the signal (only those parts above the cutoff) will be ring modulated. Range: 0.0 to 24000.0

Definition at line 705 of file IEffectParameters.h.

This controls which waveform is used as the carrier signal. Traditional ring modulator and tremolo effects generally use a sinusoidal carrier. Sawtooth and square waveforms are may cause unpleasant aliasing.

Definition at line 710 of file IEffectParameters.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations

Generated on Sat Feb 20 22:55:24 2010 for cAudio by  doxygen 1.6.2