linux: can,t open /dev/dsp

hello

i am getting an error while running the festival in my system as "linux: can,t open /dev/dsp"

i was googling for this error in internet

To solve this problem just write this .festivalrc in your home directory.

(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)

but i don't have any document like .festivalrc in home dirctory
i was created one document in home directory with file name .festivalrc
and i copied above two lines in that document and saved

but it is not working

please can any one help me

thanks in advance
It most likely has to do with permissions on the file. Typically only root can access a directory like that. I would suggest change the permissions on it by starting your file manager as root. Right clicking the directory and giving read and write access to all users. Or if the directory does not exist create it with the following command: sudo mkdir /dev/dsp
or use sudo festival assuming "festival" is the name of the program. This will run festival as root.
Topic archived. No new replies allowed.