Skip to content

play audio through cli

Olivier Kaloudoff edited this page Mar 17, 2023 · 2 revisions

Listening to a WAV file through bb10 terminal (tested with Term48)

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).