From 2fe8b1b92fa2a9b93fea0ed0cb62802237b82e8d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Dec 2020 22:26:17 +0900 Subject: Renaming of files in preparation for code style tools. Signed-off-by: Michele Calgaro (cherry picked from commit fce86b22a2367f1be1f9aae5e1ba3d18d1371b74) --- .../effects/synth_stereo_pitch_shift_impl.cc | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 arts/modules/effects/synth_stereo_pitch_shift_impl.cc (limited to 'arts/modules/effects/synth_stereo_pitch_shift_impl.cc') diff --git a/arts/modules/effects/synth_stereo_pitch_shift_impl.cc b/arts/modules/effects/synth_stereo_pitch_shift_impl.cc deleted file mode 100644 index fbf7bb07..00000000 --- a/arts/modules/effects/synth_stereo_pitch_shift_impl.cc +++ /dev/null @@ -1,51 +0,0 @@ -#include "flowsystem.h" -#include "artsmoduleseffects.h" -#include "stdsynthmodule.h" - -#include - -using namespace Arts; - -class Synth_STEREO_PITCH_SHIFT_impl : virtual public Synth_STEREO_PITCH_SHIFT_skel, - virtual public StdSynthModule -{ -protected: - Synth_PITCH_SHIFT leftPitchShift, rightPitchShift; - -public: - float speed() { return leftPitchShift.speed(); } - void speed(float newSpeed) - { - leftPitchShift.speed(newSpeed); - rightPitchShift.speed(newSpeed); - } - - float frequency() { return leftPitchShift.frequency(); } - void frequency(float newFrequency) - { - leftPitchShift.frequency(newFrequency); - rightPitchShift.frequency(newFrequency); - } - - void streamStart() - { - leftPitchShift.start(); - rightPitchShift.start(); - _node()->virtualize("inleft",leftPitchShift._node(),"invalue"); - _node()->virtualize("outleft",leftPitchShift._node(),"outvalue"); - _node()->virtualize("inright",rightPitchShift._node(),"invalue"); - _node()->virtualize("outright",rightPitchShift._node(),"outvalue"); - } - - void streamEnd() - { - _node()->devirtualize("inleft",leftPitchShift._node(),"invalue"); - _node()->devirtualize("outleft",leftPitchShift._node(),"outvalue"); - _node()->devirtualize("inright",rightPitchShift._node(),"invalue"); - _node()->devirtualize("outright",rightPitchShift._node(),"outvalue"); - leftPitchShift.stop(); - rightPitchShift.stop(); - } -}; - -REGISTER_IMPLEMENTATION(Synth_STEREO_PITCH_SHIFT_impl); -- cgit v1.2.1