No sound since yesterday (Alsa problem) <Solved>

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
MPXY
Posts: 9
Joined: Mon Aug 03, 2020 4:31 am
Been thanked: 5 times

No sound since yesterday (Alsa problem) <Solved>

Post by MPXY »

Hello,

after I tried the Simple Alsa Audio Recorder yesterday, the sound is completely gone in tahrpup64. Apparently the asoundrc was changed yesterday. Today I deleted it and created a new one. This has only made things worse. Can someone please help me?

alsa-problem.png
alsa-problem.png (95.09 KiB) Viewed 189 times
retrovol.png
retrovol.png (3.18 KiB) Viewed 189 times
User avatar
rockedge
Site Admin
Posts: 5713
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1992 times
Been thanked: 2097 times
Contact:

Re: No sound since yesterday (Alsa problem)

Post by rockedge »

@MPXY Is this the program you are using? -> viewtopic.php?p=101448#p101448

MPXY
Posts: 9
Joined: Mon Aug 03, 2020 4:31 am
Been thanked: 5 times

Re: No sound since yesterday (Alsa problem)

Post by MPXY »

Yes, exactly that.

User avatar
rockedge
Site Admin
Posts: 5713
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1992 times
Been thanked: 2097 times
Contact:

Re: No sound since yesterday (Alsa problem)

Post by rockedge »

I will take a look when I return from an errand. Meanwhile perhaps @fredx181 and / or @mikewalsh will know some more details on what could go wrong.

MPXY
Posts: 9
Joined: Mon Aug 03, 2020 4:31 am
Been thanked: 5 times

Re: No sound since yesterday (Alsa problem)

Post by MPXY »

Thank you, that's really frustrating.

asoundrc.png
asoundrc.png (36.87 KiB) Viewed 173 times
asound.conf.png
asound.conf.png (9.96 KiB) Viewed 173 times
User avatar
mikewalsh
Moderator
Posts: 5575
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 570 times
Been thanked: 1681 times

Re: No sound since yesterday (Alsa problem)

Post by mikewalsh »

@MPXY :-

Well, since I'm the offending individual who put this one together(!), I suppose I ought to try and help troubleshoot your problem. Having said as much, however, all I did was to construct an easy-to-use GUI 'wrapper' around a core script that was long since developed by others that do actually know what they're doing.... :roll: :oops:

As it comes, OOTB, Tahr64 - like many other Pups - doesn't have an .asoundrc in /root. Once you've run the Simple Alsa Audio Recorder for the first time, you get a /root/.asoundrc file 'left over' (this is a 'generic' one that shouldn't interfere with anything).

Am I right in thinking that your current /root/.asoundrc is the one as posted above?

Code: Select all

pcm.!default pcm.Capture

pcm.Capture {
    type plug
    slave.pcm "Loop"
}

# duplex plug device
pcm.Loop {
    type plug
    slave {
      pcm {
         type asym
         playback.pcm "loopout"
         capture.pcm "loopin"
      }
    }
}

# output device
pcm.loopout {
    type dmix
    ipc_key 328211
    slave {
      pcm "hw:Loopback,0,0"
      #period_size 256
      #buffer_size 8192
    }
}

# input device
pcm.loopin {
    type dsnoop
    ipc_key 686592
    slave.pcm "hw:Loopback,1,0"
}

If that's the case, my guess is a simple one; you didn't shut things down in the correct order, so the "capture" .asoundrc never got reset back to the "base" .asoundrc.....and this is why you have no sound now. Because since /root/.asoundrc 'over-rides' /etc/asound.conf, your Puppy currently thinks it's trying to permanently record from the snd_aloop module....

(I'll be the first to admit; initially, the order of operation IS a wee bit 'fiddly'.....but once you've done this a few times, it becomes second nature, and you get used to the order in which things need to be done).

The 'HELP' file does explain the order:-

  • Fire up the utility

  • Click 'RECORD'. Wait for the terminal to appear

  • Now launch your audio source

  • Make sure the terminal is 'in focus', and hit 'Enter'

  • When recording has finished, enter Ctrl + 'c'. Now CLOSE the audio source

  • You can now use the other buttons on the GUI to listen to your recording, stop playback, save it, etc...

IF things are done in the correct order, the "capture" .asoundrc will be replaced by the "base" .asoundrc again. A re-written/over-written/replaced .asoundrc is perfectly normal for this app, and is to be expected; it's how the app works, after all!

(IF you get 'stuck' like this, just click the button in the bottom row marked "Reset cfg..."; this will 'reset' the .asoundrc file back to the 'base' copy. I cocked-up a couple of times myself when I was first messing around with this, so I thought a simple reset button might JUST come in handy for others, too..! :D )

Hopefully, use of the 'Reset' button can put things back to 'functional' again. A re-start of any audio source app will be necessary, of course, so that it then reads things correctly once more.

Let us know if that helps, please.

Mike. ;)

Puppy "stuff" ~ MORE Puppy "stuff" ~ ....and MORE! :D
_______________________________________________________

Image

MPXY
Posts: 9
Joined: Mon Aug 03, 2020 4:31 am
Been thanked: 5 times

Re: No sound since yesterday (Alsa problem)

Post by MPXY »

Hello,

many thanks for your offer of help.
I have followed your instructions but unfortunately without success. The reset button did not solve the problem either. I then booted up my laptop on which FocalFossa64 is installed. There is no asound.conf. in /etc and also no asoundrc in my home folder. I deleted these two files on my PC and then rebooted the system. That solved my problem.

Best regards

Marc

User avatar
rockedge
Site Admin
Posts: 5713
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1992 times
Been thanked: 2097 times
Contact:

Re: No sound since yesterday (Alsa problem)

Post by rockedge »

@MPXY Ist alles jetzt in Ordnung?

MPXY
Posts: 9
Joined: Mon Aug 03, 2020 4:31 am
Been thanked: 5 times

Re: No sound since yesterday (Alsa problem) <Solved>

Post by MPXY »

Ja, funktioniert wieder :) .

Post Reply

Return to “Users”