DspEffectLibrary: renamed from effectLib
This commit is contained in:
@@ -49,7 +49,7 @@ Plugin::Descriptor PLUGIN_EXPORT bassbooster_plugin_descriptor =
|
||||
|
||||
BassBoosterEffect::BassBoosterEffect( Model* parent, const Descriptor::SubPluginFeatures::Key* key ) :
|
||||
Effect( &bassbooster_plugin_descriptor, parent, key ),
|
||||
m_bbFX( effectLib::fastBassBoost( 70.0f, 1.0f, 2.8f ) ),
|
||||
m_bbFX( DspEffectLibrary::FastBassBoost( 70.0f, 1.0f, 2.8f ) ),
|
||||
m_bbControls( this )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define _BASS_BOOSTER_H
|
||||
|
||||
#include "Effect.h"
|
||||
#include "effect_lib.h"
|
||||
#include "DspEffectLibrary.h"
|
||||
#include "BassBoosterControls.h"
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
effectLib::monoToStereoAdaptor<effectLib::fastBassBoost> m_bbFX;
|
||||
DspEffectLibrary::MonoToStereoAdaptor<DspEffectLibrary::FastBassBoost> m_bbFX;
|
||||
|
||||
BassBoosterControls m_bbControls;
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define _DYNPROC_H
|
||||
|
||||
#include "Effect.h"
|
||||
#include "effect_lib.h"
|
||||
#include "dynamics_processor_controls.h"
|
||||
|
||||
|
||||
|
||||
@@ -108,9 +108,9 @@ QString kickerInstrument::nodeName() const
|
||||
|
||||
|
||||
|
||||
//typedef effectLib::foldbackDistortion<> DistFX;
|
||||
typedef effectLib::distortion DistFX;
|
||||
typedef SweepOscillator<effectLib::monoToStereoAdaptor<DistFX> > SweepOsc;
|
||||
//typedef DspEffectLibrary::foldbackDistortion<> DistFX;
|
||||
typedef DspEffectLibrary::Distortion DistFX;
|
||||
typedef SweepOscillator<DspEffectLibrary::MonoToStereoAdaptor<DistFX> > SweepOsc;
|
||||
|
||||
|
||||
void kickerInstrument::playNote( NotePlayHandle * _n,
|
||||
|
||||
@@ -143,7 +143,7 @@ lb302FilterIIR2::lb302FilterIIR2(lb302FilterKnobState* p_fs) :
|
||||
vcf_c(1)
|
||||
{
|
||||
|
||||
m_dist = new effectLib::distortion( 1.0, 1.0f);
|
||||
m_dist = new DspEffectLibrary::Distortion( 1.0, 1.0f);
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#ifndef _LB302_H_
|
||||
#define _LB302_H_
|
||||
|
||||
#include "effect_lib.h"
|
||||
#include "DspEffectLibrary.h"
|
||||
#include "Instrument.h"
|
||||
#include "InstrumentView.h"
|
||||
#include "led_checkbox.h"
|
||||
@@ -96,7 +96,7 @@ class lb302FilterIIR2 : public lb302Filter
|
||||
vcf_b, //
|
||||
vcf_c;
|
||||
|
||||
effectLib::distortion * m_dist;
|
||||
DspEffectLibrary::Distortion * m_dist;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* stereo_enhancer.cpp - stereo-enhancer-effect-plugin
|
||||
*
|
||||
* Copyright (c) 2006-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
@@ -53,7 +53,7 @@ stereoEnhancerEffect::stereoEnhancerEffect(
|
||||
Model * _parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key ) :
|
||||
Effect( &stereoenhancer_plugin_descriptor, _parent, _key ),
|
||||
m_seFX( effectLib::stereoEnhancer( 0.0f ) ),
|
||||
m_seFX( DspEffectLibrary::StereoEnhancer( 0.0f ) ),
|
||||
m_delayBuffer( new sampleFrame[DEFAULT_BUFFER_SIZE] ),
|
||||
m_currFrame( 0 ),
|
||||
m_bbControls( this )
|
||||
@@ -107,7 +107,7 @@ bool stereoEnhancerEffect::processAudioBuffer( sampleFrame * _buf,
|
||||
m_delayBuffer[m_currFrame][1] = _buf[f][1];
|
||||
|
||||
// Get the width knob value from the Stereo Enhancer effect
|
||||
width = m_seFX.getWideCoeff();
|
||||
width = m_seFX.wideCoeff();
|
||||
|
||||
// Calculate the correct sample frame for processing
|
||||
frameIndex = m_currFrame - width;
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
* stereo_enhancer.h - stereo-enhancer-effect-plugin
|
||||
*
|
||||
* Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
@@ -27,14 +27,14 @@
|
||||
#define _STEREO_ENHANCER_H
|
||||
|
||||
#include "Effect.h"
|
||||
#include "effect_lib.h"
|
||||
#include "DspEffectLibrary.h"
|
||||
#include "engine.h"
|
||||
#include "stereoenhancer_controls.h"
|
||||
|
||||
class stereoEnhancerEffect : public Effect
|
||||
{
|
||||
public:
|
||||
stereoEnhancerEffect( Model * parent,
|
||||
stereoEnhancerEffect( Model * parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key );
|
||||
virtual ~stereoEnhancerEffect();
|
||||
virtual bool processAudioBuffer( sampleFrame * _buf,
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
effectLib::stereoEnhancer m_seFX;
|
||||
DspEffectLibrary::StereoEnhancer m_seFX;
|
||||
|
||||
sampleFrame * m_delayBuffer;
|
||||
int m_currFrame;
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#define _WAVESHAPER_H
|
||||
|
||||
#include "Effect.h"
|
||||
#include "effect_lib.h"
|
||||
#include "waveshaper_controls.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user