diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/bootloader/bootloader.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/bootloader/bootloader.cc index 4d9e1cf5..3d4cbe96 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/bootloader/bootloader.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/bootloader/bootloader.cc @@ -37,7 +37,7 @@ #include -using namespace clouds; +using namespace clouds_parasites; using namespace stmlib; using namespace stm_audio_bootloader; diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/clouds.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/clouds.cc index c4bf44d7..21101071 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/clouds.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/clouds.cc @@ -36,7 +36,7 @@ // #define PROFILE_INTERRUPT 1 -using namespace clouds; +using namespace clouds_parasites; using namespace stmlib; GranularProcessor processor; diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.cc index ed6447a9..8a796166 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.cc @@ -35,7 +35,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { using namespace std; @@ -212,4 +212,4 @@ void CvScaler::Read(Parameters* parameters) { adc_.Convert(); } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.h index b1463bd7..620f30bd 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/cv_scaler.h @@ -36,7 +36,7 @@ #include "clouds/drivers/gate_input.h" #include "clouds/dsp/parameters.h" -namespace clouds { +namespace clouds_parasites { enum BlendParameter { BLEND_PARAMETER_DRY_WET, @@ -147,6 +147,6 @@ class CvScaler { DISALLOW_COPY_AND_ASSIGN(CvScaler); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_CV_SCALER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/audio_buffer.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/audio_buffer.h index e5feb3c2..8c1d6150 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/audio_buffer.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/audio_buffer.h @@ -41,7 +41,7 @@ const int32_t kCrossFadeSize = 256; const int32_t kInterpolationTail = 8; -namespace clouds { +namespace clouds_parasites { enum Resolution { RESOLUTION_16_BIT, @@ -297,6 +297,6 @@ class AudioBuffer { DISALLOW_COPY_AND_ASSIGN(AudioBuffer); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_AUDIO_BUFFER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.cc index f8f2bf7c..609ebd2d 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.cc @@ -30,7 +30,7 @@ #include -namespace clouds { +namespace clouds_parasites { using namespace std; @@ -85,4 +85,4 @@ void Correlator::StartSearch( done_ = false; } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.h index 496d3b6d..d0e10114 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/correlator.h @@ -33,7 +33,7 @@ #include "stmlib/stmlib.h" -namespace clouds { +namespace clouds_parasites { class Correlator { public: @@ -83,6 +83,6 @@ class Correlator { DISALLOW_COPY_AND_ASSIGN(Correlator); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_CORRELATOR_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/frame.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/frame.h index 4a9c29fb..307af5a1 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/frame.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/frame.h @@ -31,7 +31,7 @@ #include "stmlib/stmlib.h" -namespace clouds { +namespace clouds_parasites { const int32_t kMaxNumChannels = 2; const size_t kMaxBlockSize = 32; @@ -39,6 +39,6 @@ const size_t kMaxBlockSize = 32; typedef struct { short l; short r; } ShortFrame; typedef struct { float l; float r; } FloatFrame; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_FRAME_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/diffuser.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/diffuser.h index 4858083e..4489faf0 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/diffuser.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/diffuser.h @@ -33,7 +33,7 @@ #include "clouds/dsp/fx/fx_engine.h" -namespace clouds { +namespace clouds_parasites { class Diffuser { public: @@ -107,6 +107,6 @@ class Diffuser { DISALLOW_COPY_AND_ASSIGN(Diffuser); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_FX_DIFFUSER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/fx_engine.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/fx_engine.h index 752d8039..75441234 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/fx_engine.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/fx_engine.h @@ -36,7 +36,7 @@ #include "stmlib/dsp/dsp.h" #include "stmlib/dsp/cosine_oscillator.h" -namespace clouds { +namespace clouds_parasites { #define TAIL , -1 @@ -351,6 +351,6 @@ class FxEngine { DISALLOW_COPY_AND_ASSIGN(FxEngine); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_FX_FX_ENGINE_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/oliverb.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/oliverb.h index 9bd4e304..410aeece 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/oliverb.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/oliverb.h @@ -34,7 +34,7 @@ #include "clouds/dsp/fx/fx_engine.h" #include "clouds/dsp/random_oscillator.h" -namespace clouds { +namespace clouds_parasites { class Oliverb { public: @@ -259,6 +259,6 @@ class Oliverb { DISALLOW_COPY_AND_ASSIGN(Oliverb); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_FX_OLIVERB_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/pitch_shifter.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/pitch_shifter.h index 5f91a6c2..253d0508 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/pitch_shifter.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/pitch_shifter.h @@ -36,7 +36,7 @@ #include "clouds/dsp/frame.h" #include "clouds/dsp/fx/fx_engine.h" -namespace clouds { +namespace clouds_parasites { class PitchShifter { public: @@ -127,6 +127,6 @@ class PitchShifter { DISALLOW_COPY_AND_ASSIGN(PitchShifter); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_FX_MINI_CHORUS_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/reverb.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/reverb.h index aa362c89..ab3b61ba 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/reverb.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/fx/reverb.h @@ -33,7 +33,7 @@ #include "clouds/dsp/fx/fx_engine.h" -namespace clouds { +namespace clouds_parasites { class Reverb { public: @@ -175,6 +175,6 @@ class Reverb { DISALLOW_COPY_AND_ASSIGN(Reverb); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_FX_REVERB_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/grain.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/grain.h index 94ced9a9..c0dcc6f3 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/grain.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/grain.h @@ -37,7 +37,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { const float slope_response[4] = { 1.3f, 1.0f, 1.0f, 1.0f }; const float bias_response[4] = { 1.0f, 2.0f - 1.0f/500.0f, 1.0f/500.0f, 1.0f }; @@ -206,6 +206,6 @@ class Grain { DISALLOW_COPY_AND_ASSIGN(Grain); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_GRAIN_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.cc index 7286e3f3..bc5e9f52 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.cc @@ -37,7 +37,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { using namespace std; using namespace stmlib; @@ -629,4 +629,4 @@ void GranularProcessor::Prepare() { } } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.h index 4840ac7a..ab7e7b13 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_processor.h @@ -46,7 +46,7 @@ #include "clouds/dsp/sample_rate_converter.h" #include "clouds/dsp/wsola_sample_player.h" -namespace clouds { +namespace clouds_parasites { const int32_t kDownsamplingFactor = 2; @@ -219,6 +219,6 @@ class GranularProcessor { DISALLOW_COPY_AND_ASSIGN(GranularProcessor); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_GRANULAR_PROCESSOR_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_sample_player.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_sample_player.h index 89e0eb2d..8072a77f 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_sample_player.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/granular_sample_player.h @@ -44,7 +44,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { const int32_t kMaxNumGrains = 40; @@ -253,6 +253,6 @@ class GranularSamplePlayer { DISALLOW_COPY_AND_ASSIGN(GranularSamplePlayer); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_GRANULAR_SAMPLE_PLAYER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/looping_sample_player.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/looping_sample_player.h index e2006fd6..1ee1fc14 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/looping_sample_player.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/looping_sample_player.h @@ -41,7 +41,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { const float kCrossfadeDuration = 64.0f; const int kMultDivSteps = 16; @@ -232,6 +232,6 @@ class LoopingSamplePlayer { DISALLOW_COPY_AND_ASSIGN(LoopingSamplePlayer); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_LOOPING_SAMPLE_PLAYER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.cc index 20d467b1..04e11442 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.cc @@ -28,7 +28,7 @@ #include "clouds/dsp/mu_law.h" -namespace clouds { +namespace clouds_parasites { /* extern */ int16_t lut_ulaw[256] = { @@ -66,4 +66,4 @@ int16_t lut_ulaw[256] = { 56, 48, 40, 32, 24, 16, 8, 0 }; -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.h index 200085b6..a6c411c9 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/mu_law.h @@ -31,7 +31,7 @@ #include "stmlib/stmlib.h" -namespace clouds { +namespace clouds_parasites { // inline short MuLaw2Lin(uint8_t u_val) { // int16_t t; @@ -78,6 +78,6 @@ inline unsigned char Lin2MuLaw(int16_t pcm_val) { } } -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_MU_LAW_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/parameters.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/parameters.h index 78049a28..b3c8dcf9 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/parameters.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/parameters.h @@ -31,7 +31,7 @@ #include "stmlib/stmlib.h" -namespace clouds { +namespace clouds_parasites { struct Parameters { float position; @@ -64,6 +64,6 @@ struct Parameters { } spectral; }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_PARAMETERS_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.cc index 5d786b2e..c7e6080c 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.cc @@ -37,7 +37,7 @@ #include "clouds/dsp/frame.h" #include "clouds/dsp/parameters.h" -namespace clouds { +namespace clouds_parasites { using namespace std; using namespace stmlib; @@ -358,4 +358,4 @@ void FrameTransformation::ReplayMagnitudes(float* xf_polar, float position) { } } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.h index 7750b732..69a64e85 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/frame_transformation.h @@ -35,7 +35,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { const int32_t kMaxNumTextures = 7; const int32_t kHighFrequencyTruncation = 16; @@ -95,6 +95,6 @@ class FrameTransformation { DISALLOW_COPY_AND_ASSIGN(FrameTransformation); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_PVOC_FRAME_TRANSFORMATION_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.cc index 991bca4b..a9c0433f 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.cc @@ -32,7 +32,7 @@ #include "stmlib/utils/buffer_allocator.h" -namespace clouds { +namespace clouds_parasites { using namespace std; using namespace stmlib; @@ -104,4 +104,4 @@ void PhaseVocoder::Buffer() { } } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.h index 9f017bd4..809f5042 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/phase_vocoder.h @@ -37,7 +37,7 @@ #include "clouds/dsp/pvoc/stft.h" #include "clouds/dsp/pvoc/frame_transformation.h" -namespace clouds { +namespace clouds_parasites { struct Parameters; @@ -71,6 +71,6 @@ class PhaseVocoder { DISALLOW_COPY_AND_ASSIGN(PhaseVocoder); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_PVOC_PHASE_VOCODER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.cc index 5d1734d6..c52159b8 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.cc @@ -33,7 +33,7 @@ #include "clouds/dsp/pvoc/frame_transformation.h" #include "stmlib/dsp/dsp.h" -namespace clouds { +namespace clouds_parasites { using namespace std; using namespace stmlib; @@ -207,4 +207,4 @@ void STFT::Buffer() { } } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.h index b0df485a..8085eb30 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/pvoc/stft.h @@ -39,7 +39,7 @@ #include "stmlib/fft/shy_fft.h" #endif // USE_ARM_FFT -namespace clouds { +namespace clouds_parasites { struct Parameters; @@ -111,6 +111,6 @@ class STFT { DISALLOW_COPY_AND_ASSIGN(STFT); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_PVOC_STFT_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/random_oscillator.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/random_oscillator.h index e70abfc2..6f0ef7a9 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/random_oscillator.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/random_oscillator.h @@ -35,7 +35,7 @@ using namespace stmlib; -namespace clouds +namespace clouds_parasites { const float kOscillationMinimumGap = 0.3f; diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/resonestor.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/resonestor.h index 262ed85c..df676705 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/resonestor.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/resonestor.h @@ -37,7 +37,7 @@ using namespace stmlib; -namespace clouds { +namespace clouds_parasites { const float chords[3][18] = { diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/sample_rate_converter.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/sample_rate_converter.h index 46e074fc..f762a44e 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/sample_rate_converter.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/sample_rate_converter.h @@ -33,7 +33,7 @@ #include "clouds/dsp/frame.h" -namespace clouds { +namespace clouds_parasites { template class SampleRateConverter { @@ -91,6 +91,6 @@ class SampleRateConverter { DISALLOW_COPY_AND_ASSIGN(SampleRateConverter); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_SAMPLE_RATE_CONVERTER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/window.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/window.h index a49f190e..ac6d6e18 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/window.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/window.h @@ -37,7 +37,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { enum WindowFlags { WINDOW_FLAGS_HALF_DONE = 1, @@ -120,6 +120,6 @@ class Window { DISALLOW_COPY_AND_ASSIGN(Window); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_WINDOW_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/wsola_sample_player.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/wsola_sample_player.h index cc60d44a..b6af5011 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/wsola_sample_player.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/dsp/wsola_sample_player.h @@ -45,7 +45,7 @@ #include "clouds/dsp/parameters.h" #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { const int32_t kMaxWSOLASize = 4096; @@ -318,6 +318,6 @@ class WSOLASamplePlayer { DISALLOW_COPY_AND_ASSIGN(WSOLASamplePlayer); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_DSP_WSOLA_SAMPLE_PLAYER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/meter.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/meter.h index 6dd8ad5d..e446eec0 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/meter.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/meter.h @@ -33,7 +33,7 @@ #include "clouds/drivers/codec.h" -namespace clouds { +namespace clouds_parasites { class Meter { public: @@ -79,6 +79,6 @@ class Meter { DISALLOW_COPY_AND_ASSIGN(Meter); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_METER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.cc index d060d6dd..bae4f43a 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.cc @@ -32,7 +32,7 @@ #include "clouds/resources.h" -namespace clouds { +namespace clouds_parasites { const float src_filter_1x_2_31[] = { 6.826286541e-03, 1.617306168e-02, -9.023930288e-03, -1.314720136e-02, @@ -3062,4 +3062,4 @@ const float* lookup_table_table[] = { }; -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.h index 23b42dae..890b1740 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/resources.h @@ -38,7 +38,7 @@ -namespace clouds { +namespace clouds_parasites { typedef uint8_t ResourceId; @@ -91,6 +91,6 @@ extern const float lut_quantized_pitch[]; #define LUT_QUANTIZED_PITCH 8 #define LUT_QUANTIZED_PITCH_SIZE 1025 -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_RESOURCES_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.cc b/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.cc index 38a71de2..79ca19e0 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.cc @@ -32,7 +32,7 @@ #include "clouds/dsp/granular_processor.h" -namespace clouds { +namespace clouds_parasites { stmlib::Storage<1> storage; @@ -86,4 +86,4 @@ void Settings::Save() { storage.ParsimoniousSave(data_, &version_token_); } -} // namespace clouds +} // namespace clouds_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.h b/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.h index 8164df94..603459c3 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.h +++ b/plugins/community/repos/Southpole-parasites/parasites/clouds/settings.h @@ -33,7 +33,7 @@ #include "clouds/drivers/adc.h" -namespace clouds { +namespace clouds_parasites { struct CalibrationData { float pitch_offset; @@ -108,6 +108,6 @@ class Settings { DISALLOW_COPY_AND_ASSIGN(Settings); }; -} // namespace clouds +} // namespace clouds_parasites #endif // CLOUDS_SETTINGS_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.cc b/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.cc index 382f92f5..83186934 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.cc @@ -67,4 +67,4 @@ void CvScaler::Calibrate() { SaveCalibrationData(); } -} // namespace tides +} // namespace tides_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.h b/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.h index d0e56ca2..d7b12569 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.h +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/cv_scaler.h @@ -204,6 +204,6 @@ class CvScaler { DISALLOW_COPY_AND_ASSIGN(CvScaler); }; -} // namespace tides +} // namespace tides_parasites #endif // TIDES_CV_SCALER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/generator.cc b/plugins/community/repos/Southpole-parasites/parasites/tides/generator.cc index ce587ce6..0c252ec1 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/generator.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/generator.cc @@ -1399,4 +1399,4 @@ void Generator::FillBufferRandom() { } } -} // namespace tides +} // namespace tides_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/generator.h b/plugins/community/repos/Southpole-parasites/parasites/tides/generator.h index 64ac3111..999a4131 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/generator.h +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/generator.h @@ -300,6 +300,6 @@ class Generator { DISALLOW_COPY_AND_ASSIGN(Generator); }; -} // namespace tides +} // namespace tides_parasites #endif // TIDES_GENERATOR_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.cc b/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.cc index 66d533ef..f33d603b 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.cc @@ -64,4 +64,4 @@ void Plotter::NextInstruction() { } } -} // namespace tides +} // namespace tides_parasites diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.h b/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.h index 436b53fc..a34beddc 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.h +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/plotter.h @@ -79,6 +79,6 @@ class Plotter { DISALLOW_COPY_AND_ASSIGN(Plotter); }; -} // namespace tides +} // namespace tides_parasites #endif // TIDES_PLOTTER_H_ diff --git a/plugins/community/repos/Southpole-parasites/parasites/tides/resources.cc b/plugins/community/repos/Southpole-parasites/parasites/tides/resources.cc index beae6860..3c4aa19f 100644 --- a/plugins/community/repos/Southpole-parasites/parasites/tides/resources.cc +++ b/plugins/community/repos/Southpole-parasites/parasites/tides/resources.cc @@ -21504,4 +21504,4 @@ const int16_t* waveshaper_table[] = { }; -} // namespace tides +} // namespace tides_parasites diff --git a/plugins/community/repos/Southpole-parasites/src/Smoke.cpp b/plugins/community/repos/Southpole-parasites/src/Smoke.cpp index d8431148..c1b4f619 100644 --- a/plugins/community/repos/Southpole-parasites/src/Smoke.cpp +++ b/plugins/community/repos/Southpole-parasites/src/Smoke.cpp @@ -70,7 +70,7 @@ MIX_GREEN_LIGHT, MIX_RED_LIGHT, DoubleRingBuffer, 256> inputBuffer; DoubleRingBuffer, 256> outputBuffer; - clouds::PlaybackMode playbackmode = clouds::PLAYBACK_MODE_GRANULAR; + clouds_parasites::PlaybackMode playbackmode = clouds_parasites::PLAYBACK_MODE_GRANULAR; int buffersize = 1; @@ -79,7 +79,7 @@ MIX_GREEN_LIGHT, MIX_RED_LIGHT, bool mono = false; uint8_t *block_mem; uint8_t *block_ccm; - clouds::GranularProcessor *processor; + clouds_parasites::GranularProcessor *processor; bool triggered = false; float freezeLight = 0.0; @@ -113,7 +113,7 @@ MIX_GREEN_LIGHT, MIX_RED_LIGHT, void fromJson(json_t *rootJ) override { json_t *playbackmodeJ = json_object_get(rootJ, "playbackmode"); if (playbackmodeJ) { - playbackmode = (clouds::PlaybackMode)json_integer_value(playbackmodeJ); + playbackmode = (clouds_parasites::PlaybackMode)json_integer_value(playbackmodeJ); } json_t *lofiJ = json_object_get(rootJ, "lofi"); if (lofiJ) { @@ -147,7 +147,7 @@ Smoke::Smoke() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) { const int ccmLen = 65536 - 128; block_mem = new uint8_t[memLen](); block_ccm = new uint8_t[ccmLen](); - processor = new clouds::GranularProcessor(); + processor = new clouds_parasites::GranularProcessor(); memset(processor, 0, sizeof(*processor)); //freezeTrigger.setThresholds(0.0, 1.0); @@ -181,7 +181,7 @@ void Smoke::step() { // Render frames if (outputBuffer.empty()) { - clouds::ShortFrame input[32] = {}; + clouds_parasites::ShortFrame input[32] = {}; // Convert input buffer { inputSrc.setRates(engineGetSampleRate(), 32000); @@ -204,7 +204,7 @@ void Smoke::step() { int memLen = 118784*buffersize; const int ccmLen = 65536 - 128; block_mem = new uint8_t[memLen](); - processor = new clouds::GranularProcessor(); + processor = new clouds_parasites::GranularProcessor(); memset(processor, 0, sizeof(*processor)); processor->Init(block_mem, memLen, block_ccm, ccmLen); currentbuffersize = buffersize; @@ -224,7 +224,7 @@ void Smoke::step() { - clouds::Parameters* p = processor->mutable_parameters(); + clouds_parasites::Parameters* p = processor->mutable_parameters(); p->trigger = triggered; p->gate = triggered; p->freeze = (inputs[FREEZE_INPUT].value >= 1.0 || freeze); @@ -247,7 +247,7 @@ void Smoke::step() { lights[REVERSE_LIGHT].setBrightness(p->granular.reverse ? 1.0 : 0.0); #endif - clouds::ShortFrame output[32]; + clouds_parasites::ShortFrame output[32]; processor->Process(input, output, 32); lights[FREEZE_LIGHT].setBrightness(p->freeze ? 1.0 : 0.0); @@ -280,7 +280,7 @@ void Smoke::step() { // Lights - clouds::Parameters *p = processor->mutable_parameters(); + clouds_parasites::Parameters *p = processor->mutable_parameters(); VUMeter vuMeter; vuMeter.dBInterval = 6.0; Frame<2> lightFrame = p->freeze ? outputFrame : inputFrame; @@ -452,24 +452,24 @@ void SmokeWidget::step() { panel5->visible = false; panel6->visible = false; #endif - if ( smoke->playbackmode == clouds::PLAYBACK_MODE_SPECTRAL) { + if ( smoke->playbackmode == clouds_parasites::PLAYBACK_MODE_SPECTRAL) { panel1->visible = false; panel2->visible = true; } - if ( smoke->playbackmode == clouds::PLAYBACK_MODE_LOOPING_DELAY) { + if ( smoke->playbackmode == clouds_parasites::PLAYBACK_MODE_LOOPING_DELAY) { panel1->visible = false; panel3->visible = true; } - if ( smoke->playbackmode == clouds::PLAYBACK_MODE_STRETCH) { + if ( smoke->playbackmode == clouds_parasites::PLAYBACK_MODE_STRETCH) { panel1->visible = false; panel4->visible = true; } #ifdef PARASITES - if ( smoke->playbackmode == clouds::PLAYBACK_MODE_OLIVERB) { + if ( smoke->playbackmode == clouds_parasites::PLAYBACK_MODE_OLIVERB) { panel1->visible = false; panel5->visible = true; } - if ( smoke->playbackmode == clouds::PLAYBACK_MODE_RESONESTOR) { + if ( smoke->playbackmode == clouds_parasites::PLAYBACK_MODE_RESONESTOR) { panel1->visible = false; panel6->visible = true; } @@ -480,7 +480,7 @@ void SmokeWidget::step() { struct CloudsModeItem : MenuItem { Smoke *clouds; - clouds::PlaybackMode mode; + clouds_parasites::PlaybackMode mode; void onAction(EventAction &e) override { clouds->playbackmode = mode; @@ -538,13 +538,13 @@ Menu *SmokeWidget::createContextMenu() { menu->addChild(construct()); menu->addChild(construct(&MenuLabel::text, "MODE")); - menu->addChild(construct(&MenuItem::text, "GRANULAR", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds::PLAYBACK_MODE_GRANULAR)); - menu->addChild(construct(&MenuItem::text, "SPECTRAL", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds::PLAYBACK_MODE_SPECTRAL)); - menu->addChild(construct(&MenuItem::text, "LOOPING_DELAY", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds::PLAYBACK_MODE_LOOPING_DELAY)); - menu->addChild(construct(&MenuItem::text, "STRETCH", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds::PLAYBACK_MODE_STRETCH)); + menu->addChild(construct(&MenuItem::text, "GRANULAR", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds_parasites::PLAYBACK_MODE_GRANULAR)); + menu->addChild(construct(&MenuItem::text, "SPECTRAL", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds_parasites::PLAYBACK_MODE_SPECTRAL)); + menu->addChild(construct(&MenuItem::text, "LOOPING_DELAY", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds_parasites::PLAYBACK_MODE_LOOPING_DELAY)); + menu->addChild(construct(&MenuItem::text, "STRETCH", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds_parasites::PLAYBACK_MODE_STRETCH)); #ifdef PARASITES - menu->addChild(construct(&MenuItem::text, "OLIVERB", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds::PLAYBACK_MODE_OLIVERB)); - menu->addChild(construct(&MenuItem::text, "RESONESTOR", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds::PLAYBACK_MODE_RESONESTOR)); + menu->addChild(construct(&MenuItem::text, "OLIVERB", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds_parasites::PLAYBACK_MODE_OLIVERB)); + menu->addChild(construct(&MenuItem::text, "RESONESTOR", &CloudsModeItem::clouds, clouds, &CloudsModeItem::mode, clouds_parasites::PLAYBACK_MODE_RESONESTOR)); #endif menu->addChild(construct(&MenuItem::text, "STEREO/MONO")); menu->addChild(construct(&MenuItem::text, "STEREO", &CloudsMonoItem::clouds, clouds, &CloudsMonoItem::setting, false)); diff --git a/plugins/community/repos/Southpole-parasites/src/Southpole.cpp b/plugins/community/repos/Southpole-parasites/src/Southpole.cpp index 4d081ca2..9f62be76 100644 --- a/plugins/community/repos/Southpole-parasites/src/Southpole.cpp +++ b/plugins/community/repos/Southpole-parasites/src/Southpole.cpp @@ -12,6 +12,6 @@ RACK_PLUGIN_INIT(Southpole_parasites) { RACK_PLUGIN_INIT_MANUAL("https://github.com/gbrandt1/southpole-vcvrack/blob/master/README.md"); RACK_PLUGIN_MODEL_ADD(Southpole_parasites, Annuli); - // RACK_PLUGIN_MODEL_ADD(Southpole_parasites, Smoke); // crashes + RACK_PLUGIN_MODEL_ADD(Southpole_parasites, Smoke); // crashes RACK_PLUGIN_MODEL_ADD(Southpole_parasites, Splash); } diff --git a/vst2_bin/CHANGELOG_VST.txt b/vst2_bin/CHANGELOG_VST.txt index ceee5c78..6c11d5ad 100644 --- a/vst2_bin/CHANGELOG_VST.txt +++ b/vst2_bin/CHANGELOG_VST.txt @@ -1,4 +1,8 @@ +** March 20th, 2019 +- add module Southpole-parasites.Smoke + + ** March 15th, 2019 - fix "MIDI Note On" idle detection mode - add configurable threshold settings for MIDI idle detection (short, default, long) diff --git a/vst2_bin/README_vst2.txt b/vst2_bin/README_vst2.txt index 486a4e80..ac5dbeb1 100644 --- a/vst2_bin/README_vst2.txt +++ b/vst2_bin/README_vst2.txt @@ -1,4 +1,4 @@ -VeeSeeVST Rack VST 2.4 Plugin -- March 15th, 2019 +VeeSeeVST Rack VST 2.4 Plugin -- March 20th, 2019 ================================================= !!!------------------------------------------------------------------------------ @@ -25,7 +25,7 @@ This is a quick'n'dirty adaption of VCV Rack 0.6.1 for the VST2 format. - offline rendering uses separate settings (highest quality by default) + supports idle-detection - wake up on MIDI note on or audio input -+ comes with 827 prebuilt modules ++ comes with 828 prebuilt modules Here's an old demo video of it: https://vimeo.com/277703414 And a newer one: https://youtu.be/XTpLfcz-6Vo @@ -87,7 +87,7 @@ The binary distribution contains the following (34) dynamically loaded add-on mo - Template_shared.MyModule -The following (793) add-on modules are statically linked with the VST plugin: +The following (794) add-on modules are statically linked with the VST plugin: - 21kHz.D_Inf - 21kHz.PalmLoop - Alikins.IdleSwitch @@ -768,6 +768,7 @@ The following (793) add-on modules are statically linked with the VST plugin: - Southpole.Wriggle - Southpole-parasites.Annuli - Southpole-parasites.Splash + - Southpole-parasites.Smoke - squinkylabs-plug1.Booty - squinkylabs-plug1.CHB - squinkylabs-plug1.ColoredNoise