forked from mordak/playbook-dev-tools
-
Notifications
You must be signed in to change notification settings - Fork 10
play audio through cli
Olivier Kaloudoff edited this page Feb 11, 2024
·
2 revisions
bash-5.0$ unzip packages/lib-nixtla-audio.zip Archive: packages/lib-nixtla-audio.zip inflating: bin/demoPlayWav inflating: bin/demoCaptureEco inflating: lib/libnixtla-audio.so bash-5.0$ export LD_LIBRARY_PATH=~/lib bash-5.0$ demoPlayWav /usr/share/sounds/notification_download_complete.wav WAV file loaded. Source(1) assigned and retained. Buffer(1) loaded with data and retained. Buffer(1) linked with source(1).echo 'msg::set_output_level\nid::1\ndat:json:{"name":"headset", "level":75}' >> /pps/services/audio/control
echo 'msg::set_output_level\nid::1\ndat:json:{"name":"speaker", "level":75}' >> /pps/services/audio/control