1
0
Commit Graph

152 Commits

Author SHA1 Message Date
baac2d48e8
use directory bin instead of build 2024-08-20 18:47:22 +03:00
2dbb70fa2b
*.py: use a better shebang 2024-07-26 14:28:27 +03:00
74b9bec9c6
bytebeat_compiler.py: extract BITS_PER_BYTE 2024-07-14 00:25:13 +03:00
178755aa58
fwrite_le.c: use malloc instead of calloc 2024-07-14 00:24:13 +03:00
17be3d4b73
template.c: simplify file_length calculation 2024-07-14 00:23:56 +03:00
391467806e
template.c: extract BITS_PER_BYTE 2024-07-14 00:21:33 +03:00
32665b0168
README.md: improve license information and reformat 2024-07-14 00:17:37 +03:00
59b29e3952
README.md: reformat 2024-07-14 00:16:58 +03:00
7a107a85de
fwrite_le.h: reduce scope of private macros 2024-07-14 00:16:17 +03:00
bbb7b2a476
fwrite_le.*: make use of const for ptr 2024-06-18 19:07:10 +03:00
2ddc87b226
fwrite_le.h: move #includes inside the #ifdef block 2024-06-18 19:07:01 +03:00
505812da6c
template.c: output all errors to STDERR 2024-06-03 00:30:14 +03:00
6f99ea37e6
template.c: silent mode fixes 2024-06-03 00:25:54 +03:00
160c40fc11
template.c: merge exact, neighbor conditional compilation 2024-06-02 23:31:46 +03:00
ca282d20c8
bytebeat_compiler.py: search for compiler, fix section names
and reformat
2024-06-02 20:15:45 +03:00
c6e126f2bd
repeating: use wb+ mode only in sequential mode 2024-06-02 14:31:18 +03:00
755336c103
template.c: remove string junk: fixup 2024-06-02 14:29:48 +03:00
83046f1443
bytebeat_compiler.py: reformat 2024-06-01 11:45:27 +03:00
886d555c71
dual-license under Unlicense and CC0 2024-06-01 11:39:28 +03:00
01043c8aff
fwrite_le.*: rename ifeq_u32_ret to ifeq_b32_ret 2024-06-01 11:38:18 +03:00
ed7f2b2e6f
README.md: mark as WIP branch 2024-05-27 08:08:48 +03:00
98ff576f19
WIP: add files 2024-05-27 08:07:42 +03:00
24317101c0
template.c: precalculate before loop where applicable 2024-05-19 20:47:38 +03:00
3bab4c8373
bytebeat_compiler.py: rename w to time 2024-05-19 20:44:23 +03:00
f862603642
ANSI_CLEAR refactor 2024-05-19 20:38:06 +03:00
a66901b00d
b/c...py: use subprocess.run instead of os.system 2024-05-19 20:29:13 +03:00
12b85ce454
fwrite_le.c: optimize for step or size equal to 1 2024-05-19 14:23:50 +03:00
9495b0a23e
fwrite_le.*: refactor 2024-05-19 13:58:26 +03:00
7efc6b77f5
template.c: fix MAX calculation 2024-05-19 13:21:09 +03:00
3217ac0763
template.c: restore missing newline character 2024-05-19 13:05:38 +03:00
9be6408890
b/c...py: optimize adding . before paths 2024-05-19 12:46:19 +03:00
162e6b880c
template.c: reformat 2024-05-19 12:39:18 +03:00
91dddefc7b
b/c...py: fix terminology: Solve -> Resolve 2024-05-19 12:35:18 +03:00
0be65f7dd2
move *.h to include/ 2024-05-19 12:34:15 +03:00
4b8211dd1a
template.c: explain sample data length subtraction 2024-05-19 12:10:31 +03:00
110b065459
template.c: stringize integers where applicable 2024-05-19 12:02:14 +03:00
c76c809d2a
separate WAVE product value and generation length 2024-05-19 11:41:52 +03:00
e4a64e1ac6
template.c: optimize printf(..."\n") to puts(...) 2024-05-19 11:32:21 +03:00
2c4101ae82
template.c: fix ChunkSize file size 2024-05-19 11:25:23 +03:00
e7fd7131d1
bytebeat_compiler.py: fix wav_product calculation 2024-05-19 10:57:33 +03:00
fa1180e222
template.c: optimize a printf call 2024-05-19 10:37:40 +03:00
b8b2719349
bytebeat_compiler.py: return the exit code the compiler returns 2024-04-14 16:28:21 +03:00
43e4b6f6a9
template.c: ceil division result when finding minimum byte amount 2024-04-14 16:09:37 +03:00
c6d6759ffc
template.c: main: use return instead of exit() 2024-04-14 16:05:07 +03:00
102618a21a
template.c: exit codes: use EXIT_SUCCESS instead of 0 2024-04-14 15:59:43 +03:00
697a4e8408
bytebeat_compiler.py: comment: enclose the word "return" in backticks 2024-04-14 12:30:44 +03:00
8e698c9f3b
bytebeat_compiler.py: auto-return: enclose bytebeat in parentheses 2024-04-14 12:29:12 +03:00
cc2974afe1
bytebeat_compiler.py: line width wrap at 80 characters 2024-04-14 11:55:04 +03:00
c3a2de8333
C: precalculate PRODUCT in the Python script 2024-04-14 11:47:51 +03:00
c9825b9122
bytebeat_compiler.py: use cc instead of gcc as default compiler 2024-04-14 01:38:48 +03:00