MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Speaker sound after copying SD card

    Scheduled Pinned Locked Moved Forum
    2 Posts 2 Posters 18 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      MilkShake
      last edited by

      Hi,
      Can someone help troubleshoot my sound settings on my RPI4 with Raspbian OS? I use the MMM-Sounds module to trigger sounds at different events, but since copying the SD card to a new one, it seems to have lost the ability to play wav files. Cannot remember how I used to set it up!

      When i do Aplay sound.wav nothing happens it plays the wav with no sound.

      When I do aplay -l:

      card 2: Device [USB2.0 Device], device 0: USB Audio [USB Audio]
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      

      When I do:

      speaker-test -c2 -twav -l7 -D plughw:2,0

      the speaker outputs front left…front right…front left…etc. so I know it is working.

      Thanks a lot for the help!

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @MilkShake
        last edited by

        @MilkShake try
        aplay -D plughw:2,0 xxx.wav

        If you make an ~/.asoundrc
        You should be able to set the default output device
        Notice the . In front

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy