For what it is worth, I also wanted sounds and the like to my BBBk, I like to have some form of Audio notification, when I do something lets say with a remote control, to let me know that it was received.
More details on how (readme.md) I set it up, plus code are up on my Raspberry Pi project (
https://github.com/KurtE/Raspberry_Pi)
Since there is no Sound output plug on the BBBk, I used a real cheap USB sound adapter, plus a cheap powered speaker.
I then installed PCM (on RPI and now Debian can just do sudo apt-get ... earlier on BBBk had to download and build sources.
Once you have PCM installed, need to configure to output to the device instead of the default of HDMI.
I then have a function(
https://github.com/KurtE/Raspberry_Pi/blob/master/library/msound.cpp) , that I can pass in how many notes to play, followed by the notes, with a call like: MSound(3, 60, 2000, 80, 2250, 100, 2500);
(play 3 notes, first one 60ms with 200hz...) The code creates a sound buffer with the sine wave for that hz and repeats it so many times...
Probably not the greatest approach, but it has worked for me.
Kurt