135 | | Even though there is no sound card on the nodes, it is still possible to listen to sounds generated by the nodes. |
| 135 | Even though there is no sound card on the nodes, it is still possible to listen to sounds generated by the nodes. Our particular implementation uses NAS (Network Audio System) to move sound from the node (client) to a local machine (server). Before we run audio examples, we must make sure remote audio is working by itself. |
| 136 | |
| 137 | To get remote audio working: |
| 138 | 1. Tunnel from local machine to node. The default port to enable is 8000. |
| 139 | 2. Install and run nasd (server) on the local machine. The local machine should have a way to play sounds locally (soundcard). |
| 140 | 3. Install NAS, set AUDIOSERVER, and run auinfo (client) on the remote machine. There should be an output describing all potential audio outputs on the local machine running nasd. Running auinfo is simply a means of checking if the remote connection is working as intended. You can also try "auplay FILE" to actually play sounds remotely. |
| 141 | 4. Modify the gnuradio audio scripts to use NAS libraries. Image "gnuradio_audio.ndz" already has modified audio blocks. Note: if you use the custom image, OSS audio is disabled. |
| 142 | 5. Run any example scripts from /gnuradio-examples/python/audio (mono_tone.py, dial_tone.py preferred). Also, any gnuradio script which outputs to audio_sink will work. |