Play local audio on remote computer (Linux)











up vote
1
down vote

favorite
1












Is it possible to transfer audio from my local computer to a remote one, eg through SSH?



I know this transfers mic to other computer



dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp


but as I didn't invent that my self I honestly don't know how to apply that for playing music?










share|improve this question






















  • Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things.
    – nerdwaller
    Oct 25 '12 at 19:37















up vote
1
down vote

favorite
1












Is it possible to transfer audio from my local computer to a remote one, eg through SSH?



I know this transfers mic to other computer



dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp


but as I didn't invent that my self I honestly don't know how to apply that for playing music?










share|improve this question






















  • Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things.
    – nerdwaller
    Oct 25 '12 at 19:37













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





Is it possible to transfer audio from my local computer to a remote one, eg through SSH?



I know this transfers mic to other computer



dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp


but as I didn't invent that my self I honestly don't know how to apply that for playing music?










share|improve this question













Is it possible to transfer audio from my local computer to a remote one, eg through SSH?



I know this transfers mic to other computer



dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp


but as I didn't invent that my self I honestly don't know how to apply that for playing music?







linux ssh audio






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 25 '12 at 9:42









David Thorisson

12827




12827












  • Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things.
    – nerdwaller
    Oct 25 '12 at 19:37


















  • Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things.
    – nerdwaller
    Oct 25 '12 at 19:37
















Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things.
– nerdwaller
Oct 25 '12 at 19:37




Do you want to transfer the audio file, or play it through the other computer's speakers? Playing it appears to be the intention, but I wanted to clarify before suggesting things.
– nerdwaller
Oct 25 '12 at 19:37










3 Answers
3






active

oldest

votes

















up vote
0
down vote













Do you want to play it through your computer's speakers (as opposed to the remote computer's speakers)? This question on superuser.com may shed some light on it. Forwarding audio like X in SSH






share|improve this answer






























    up vote
    0
    down vote













    Well you can use mpd for remote playing, but it works like this: you set up the mpd server on one computer, where your mp3/ogg collection sits, and then you can use a mpd client (such as sonata) on another computer where you play the music.



    It all depends on where you want to control the playback - on the server (where the music library sits) or on the client (where you have the speakers connected). If you want control on the client, mpd is your buddy.



    If, on the other hand you just want a dummy pc with speakers connected and you want to control what's playing from another pc with the music library, then you should try icecast I think, although I haven't tried it yet.



    Or, a third way, you have the library and speakers on one pc, and just control everything from a different pc. This would be best done by an mpd config where the client and the server are on one pc (the one with the library and the speakers) and you just ssh into it and use a console client to just control the music (console mpd clients: mpc, ncmpcpp - my favorite).



    I can think of another config: one pc to control the music, one pc with the speakers and a third pc (NAS most likely) which holds the music library in the network - this is easily doable with mpd too.






    share|improve this answer




























      up vote
      0
      down vote













      The question is a bit dated, but in 2018 on a Linux system, the simplest method would be to use Pulseaudio: Either directly connect to the remote Pulseaudio server, or make a local sink that is connected to a remote source (module-tunnel-*). Other options are to use audio streaming protocols inside or outside Pulseaudio, like NTP (module-rtp-) or ROAP (Apple AirPort, module-roap-*).



      More details for the setup for the various alternatives are e.g. described here. Also see the Pulseaudio module page.






      share|improve this answer





















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f492640%2fplay-local-audio-on-remote-computer-linux%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        0
        down vote













        Do you want to play it through your computer's speakers (as opposed to the remote computer's speakers)? This question on superuser.com may shed some light on it. Forwarding audio like X in SSH






        share|improve this answer



























          up vote
          0
          down vote













          Do you want to play it through your computer's speakers (as opposed to the remote computer's speakers)? This question on superuser.com may shed some light on it. Forwarding audio like X in SSH






          share|improve this answer

























            up vote
            0
            down vote










            up vote
            0
            down vote









            Do you want to play it through your computer's speakers (as opposed to the remote computer's speakers)? This question on superuser.com may shed some light on it. Forwarding audio like X in SSH






            share|improve this answer














            Do you want to play it through your computer's speakers (as opposed to the remote computer's speakers)? This question on superuser.com may shed some light on it. Forwarding audio like X in SSH







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 20 '17 at 10:16









            Community

            1




            1










            answered Oct 26 '12 at 19:30









            BenjiWiebe

            6,53393458




            6,53393458
























                up vote
                0
                down vote













                Well you can use mpd for remote playing, but it works like this: you set up the mpd server on one computer, where your mp3/ogg collection sits, and then you can use a mpd client (such as sonata) on another computer where you play the music.



                It all depends on where you want to control the playback - on the server (where the music library sits) or on the client (where you have the speakers connected). If you want control on the client, mpd is your buddy.



                If, on the other hand you just want a dummy pc with speakers connected and you want to control what's playing from another pc with the music library, then you should try icecast I think, although I haven't tried it yet.



                Or, a third way, you have the library and speakers on one pc, and just control everything from a different pc. This would be best done by an mpd config where the client and the server are on one pc (the one with the library and the speakers) and you just ssh into it and use a console client to just control the music (console mpd clients: mpc, ncmpcpp - my favorite).



                I can think of another config: one pc to control the music, one pc with the speakers and a third pc (NAS most likely) which holds the music library in the network - this is easily doable with mpd too.






                share|improve this answer

























                  up vote
                  0
                  down vote













                  Well you can use mpd for remote playing, but it works like this: you set up the mpd server on one computer, where your mp3/ogg collection sits, and then you can use a mpd client (such as sonata) on another computer where you play the music.



                  It all depends on where you want to control the playback - on the server (where the music library sits) or on the client (where you have the speakers connected). If you want control on the client, mpd is your buddy.



                  If, on the other hand you just want a dummy pc with speakers connected and you want to control what's playing from another pc with the music library, then you should try icecast I think, although I haven't tried it yet.



                  Or, a third way, you have the library and speakers on one pc, and just control everything from a different pc. This would be best done by an mpd config where the client and the server are on one pc (the one with the library and the speakers) and you just ssh into it and use a console client to just control the music (console mpd clients: mpc, ncmpcpp - my favorite).



                  I can think of another config: one pc to control the music, one pc with the speakers and a third pc (NAS most likely) which holds the music library in the network - this is easily doable with mpd too.






                  share|improve this answer























                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    Well you can use mpd for remote playing, but it works like this: you set up the mpd server on one computer, where your mp3/ogg collection sits, and then you can use a mpd client (such as sonata) on another computer where you play the music.



                    It all depends on where you want to control the playback - on the server (where the music library sits) or on the client (where you have the speakers connected). If you want control on the client, mpd is your buddy.



                    If, on the other hand you just want a dummy pc with speakers connected and you want to control what's playing from another pc with the music library, then you should try icecast I think, although I haven't tried it yet.



                    Or, a third way, you have the library and speakers on one pc, and just control everything from a different pc. This would be best done by an mpd config where the client and the server are on one pc (the one with the library and the speakers) and you just ssh into it and use a console client to just control the music (console mpd clients: mpc, ncmpcpp - my favorite).



                    I can think of another config: one pc to control the music, one pc with the speakers and a third pc (NAS most likely) which holds the music library in the network - this is easily doable with mpd too.






                    share|improve this answer












                    Well you can use mpd for remote playing, but it works like this: you set up the mpd server on one computer, where your mp3/ogg collection sits, and then you can use a mpd client (such as sonata) on another computer where you play the music.



                    It all depends on where you want to control the playback - on the server (where the music library sits) or on the client (where you have the speakers connected). If you want control on the client, mpd is your buddy.



                    If, on the other hand you just want a dummy pc with speakers connected and you want to control what's playing from another pc with the music library, then you should try icecast I think, although I haven't tried it yet.



                    Or, a third way, you have the library and speakers on one pc, and just control everything from a different pc. This would be best done by an mpd config where the client and the server are on one pc (the one with the library and the speakers) and you just ssh into it and use a console client to just control the music (console mpd clients: mpc, ncmpcpp - my favorite).



                    I can think of another config: one pc to control the music, one pc with the speakers and a third pc (NAS most likely) which holds the music library in the network - this is easily doable with mpd too.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Oct 26 '12 at 19:30









                    Piotr Kempa

                    21912




                    21912






















                        up vote
                        0
                        down vote













                        The question is a bit dated, but in 2018 on a Linux system, the simplest method would be to use Pulseaudio: Either directly connect to the remote Pulseaudio server, or make a local sink that is connected to a remote source (module-tunnel-*). Other options are to use audio streaming protocols inside or outside Pulseaudio, like NTP (module-rtp-) or ROAP (Apple AirPort, module-roap-*).



                        More details for the setup for the various alternatives are e.g. described here. Also see the Pulseaudio module page.






                        share|improve this answer

























                          up vote
                          0
                          down vote













                          The question is a bit dated, but in 2018 on a Linux system, the simplest method would be to use Pulseaudio: Either directly connect to the remote Pulseaudio server, or make a local sink that is connected to a remote source (module-tunnel-*). Other options are to use audio streaming protocols inside or outside Pulseaudio, like NTP (module-rtp-) or ROAP (Apple AirPort, module-roap-*).



                          More details for the setup for the various alternatives are e.g. described here. Also see the Pulseaudio module page.






                          share|improve this answer























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            The question is a bit dated, but in 2018 on a Linux system, the simplest method would be to use Pulseaudio: Either directly connect to the remote Pulseaudio server, or make a local sink that is connected to a remote source (module-tunnel-*). Other options are to use audio streaming protocols inside or outside Pulseaudio, like NTP (module-rtp-) or ROAP (Apple AirPort, module-roap-*).



                            More details for the setup for the various alternatives are e.g. described here. Also see the Pulseaudio module page.






                            share|improve this answer












                            The question is a bit dated, but in 2018 on a Linux system, the simplest method would be to use Pulseaudio: Either directly connect to the remote Pulseaudio server, or make a local sink that is connected to a remote source (module-tunnel-*). Other options are to use audio streaming protocols inside or outside Pulseaudio, like NTP (module-rtp-) or ROAP (Apple AirPort, module-roap-*).



                            More details for the setup for the various alternatives are e.g. described here. Also see the Pulseaudio module page.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Feb 10 at 19:43









                            dirkt

                            8,92731121




                            8,92731121






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f492640%2fplay-local-audio-on-remote-computer-linux%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Plaza Victoria

                                Puebla de Zaragoza

                                Musa