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
| // | |
| // headphones-detect.c | |
| // Kyle Neideck, kyle@bearisdriving.com | |
| // | |
| // Compile with: | |
| // clang -framework CoreAudio -framework CoreFoundation -o headphones-detect headphones-detect.c | |
| // | |
| // Runs a command when headphones are plugged in to or unplugged from the | |
| // built-in audio device. | |
| // |
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
| // Bare-bone REAPER extension | |
| // | |
| // 1. Grab reaper_plugin.h from https://github.com/justinfrankel/reaper-sdk/raw/main/sdk/reaper_plugin.h | |
| // 2. Grab reaper_plugin_functions.h by running the REAPER action "[developer] Write C++ API functions header" | |
| // 3. Grab WDL: git clone https://github.com/justinfrankel/WDL.git | |
| // 4. Build then copy or link the binary file into <REAPER resource directory>/UserPlugins | |
| // | |
| // Linux | |
| // ===== | |
| // |
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
| /** | |
| * Just intonation MIDI keyboard with SuperCollider | |
| */ | |
| MIDIIn.connect; | |
| s.boot; | |
| ( | |
| SynthDef("umbSimpleFM",{ | |
| arg freq=440, gate=1, amp=1, pan=0; |