1
0
Commit Graph

90 Commits

Author SHA1 Message Date
7934deac9e
template.c: fix CLI 2024-01-09 23:23:31 +03:00
0654aec5d1
bytebeat_render.c: add custom output 2024-01-09 20:04:33 +03:00
564a9c11d8
template.c: generate bytebeat after opening file 2024-01-09 19:52:15 +03:00
a48567f4fa
template.c: output ANSI_CLEAR only in non-silent mode 2024-01-09 19:47:04 +03:00
2f2b44de76
template.c: IS_SIGNED check: make compile-time 2024-01-09 19:24:34 +03:00
19b2edfc4b
template.c: extract/optimize BIT_DEPTH / 8 2024-01-09 18:37:32 +03:00
3d9a39a85c
fixup for 2f346e7f5f 2024-01-09 18:15:50 +03:00
fad6b895bb
b/c...py: extract sample rate conv. optimizations 2024-01-09 18:14:32 +03:00
2f346e7f5f
template.c: extract return type setting 2024-01-09 17:35:27 +03:00
2e701099d0
template.c: reformat: remove empty line 2024-01-09 17:18:18 +03:00
059501dcc6
template.c: reformat 2024-01-09 17:17:17 +03:00
eb531a2fe7
template.c: bit depth < 8: fix the bug 2024-01-09 17:16:15 +03:00
f067b87ba9
template.c: optimize PRODUCT - 1 2024-01-09 16:43:22 +03:00
c2791ce3fc
template.c: clarify the order of operations (2) 2024-01-09 16:40:47 +03:00
0b5f018e4f
template.c: clarify the comment 2024-01-09 16:40:03 +03:00
14ed1d976a
template.c: clarify the order of operations 2024-01-09 16:38:30 +03:00
b50915aed6
template.c: reformat 2024-01-09 15:42:43 +03:00
918361489c
template.c: remove junk 2024-01-09 15:14:34 +03:00
08a7c255db
fwrite_le.*: optimize, extract a function 2024-01-02 00:19:51 +03:00
b3a635076b
fwrite_le.c: optimize for FWRITE_LE_NO_MODIFICATION case 2023-12-31 15:38:28 +03:00
ff5608e0d0
C: add fwrite_le.*, correct include var. in template 2023-12-31 15:19:42 +03:00
df91110d80
template.c: add support for big-endian machines 2023-12-30 15:31:11 +03:00
9a344bd50c
template.c: correct endianness of buffer_size 2023-12-30 14:15:42 +03:00
793983a2b8
template.c: simplify conditional compilation 2023-12-29 19:06:17 +03:00
f3f3d49bfa
template.c: reformat (omit curly brackets) 2023-12-25 00:22:12 +03:00
da3b0e8e40
add CLI argument -l / --samples, adjust logic
bytebeat_compiler.py: add argument `-l` / `--samples` and additional logic

src/template.c:
1. Transform parameter `SECONDS` into `LENGTH`; change `PRODUCT` formula
   respectively
2. Show count of samples in non-silent mode
2023-12-03 15:43:40 +03:00
5eb82bc133
template.c: add verbose mode and update usage
src/template.c: Add verbose mode
EXAMPLE_USAGE.md: Update example usage
2023-11-25 21:03:31 +03:00
976b7468cc
template.c: improve silent mode
src/template.c:
1. Improve silent mode (the program doesn't output anything to STDOUT in
   silent mode now)
2. Use conditional compilation for silent mode
2023-11-25 20:50:28 +03:00
3acc0be646
template.c: port all CLI arguments into the script
src/template.c:
1. Port all command line arguments into script `bytebeat_generator.py`
2. Remove the submodule lib/c-argh
2023-11-25 20:34:16 +03:00
64cfda4a33
template.c: remove "debug mode" 2023-11-25 20:14:05 +03:00
24dc6a338e
code substitution: fix formatting 2023-11-25 17:28:22 +03:00
96dfcac873
template.c: recalculate file size 2023-11-22 18:33:17 +03:00
e657f21f37
template.c: make byte_rate a 32-bit variable 2023-11-21 19:17:50 +03:00
3517473605
make use of C-Argh library (#5) 2023-11-21 19:06:12 +03:00
7a2073c2ef
template.c: more manual formatting 2023-11-18 23:38:20 +03:00
adad4dcb24
template.c: refactor code and change initial type of w 2023-11-18 20:05:55 +03:00
de7e641abb
template.c: remove function random 2023-11-18 20:03:13 +03:00
8bc7c712b7
template.c: reformat and add more comments 2023-11-18 19:57:57 +03:00
1183fdb696
implement final simple rate conversion during generation (#3) 2023-11-18 14:15:48 +03:00
b68a426b92
major refactor 2023-11-16 23:34:35 +03:00