# triangleptr **Repository Path**: mirrors_schollz/triangleptr ## Basic Information - **Project Name**: triangleptr - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-19 - **Last Updated**: 2026-01-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Triangle PTR Author: Rylee Alanza Lyman PTR variable slope triangle wave oscillator ### Usage ```supercollider { TrianglePTR.ar(freq:440)[0].dup }.play ``` Note the `[0]`: TrianglePTR has two channels of output, the second being designed to feed into the `sync` input of another TrianglePTR oscillator. ### Requirements - CMake >= 3.5 - SuperCollider source code ### Building Clone the project: git clone https://github.com/ryleelyman/triangleptr cd triangleptr mkdir build cd build Then, use CMake to configure and build it: cmake .. -DCMAKE_BUILD_TYPE=Release cmake --build . --config Release cmake --build . --config Release --target install You may want to manually specify the install location in the first step to point it at your SuperCollider extensions directory: add the option `-DCMAKE_INSTALL_PREFIX=/path/to/extensions`. It's expected that the SuperCollider repo is cloned at `../supercollider` relative to this repo. If it's not: add the option `-DSC_PATH=/path/to/sc/source`. ### Developing Use the command in `regenerate` to update CMakeLists.txt when you add or remove files from the project. You don't need to run it if you only change the contents of existing files. You may need to edit the command if you add, remove, or rename plugins, to match the new plugin paths. Run the script with `--help` to see all available options.