Example #1
0
void Gx_studiopre::run_dsp_mono(uint32_t n_samples)
{
#ifndef __SSE__
    wn->mono_audio(static_cast<int>(n_samples), input, input, wn);;
#endif
    studiopre_mono->mono_audio(static_cast<int>(n_samples), input,
                               output, studiopre_mono);
}
Example #2
0
void GxTubeDelay::run_dsp_mono(uint32_t n_samples)
{
#ifndef __SSE__
  wn->mono_audio(static_cast<int>(n_samples), input, input, wn);;
#endif
  tubedelay->mono_audio(static_cast<int>(n_samples), input,
                        output, tubedelay);
}
Example #3
0
void Gx_studiopre::init_dsp_mono(uint32_t rate)
{
    AVOIDDENORMALS(); // init the SSE denormal protection
#ifndef __SSE__
    wn = noiser::plugin();
    wn->set_samplerate(rate, wn);
#endif
    studiopre_mono->set_samplerate(rate, studiopre_mono); // init the DSP class
}
Example #4
0
void GxTubeDelay::clean_up()
{
#ifndef __SSE__
  wn->delete_instance(wn);;
#endif
  // delete the internal DSP mem
  if (tubedelay->activate_plugin !=0)
    tubedelay->activate_plugin(false, tubedelay);
}
Example #5
0
void GxTubeDelay::init_dsp_mono(uint32_t rate)
{
  AVOIDDENORMALS(); // init the SSE denormal protection
#ifndef __SSE__
  wn = noiser::plugin();
  wn->set_samplerate(rate, wn);
#endif
  tubedelay->set_samplerate(rate, tubedelay); // init the DSP class
}
Example #6
0
void Gx_studiopre::clean_up()
{
#ifndef __SSE__
    wn->delete_instance(wn);;
#endif
    // delete the internal DSP mem
    if (studiopre_mono->activate_plugin !=0)
        studiopre_mono->activate_plugin(false, studiopre_mono);
}
Example #7
0
void Gx_echo_stereo::connect_all_stereo_ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_stereo(port,data); 
  // connect the Ports used by the DSP class
  echo_st->connect_ports(port,  data, echo_st);
}
Example #8
0
void Gx_compressor::deactivate_f()
{
  // free the allocated internal DSP mem
  // check if the function is valid
  if (compressor_st->activate_plugin !=0)
    compressor_st->activate_plugin(false, compressor_st);
}
Example #9
0
void Gx_detune_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  detune->connect_ports(port,  data, detune);
}
Example #10
0
void Gx_detune_::init_dsp_(uint32_t rate, uint32_t bufsize_)
{
  AVOIDDENORMALS(); // init the SSE denormal protection
  bufsize = bufsize_;
  detune::smbPitchShift::set_buffersize(detune, bufsize);
  detune->set_samplerate(rate, detune); // init the DSP class
}
Example #11
0
void Gx_mbdistortion_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  mbdistortion->connect_ports(port,  data, mbdistortion);
}
Example #12
0
void Gx_barkgraphiceq_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  barkgraphiceq->connect_ports(port,  data, barkgraphiceq);
}
Example #13
0
void GxTubeDelay::connect_all_mono_ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_mono(port,data); 
  // connect the Ports used by the DSP class
  tubedelay->connect_ports(port,  data, tubedelay);
}
Example #14
0
void Gx_studiopre::connect_all_mono_ports(uint32_t port, void* data)
{
    // connect the Ports used by the plug-in class
    connect_mono(port,data);
    // connect the Ports used by the DSP class
    studiopre_mono->connect_ports(port,  data, studiopre_mono);
}
Example #15
0
void Gx_compressor::clean_up()
{
  // delete the internal DSP mem
  // check if the function is valid
  if (compressor_st->activate_plugin !=0)
    compressor_st->activate_plugin(false, compressor_st);
}
Example #16
0
void Gx_digital_delay_st_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  digital_delay_st->connect_ports(port,  data, digital_delay_st);
}
Example #17
0
void Gx_compressor::connect_all_mono_ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_mono(port,data); 
  // connect the Ports used by the DSP class
  compressor_st->connect_ports(port,  data, compressor_st);
}
Example #18
0
void Gx_shimmizita_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  shimmizita->connect_ports(port,  data, shimmizita);
}
Example #19
0
void Gx_rangem_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  rangem->connect_ports(port,  data, rangem);
}
Example #20
0
void Gx_compressor::activate_f()
{
  // allocate the internal DSP mem
  // check if the function is valid
  if (compressor_st->activate_plugin !=0)
    compressor_st->activate_plugin(true, compressor_st);
}
Example #21
0
void Gx_hogsfoot_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  hogsfoot->connect_ports(port,  data, hogsfoot);
}
Example #22
0
void Gx_duck_delay_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  duck_delay->connect_ports(port,  data, duck_delay);
}
Example #23
0
void Gx_fuzzfacefm_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  fuzzfacefm->connect_ports(port,  data, fuzzfacefm);
}
Example #24
0
void Gx_muff_::connect_all__ports(uint32_t port, void* data)
{
  // connect the Ports used by the plug-in class
  connect_(port,data); 
  // connect the Ports used by the DSP class
  muff->connect_ports(port,  data, muff);
}
Example #25
0
void Gx_detune_::run_dsp_(uint32_t n_samples)
{
  detune->mono_audio(static_cast<int>(n_samples), input, output, detune);
  if (*(latency) != latency_) {
      latency_ = *(latency) ;
      mode = false;
      schedule->schedule_work(schedule->handle, sizeof(bool), &doit);
  }
  if (bufsize != n_samples) {
      bufsize = n_samples;
      mode = true;
      schedule->schedule_work(schedule->handle, sizeof(bool), &doit);
  }
}
Example #26
0
void Gx_duck_delay_::init_dsp_(uint32_t rate)
{
  AVOIDDENORMALS(); // init the SSE denormal protection
  duck_delay->set_samplerate(rate, duck_delay); // init the DSP class
}
Example #27
0
void Gx_duck_delay_::run_dsp_(uint32_t n_samples)
{
  duck_delay->mono_audio(static_cast<int>(n_samples), input, output, duck_delay);
}
Example #28
0
void Gx_duck_delay_::deactivate_f()
{
  // delete the internal DSP mem
  if (duck_delay->activate_plugin !=0)
    duck_delay->activate_plugin(false, duck_delay);
}
Example #29
0
void Gx_duck_delay_::activate_f()
{
  // allocate the internal DSP mem
  if (duck_delay->activate_plugin !=0)
    duck_delay->activate_plugin(true, duck_delay);
}
Example #30
0
void Gx_hogsfoot_::init_dsp_(uint32_t rate)
{
  AVOIDDENORMALS(); // init the SSE denormal protection
  hogsfoot->set_samplerate(rate, hogsfoot); // init the DSP class
}