Do DO servers have soundcards? If not how can I play audio?

  • Posted September 24, 2014

The program ‘beep’ seems to run, but I don’t hear anything. Where is the sound going? If I want to do work with playing midi (PortMidi) is this possible too?


Interesting question.

Do you want to play a song for DO server maintenance staffs, when you accessing it remotely?

@marksantolucito I don’t think DO server will have any virtual sound device on it, /proc/asound is absent on my droplet.

Found this question, seems it is not answered, good luck

@Tony haha forgot to mention I’m trying to port the audio though X window.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

To enable sound, you need to load a “dummy” sound card. You can do this with:

sudo modprobe snd-dummy

After doing so, you’ll notice that /proc/asound becomes populated:

$ ls /proc/asound
card0  cards  devices  Dummy  modules  pcm  seq  timers  version

You’ll also want to install alsa-base as it is not included on Ubuntu Server by default:

sudo apt-get install alsa-base

This comment has been deleted