LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-29-2020, 12:17 PM   #1
jeroni
LQ Newbie
 
Registered: Jun 2020
Posts: 4

Rep: Reputation: Disabled
TRANSCRIBER - Could not gain access to /dev/sound/dsp


Hello.
I am still with problems in transcriber using latest version ubuntu 20.04 lts.

I checked several forums all I tried doesn t work. Also, I am a trollmatic so you got to really explain things otherwise i won t understand.

I can see transcriber has a problem because the icon image is not displayed properly in the left size bar as it should.

I used transcriber previously in other ubuntu version and it ran perfectly well.

Now, the only think that helps is "padsp transcriber" but after the program blocks and I have to kill it.

The original file was wma, i used "audacity" to convert into ogg and when opening file:

Could not gain access to /dev/sound/dsp for writing.Could not gain access to /dev/sound/dsp for writing.
Could not gain access to /dev/sound/dsp for writing.Could not gain access to /dev/sound/dsp for writing.
while executing
"player play -start [expr int($begin*$rate)] -end [expr int($end*$rate)]"
(procedure "PlayRange" line 56)
invoked from within
"PlayRange $pos $end $script"
(procedure "Play" line 64)
invoked from within
"Play"
(procedure "PlayOrPause" line 10)
invoked from within
"PlayOrPause"
invoked from within
".cmd.play invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0[list $w invoke]"
(procedure "tk::ButtonUp" line 22)
invoked from within
"tk::ButtonUp .cmd.play"
(command bound to event)


PLEASE, HELP!
 
Old 06-29-2020, 11:20 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,927

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
Quote:
Originally Posted by jeroni View Post
Hello.
I am still with problems in transcriber using latest version ubuntu 20.04 lts.

<snip>

The original file was wma, i used "audacity" to convert into ogg and when opening file:

Could not gain access to /dev/sound/dsp for writing.Could not gain access to /dev/sound/dsp for writing.
Could not gain access to /dev/sound/dsp for writing.Could not gain access to /dev/sound/dsp for writing.
while executing

<snip>
Transcriber sounds (no pun intended) like an interesting tool. Does it work in any way with Lilypond (music typesetting tool)?

But to stay on topic...

Are you able to play any sound files?

My OpenSUSE systems do not have a "/dev/sound/" hierarchy but do have a "/dev/snd/" populated with various sound device names. It might be that "transcriber" is looking for a location that simply does not exist.

But... I'm wondering if this isn't simply a permissions problem. Please post the permissions on the object "/dev/sound/dsp" on your system when you issue:
Code:
$ ls -l /dev/sound/dsp
Please remember to wrap the results in "code" tags. (Highlight the command line you used and the output text that resulted and click on the "pound sign" in the formatting tools above the message text window. Everyone appreciates posts that employ the code tags. In the future, you can type the code tags in by hand, if you like, once you see what they look like.)

Also, post the result when you issue:
Code:
$ groups
This will list the system groups your account is a member of. My guess is that you do not have the proper permissions to access the "/dev/sound/dsp". I'm not an Ubuntu user so I have no experience with what a typical Ubuntu user account looks like as far as its security settings. I'm going to guess that the "dsp" device is owned by a group that your account is not a member of, say, the "audio" group. If that's the case, you'll need to tweak your account to be a member of the group that owns "/dev/sound/dsp", log off, and log back in again. If you're running a GUI that means logging all the way out---not just from closing and re-opening a terminal window.

Good luck...

Last edited by rnturn; 06-29-2020 at 11:29 PM. Reason: Added comment about the sound device path.
 
Old 06-30-2020, 04:14 AM   #3
jeroni
LQ Newbie
 
Registered: Jun 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello!
Yes finally we are getting somewhere. Without the help of a friend of mine I am blocked in this little details, and sorry probably I should have register in ubuntuforum...
Anyway, here I am.

Firstly, yes the file is audible both in rhytmbox and audacity.
Then executing [QUOTE$ ls -l /dev/sound/dsp[/QUOTE]
It says in portuguese "it is impossible to access to 'dev/sound/dsp: File or paste nonexistent"

Executung groups it says
Quote:
ubuntu adm cdrom sudo dip plugdev lpadmin lxd sambashare
So probably you are right, but I didn't understood crapsy of your last instructions, and I recall is on Transcriber that i can't access to...

Thank you for your help, I am really close to deadline to terminate a project and this difficulties are really getting on my nerves..
 
Old 07-01-2020, 01:32 AM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,927

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
Quote:
Originally Posted by jeroni View Post
Firstly, yes the file is audible both in rhytmbox and audacity.
So you are able to play sound? That's a good sign.

Quote:
Then executing [QUOTE$ ls -l /dev/sound/dsp
It says in portuguese "it is impossible to access to 'dev/sound/dsp: File or paste nonexistent"
[/quote]
Hmm... I'd suggest using "ls" to check if you actually have a "sound" subdirectory under "/dev". If you don't see that directory, that could be the problem. If it's there, look at the contents of "/dev/sound" and check for that "dsp" device file. Based on the error message you saw from the "ls -l" command, it appears that some portion of that "/dev/sound/dsp" path doesn't exist on your system.

NOTE: FYI: I do not have a "/dev/sound" directory though I do have "/dev/snd". (But I have no "/dev/snd/dsp" file. Sound works fine, though.) If you see "/dev/snd" on your system, perhaps the configuration of Transcribe has been mistakenly been set to look for a non-existent "/dev/sound/dsp" device file. The Transcribe FAQ mentions the "Preferences->Playback" menu. Have you seen that? If Rhythmbox and Audacity are able to play sound files, go into the configuration settings for those applications and write down what sound device they've been configured to use. Specify that same sound device in Transcribe. If sound still isn't working after updating the device name in Transcribe, there still may be a permissions problem to work out.


HTH and good luck...
 
Old 07-01-2020, 04:57 AM   #5
jeroni
LQ Newbie
 
Registered: Jun 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello again!

Thank you for your help, but I honestly don't understand. I need instruction and a command line for those settings otherwise I can't reach there.

Anyway, you must note there is "transcribe!" (which is not longer maintained) and "Transcriber" which is a very powerful tool and has been very useful to me and which I will support back on due time.

Probably I will register and post this information on ubuntuforum in a post that exists already but whose answers didn't solve my problem...
 
Old 07-02-2020, 05:17 PM   #6
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,927

Rep: Reputation: 306Reputation: 306Reputation: 306Reputation: 306
Quote:
Originally Posted by jeroni View Post
Hello again!

Thank you for your help, but I honestly don't understand. I need instruction and a command line for those settings otherwise I can't reach there.
I would suggest looking around for a good tutorial on Linux basics. You'll find it useful in the long run.

Quote:
Anyway, you must note there is "transcribe!" (which is not longer maintained) and "Transcriber" which is a very powerful tool and has been very useful to me and which I will support back on due time.
I noticed that. I've seen at one post lamenting that (assuming we're talking about the same software) transcriber hasn't had any updates for quite some time as well (2005?).

Anyway... good luck.
 
Old 07-03-2020, 08:16 AM   #7
jeroni
LQ Newbie
 
Registered: Jun 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you Senior Member,
I already posted the problem in ubuntuforum, lets see if someone replies.
I will try to improve my skills but its quite unlikely, I prefer to know someone who can solve this kind of problems, the thing is that this is a mini-desktop and a little more difficult to carry. I bought it brand new and asked to install directly ubuntu! No regrets on that! Cheers
Take care,
Jeronimo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Old app wants /dev/dsp - dsp's busy [resolved - gstreamer backend's better than xine] black hole sun Slackware 1 11-10-2009 04:09 AM
Free music transcriber for openSuse?.. mariotski Linux - Software 2 05-01-2007 04:54 PM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 11:33 AM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 12:27 PM
Sound Problem: /dev/dsp could not be opened webzila Linux - Hardware 3 11-25-2005 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration