20 lines
373 B
Markdown
20 lines
373 B
Markdown
## Example usage
|
|
|
|
```text
|
|
$ echo 't&((t>>7)-t)&t>>8' | python ./bytebeat_compiler.py - -p 44100 -v
|
|
:: C bytebeat generator: compiler unit
|
|
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!
|
|
|
|
$
|
|
```
|