This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This effect Copyright (C) 2004 and later Cockos Incorporated | |
| // License: LGPL - http://www.gnu.org/licenses/lgpl.html | |
| // fade fix/improvements thanks to dan mcmullen | |
| desc: Delay w/Reverseness | |
| //tags: processing sampler mangler delay | |
| //author: Cockos | |
| slider1:500<0,4000,10>Length (ms) | |
| slider2:-6<-120,6,1>Wet Mix (dB) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/choc/javascript/choc_javascript.h b/choc/javascript/choc_javascript.h | |
| index 95f1678..3abefcf 100644 | |
| --- a/choc/javascript/choc_javascript.h | |
| +++ b/choc/javascript/choc_javascript.h | |
| @@ -97,6 +97,7 @@ namespace choc::javascript | |
| operator bool() const { return pimpl != nullptr; } | |
| //============================================================================== | |
| + | |
| /// This callback is used by the run() method. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| inline void test_clipsource() | |
| { | |
| juce::AudioFormatManager mana; | |
| mana.registerBasicFormats(); | |
| auto reader = | |
| mana.createReaderFor(juce::File(R"(C:\MusicAudio\sourcesamples\ukulele\uku01.wav)")); | |
| double outsr = 96000.0; | |
| auto readersrc = std::make_unique<juce::AudioFormatReaderSource>(reader, true); | |
| auto src = std::make_unique<ClipAudioSourceModel>(std::move(readersrc), juce::String("foo"), | |
| 0.0, 0.0, 1.0, mana); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct Gendyn2026 | |
| { | |
| struct Node | |
| { | |
| float x0 = 0.0f; | |
| float y0 = 0.0f; | |
| }; | |
| alignas(16) std::array<Node, 256> nodes; | |
| alignas(16) double phase = 0.0; | |
| alignas(16) double phaseincrement = 0.0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| inline void test_choc_scandinavian() | |
| { | |
| choc::audio::WAVAudioFileFormat<true> wavformat; | |
| std::vector<std::string> filenamestotest{ | |
| R"(C:\MusicAudio\sourcesamples\test_signals\tones\😮_count_🧨.wav)", | |
| R"(C:\MusicAudio\sourcesamples\test_signals\tones\count.wav)", | |
| R"(C:\MusicAudio\sourcesamples\test_signals\tones\ÄÖÅ_count_äöå.wav)"}; | |
| std::print("testing with std::string paths directly\n"); | |
| for (auto &path : filenamestotest) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <pybind11/pybind11.h> | |
| #include <pybind11/buffer_info.h> | |
| #include <pybind11/stl.h> | |
| #include <pybind11/numpy.h> | |
| #include "../Common/xap_breakpoint_envelope.h" | |
| #include "sst/basic-blocks/dsp/EllipticBlepOscillators.h" | |
| #include "sst/basic-blocks/dsp/DPWSawPulseOscillator.h" | |
| #include <print> | |
| namespace py = pybind11; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <print> | |
| #include "sst/basic-blocks/simd/setup.h" | |
| #include "include/sst/waveshapers.h" | |
| #include <cmath> | |
| #include <vector> | |
| #include <random> | |
| #include <algorithm> | |
| int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define OLC_PGE_APPLICATION | |
| #include "olcPixelGameEngine.h" | |
| #include <complex> | |
| class Example : public olc::PixelGameEngine | |
| { | |
| public: | |
| Example() { sAppName = "Mandelbrot"; } | |
| public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdlib> | |
| #include <cmath> | |
| #include <iostream> | |
| #include <complex> | |
| #include <vector> | |
| int main() | |
| { | |
| size_t w = 120; | |
| size_t h = 40; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.16) | |
| set(CMAKE_CXX_STANDARD 17) | |
| set(CMAJ_CMAKE_PROJECT_NAME "Pro54") | |
| set(CMAJ_TARGET_BUNDLE_ID "dev.cmajor.examples.pro54") | |
| set(CMAJ_TARGET_PATCH_VERSION "1.0") | |
| set(CMAJ_TARGET_NAME "Pro54") | |
| set(CMAJ_TARGET_BUNDLE_NAME "${CMAJ_TARGET_NAME}") |
NewerOlder