``` : audio { c t -- o } t t 3 >> c 0 ~ * ^ + 0xF & t t 7 >> 3 & 1 + >> t 16 t 18 >> 7 & - >> 3 & 4 + & 3 * 7 & 1 + * t ~ 10 >> 0xF & * 4 >> t 0xFF & t ~ 7 t 18 >> 7 & + >> 0x1F & * 6 >> + 1 >> i8 ; RUN audio 1 -> increment 0 -> time ```
composed with https://mathr.co.uk/barry/v2/ recorded with barry command line tool (fixed the bug that had broken it) trimmed and DC offset removed with Audacity encoded with LAME
Reminds me of an electric train changing up gears when leaving a station.
Attached is just an excerpt of the start (first 2^23 samples), it continues indefinitely (technically, it will repeat after at most 2^64 samples, due to arbitrary computational limit).
Source code:
``` : wave { c t n -- o } t t 1 n << 1 2 c * - - * n >> c 0 ~ * ^ * 1 n << 1 2 c * - + * n >> i8 ;
: audio { c t -- o } c t 19 wave c t 18 wave c t 17 wave c t 16 wave ^ ^ ^ ;
RUN audio 1 -> increment 0 -> time ```
(Last one I did was on the 3rd, not made enough time for noisevember this year...)
source code composed in https://mathr.co.uk/barry/v2/ , rendered to WAV using barry command line version, trimmed to first 2^22 samples using Audacity, encoded with LAME.
``` : audio { c t -- o } t t 0x401 c 2 * - * 17 t 16 >> 3 & + >> 0x11 t 18 >> 0xF & 1 + * & << i8 ;
#noisevember #novembeat #noisevembeat 18th
rhythmic beeping
source code composed in https://mathr.co.uk/barry/v2/ , rendered to WAV using barry command line version, trimmed to first 2^22 samples using Audacity, encoded with LAME.
```
: audio { c t -- o }
t t 0x401 c 2 * - * 17 t 16 >> 3 & + >> 0x11 t 18 >> 0xF & 1 + * & <<
i8
;
RUN audio
1 -> increment
0 -> time
```