An esoteric language that uses tones of different frequencies to denote different instructions.
| Tone (Hz) | Instruction | Brainfuck Equivalent |
|---|---|---|
| 400 | Decrement data pointer by 1 | < |
| 600 | Increment data pointer by 1 | > |
| 1400 | Decrement byte at data pointer by 1%256 | - |
| 1600 | Increment byte at data pointer by 1%256 | + |
| 2400 | Output byte at data pointer | . |
| 2600 | Accept one byte of input, store its value at the data pointer | , |
| 3400 | If byte at data pointer is zero, go to next matching 3600Hz tone else go to next tone | [ |
| 3600 | If byte at data pointer is zero, go to next tone else go back to matching 3400Hz tone | ] |
You need to make a .wav file with a sample rate of 44.1kHz, 8-bit PCM Mono. Each tone must be of 0.5seconds for it to be considered as an instruction. You can stack the same instruction multiple times by increasing the duration of the tone. Examples have been provided in
/SourceCodes/ExecutablesAny C compiler (C 23)
CMake 4.3.2
Any program that helps you create .wav files (I used SoX)
Run these commands inside the repository
mkdir build
cd build
cmake ..
make
FreakquencyIt is an open-source project. Contributions are appreciated. Feel free to use however you like as long as I get credit.