Gin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Exciter Class Reference

Aural exciter - adds harmonics generated from the top of the signal. More...

#include <gin_exciter.h>

Public Member Functions

 Exciter ()=default
 
 ~Exciter ()=default
 
void setSampleRate (double sr)
 
void setFrequency (float hz)
 Crossover frequency - only content above this generates harmonics.
 
void setDrive (float d)
 Drive into the shaper, 1 to 8.
 
void setHarmonics (float h)
 How much harmonic content the shaper generates, 0 to 1.
 
void setMix (float m)
 How much of the generated signal is added, 0 to 2.
 
void reset ()
 
void process (juce::AudioSampleBuffer &buffer)
 

Detailed Description

Aural exciter - adds harmonics generated from the top of the signal.

The top end is split off, driven into a soft waveshaper to generate harmonics, highpassed again to throw away everything the shaper folded back down into the midrange, and then mixed in alongside the untouched signal. Because the dry path is never filtered, the original is still there in full - the effect only ever adds.

This buys presence without the phase shift of an EQ boost, and because the harmonics are generated from the material itself they track it rather than lifting the noise floor along with everything else.

Key Features:

Usage:

exciter.setSampleRate (44100.0);
exciter.setFrequency (7000.0f); // excite above 7 kHz
exciter.setDrive (3.0f);
exciter.setHarmonics (0.4f);
exciter.setMix (0.5f);
exciter.process (buffer);
Aural exciter - adds harmonics generated from the top of the signal.
Definition gin_exciter.h:54
A lightweight 2D point class for projects that don't use juce_graphics.
Definition gin_point.h:25
See also
Distortion, SoftClipper

Constructor & Destructor Documentation

◆ Exciter()

Exciter::Exciter ( )
default

◆ ~Exciter()

Exciter::~Exciter ( )
default

Member Function Documentation

◆ setSampleRate()

void Exciter::setSampleRate ( double  sr)

References reset().

◆ setFrequency()

void Exciter::setFrequency ( float  hz)

Crossover frequency - only content above this generates harmonics.

◆ setDrive()

void Exciter::setDrive ( float  d)

Drive into the shaper, 1 to 8.

◆ setHarmonics()

void Exciter::setHarmonics ( float  h)

How much harmonic content the shaper generates, 0 to 1.

◆ setMix()

void Exciter::setMix ( float  m)

How much of the generated signal is added, 0 to 2.

The dry signal is always passed through at unity, so this only ever adds.

◆ reset()

void Exciter::reset ( )

Referenced by setSampleRate().

◆ process()

void Exciter::process ( juce::AudioSampleBuffer &  buffer)

The documentation for this class was generated from the following file: