wavesurfer cant find /dev/sound/dsp

Asked by Jont Allen

I installed wavesurfer for ubuntu, but when I try to play a sound (wav file) it gives an error message that /dev/sound/dsp
is not available, which is true. I dont see any config option to change/fix this.
Suggestions?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wavesurfer Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Letzeisen
Solved:
Last query:
Last reply:
Revision history for this message
Best Daniel Letzeisen (dtl131) said :
#1

Use padsp to emulate the OSS /dev/dsp device:
padsp wavesurfer

Revision history for this message
Jont Allen (jontallen) said :
#2

Yes I did try that, but I'm not sure how exactly.
I tried to make an alias from "play" to "padsp aplay"
however that did not work. wavesurfer is a tktcl application, and I was chunking around trying to figure out
how it works. I saw several calls to "play" which I guess is a sox application. I could install sox, but that seems to not
deal with the basic issue that there is no /dev/sound/dsp device availible in ubuntu.

Since wavesurfer is looking for this device, how do I use padsp to provide that device? Do you know?

Thanks for your response in any case.

Jont

Revision history for this message
Daniel Letzeisen (dtl131) said :
#3

>> I tried to make an alias from "play" to "padsp aplay"
Don't do that.

>> Since wavesurfer is looking for this device, how do I use padsp to provide that device?
You use the command:
padsp wavesurfer

Does that command not work?

Revision history for this message
Jont Allen (jontallen) said :
#4

I didnt understand yoru resp at first:
If I "alias" via ~/.bashrc
wavesurfer with
padsp wavesurfer
then that solves the problem.
Thank you. it seems to work just fine with that slight modification.

Problem solved.

Jont

Revision history for this message
Jont Allen (jontallen) said :
#5

Thanks Daniel Letzeisen, that solved my question.

Revision history for this message
purnendu (pbacharyaa) said :
#6

i am using wavesurfer in ubuntu 10.04, when i an trying to play any sound then the wave is successfully loaded but after clicking play
error comes as
cant gain access to dev/sound/dsp for writting

Revision history for this message
Daniel Letzeisen (dtl131) said :
#7

You use the command:
padsp wavesurfer

Does that command not work?