LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   TRANSCRIBER - Could not gain access to /dev/sound/dsp (https://www.linuxquestions.org/questions/linux-newbie-8/transcriber-could-not-gain-access-to-dev-sound-dsp-4175677830/)

jeroni 06-29-2020 12:17 PM

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!

rnturn 06-29-2020 11:20 PM

Quote:

Originally Posted by jeroni (Post 6139343)
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...

jeroni 06-30-2020 04:14 AM

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..

rnturn 07-01-2020 01:32 AM

Quote:

Originally Posted by jeroni (Post 6139609)
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...

jeroni 07-01-2020 04:57 AM

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...

rnturn 07-02-2020 05:17 PM

Quote:

Originally Posted by jeroni (Post 6140069)
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.

jeroni 07-03-2020 08:16 AM

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


All times are GMT -5. The time now is 06:47 PM.