2023-11-18 16:50:27 +05:30
|
|
|
## Example usage
|
|
|
|
|
|
|
|
```text
|
2023-11-25 23:33:27 +05:30
|
|
|
$ echo 't&((t>>7)-t)&t>>8' | python ./bytebeat_compiler.py - -p 44100 -v && ./build/render_bytebeat
|
2023-11-17 00:31:41 +05:30
|
|
|
Compiling
|
|
|
|
:: C bytebeat generator runtime unit
|
|
|
|
|
|
|
|
Sample rate: 44100 Hz
|
|
|
|
Channels: 1 (mono)
|
|
|
|
Bit depth: unsigned 8-bit
|
|
|
|
Duration: 30 seconds
|
|
|
|
|
|
|
|
remaining samples = 0 (100.00% done)
|
|
|
|
Writing out file output.wav...
|
|
|
|
Done!
|
|
|
|
|
|
|
|
$
|
2023-11-18 16:50:27 +05:30
|
|
|
```
|