By JNalv
I know it sounds silly, but I’d like to run the ‘say’ command from my droplet — you can save the output by adding ‘-o filename.aiff’, and I’d like to use those files for my app. It’s simpler than using a text-to-speech API from elsewhere, and I like the stock voices.
Understandably, my droplet doesn’t have the correct drivers. I get the following error:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
audio_open_alsa: failed to open audio device default. No such file or directory
I tried installing the ALSA drivers and libraries, but it still doesn’t work. I’ve exhausted my own knowledge here — does anyone have any advice?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Check out ALSA’s dummy driver http://www.alsa-project.org/main/index.php/Matrix:Module-dummy
Hrm this is proving to be fairly tricky — have you ever done this successfully on a droplet yourself?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.