aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / allen-audio / native.om
| 1 | note Oracle layout of Allen's startup sound; composed after chirp.om by check.sh. |
| 2 | note Writes to fd 1 the exact file aienux native/kernel/ui/tests/chirp_test.c writes as chirp.wav |
| 3 | note (write_wav(path, s, N), N = CK_CHIRP_FRAMES = 590400): 2 channels, 16-bit, 48000 Hz, frames 0 |
| 4 | note to 590400 (0 ms to 12300 ms of the night), left equal to right. check.sh compares it byte for |
| 5 | note byte with that C program's output, built from the pinned aienux source, so the Omega port is |
| 6 | note checked against the original, not against itself. |
| 7 | |
| 8 | fn main to int |
| 9 | setup |
| 10 | put ofd 0 1 |
| 11 | owav 2 FEND |
| 12 | f = ulong 0 |
| 13 | note 590400 frames, one pass each. |
| 14 | while lt f FEND bound 590400 |
| 15 | v = sample f |
| 16 | osample v |
| 17 | osample v |
| 18 | f = add f 1 |
| 19 | end |
| 20 | oflush |
| 21 | ret 0 |
| 22 | end |