Update: Well I've done soem more digging, and I've found out that /dev/dsp is based on the OSS (Open Sound System), which Ubuntu doesn't use anymore. Ubuntu now uses ALSA (Advanced Linux Sound Architecture), which has a different setup (no idea what). Based on that, I came across a directory which might contain my solution(?): /proc/asound
Any ideas? Am I heading in the right direction?? I just need to find some way to do this exercise (writing raw text data for output) on my system..