caw/README.md

62 lines
1.3 KiB
Markdown
Raw Normal View History

# __caw__ audio processing program
2022-06-12 21:59:20 +00:00
# Installation
2022-06-12 21:59:20 +00:00
## Prerequisites:
2022-06-12 21:59:20 +00:00
Fedora
```
sudo dnf install autoconf autoconf-archive automake libtool gcc-c++ gdb fftw-devel alsa-lib-devel libwebsockets-devel libubsan
```
2022-06-12 21:59:20 +00:00
Ubuntu
```
sudo apt install autoconf libtool fftw-dev libwebsockets-dev libatlas-base-dev libasound2-dev libubsan1
```
## Build
2024-10-12 19:40:07 +00:00
Get the project code
```
cd ~/src
git clone http://gitea.larke.org/kevin/caw.git
cd caw/src
git clone http://gitea.larke.org/kevin/libcw.git
cd libcw
git switch poly
```
Debug Build
```
cd caw/build/linux/debug
./build.sh # Generates and runs caw/configure
make
make install # installs into caw/build/linux/debug/bin
```
Release Build
```
cd caw/build/linux/release
./build.sh # generates and runs caw/configure
make
make install # installs into caw/build/linux/release/bin
```
2022-06-12 21:59:20 +00:00
2024-12-01 19:54:37 +00:00
## Command Line
```
caw ui <program_cfg_fname> {<program_label>} : Run with a GUI.
caw exec <program_cfg_fname> <program_label> : Run without a GUI.
caw hw_report <program_cfg_fname> : Print the hardware details and exit.
caw test <test_cfg_fname> (<module_label> | all) (<test_label> | all) (compare | echo | gen_report )* {args ...}
caw test_stub ...
```
Test Example Command line
```
caw test ~/src/cwtest/src/cwtest/cfg/main.cfg /time all echo
```