Package wellen.dsp

Class Vocoder

java.lang.Object
wellen.dsp.Vocoder

public class Vocoder extends Object
superimposes a modulator signal ( e.g a human voice ) onto a carrier signal ( e.g sawtooth oscillator ).

*voclib* is an implementation of a traditional channel vocoder by Philip Bennefall from https://github.com/blastbay/voclib. java implementation created by Dennis P Paul.

  • Constructor Details

    • Vocoder

      public Vocoder(int pBands, int pFiltersPerBand, int pSampleRate, int pCarrierChannels)
  • Method Details

    • set_volume

      public void set_volume(float pRectifyVolume)
    • process

      public void process(float[] pCarrierBuffer, float[] pModulatorBuffer, float[] pOutputBuffer)
    • set_formant_shift

      public int set_formant_shift(float pFormant_shift)
    • reset_history

      public void reset_history()
    • set_reaction_time

      public int set_reaction_time(float pReaction_time)
    • process

      public float process(float pCarrierSample, float pModulatorSample)