Re: How to forward FreeRunner's audio ?
Am 21.06.2011 um 21:26 schrieb Gennady Kupava: > I did it in other direction (freerunner as network headphones) and pulseaudio > performance were excellent, only thing you need is to select right > mixer, one without floating point calculations. Sounds interesting, could you provide more details, please? > Only problem i faced after upgrade - it stopped working due to some arm > segfault, don't know may be this already fixed. Newer versions of PA actually broke compatibility with armv4 completely as they're using some v5-only instructions in the optimized arm assembly code. :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
I did it in other direction (freerunner as network headphones) and pulseaudio performance were excellent, only thing you need is to select right mixer, one without floating point calculations. Other direction worked well too i think. Only problem i faced after upgrade - it stopped working due to some arm segfault, don't know may be this already fixed. Gennady В Пнд, 20/06/2011 в 12:03 +0200, Dr. Michael Lauer пишет: > Pulseaudio could indeed do what you're after, however > we had to remove pulseaudio from the SHR distribution > due to its abysmal performance on armv4. > > :M: > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
Thanks, I'm waiting the higher performance GTA04, and more stable pulseaudio. [?] On Wed, Jun 22, 2011 at 5:21 PM, Giovanni wrote: > OK, thanks > > giovanni > > > > On Wed, Jun 22, 2011 at 11:15 AM, YoYo Siska wrote: > >> On Tue, Jun 21, 2011 at 10:55:05PM +0200, Giovanni wrote: >> > On Tue, Jun 21, 2011 at 7:43 PM, YoYo Siska wrote: >> > >> > > On Mon, Jun 20, 2011 at 02:58:39PM +0800, Fong Yuenshu wrote: >> > > > case 1: >> > > > I forward Xwindow to my Laptop already, when I dial someone on >> > > Laptop, >> > > > but the sound came out from FR, and use FR's MIC. >> > > > So, in this case, I want forward "FR's sound" to Laptop, and >> > > "Laptop's >> > > > MIC" to FR. >> > > > >> > > > case 2: >> > > > One of my desktop computer have no sound box, hence, I want >> forward >> > > > "Desktop's sound" to FR. >> > > >> > > I did this when I forgot my normal earphones at home and took only the >> FR >> > > headset ... >> > > you can just install esd (esound) on FR (last time i tried it, it >> was >> > > in the shr feeds, but that was at least a year back), run it, connect >> FR >> > > to the laptop and run mplayer -ao esd:192.168.1.202 file.mp3 >> > > >> > >> > The "file.mp3" is on the FR, isn't it? What is the exact syntax to >> access it >> > from the laptop? >> > >> > mplayer -ao esd:192.168.1.202 /file.mp3 >> > >> > best regards >> > giovanni >> >> >> that was for the second case, ie you want to play a file / something on >> your laptop, but you want the sound to come out of FR's >> speaker/headset... (otherwise you could just run mplayer on FR ;) >> >> also for mp3 you could just stream the file to the FR and decode/play it >> there (see the other reply), this was meant more for movies/interactive >> apps that you want to run/see on your laptop... (though most apps now >> don't support esd, so you would have to get pulse working...) >> >> to access files from moko on laptop, you can always use sshfs: >> mkdir ~/neo >> sshfs 192.168.1.202:/ ~/neo >> (enter passwd, or set up ssh keys) >> >> >> yoyo >> >> ___ >> Openmoko community mailing list >> community@lists.openmoko.org >> http://lists.openmoko.org/mailman/listinfo/community >> > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > > <<330.gif>>___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
OK, thanks giovanni On Wed, Jun 22, 2011 at 11:15 AM, YoYo Siska wrote: > On Tue, Jun 21, 2011 at 10:55:05PM +0200, Giovanni wrote: > > On Tue, Jun 21, 2011 at 7:43 PM, YoYo Siska wrote: > > > > > On Mon, Jun 20, 2011 at 02:58:39PM +0800, Fong Yuenshu wrote: > > > > case 1: > > > > I forward Xwindow to my Laptop already, when I dial someone on > > > Laptop, > > > > but the sound came out from FR, and use FR's MIC. > > > > So, in this case, I want forward "FR's sound" to Laptop, and > > > "Laptop's > > > > MIC" to FR. > > > > > > > > case 2: > > > > One of my desktop computer have no sound box, hence, I want > forward > > > > "Desktop's sound" to FR. > > > > > > I did this when I forgot my normal earphones at home and took only the > FR > > > headset ... > > > you can just install esd (esound) on FR (last time i tried it, it was > > > in the shr feeds, but that was at least a year back), run it, connect > FR > > > to the laptop and run mplayer -ao esd:192.168.1.202 file.mp3 > > > > > > > The "file.mp3" is on the FR, isn't it? What is the exact syntax to access > it > > from the laptop? > > > > mplayer -ao esd:192.168.1.202 /file.mp3 > > > > best regards > > giovanni > > > that was for the second case, ie you want to play a file / something on > your laptop, but you want the sound to come out of FR's > speaker/headset... (otherwise you could just run mplayer on FR ;) > > also for mp3 you could just stream the file to the FR and decode/play it > there (see the other reply), this was meant more for movies/interactive > apps that you want to run/see on your laptop... (though most apps now > don't support esd, so you would have to get pulse working...) > > to access files from moko on laptop, you can always use sshfs: > mkdir ~/neo > sshfs 192.168.1.202:/ ~/neo > (enter passwd, or set up ssh keys) > > > yoyo > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
On Tue, Jun 21, 2011 at 10:55:05PM +0200, Giovanni wrote: > On Tue, Jun 21, 2011 at 7:43 PM, YoYo Siska wrote: > > > On Mon, Jun 20, 2011 at 02:58:39PM +0800, Fong Yuenshu wrote: > > > case 1: > > > I forward Xwindow to my Laptop already, when I dial someone on > > Laptop, > > > but the sound came out from FR, and use FR's MIC. > > > So, in this case, I want forward "FR's sound" to Laptop, and > > "Laptop's > > > MIC" to FR. > > > > > > case 2: > > > One of my desktop computer have no sound box, hence, I want forward > > > "Desktop's sound" to FR. > > > > I did this when I forgot my normal earphones at home and took only the FR > > headset ... > > you can just install esd (esound) on FR (last time i tried it, it was > > in the shr feeds, but that was at least a year back), run it, connect FR > > to the laptop and run mplayer -ao esd:192.168.1.202 file.mp3 > > > > The "file.mp3" is on the FR, isn't it? What is the exact syntax to access it > from the laptop? > > mplayer -ao esd:192.168.1.202 /file.mp3 > > best regards > giovanni that was for the second case, ie you want to play a file / something on your laptop, but you want the sound to come out of FR's speaker/headset... (otherwise you could just run mplayer on FR ;) also for mp3 you could just stream the file to the FR and decode/play it there (see the other reply), this was meant more for movies/interactive apps that you want to run/see on your laptop... (though most apps now don't support esd, so you would have to get pulse working...) to access files from moko on laptop, you can always use sshfs: mkdir ~/neo sshfs 192.168.1.202:/ ~/neo (enter passwd, or set up ssh keys) yoyo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
Le 21/06/2011 19:43, YoYo Siska a écrit : > On Mon, Jun 20, 2011 at 02:58:39PM +0800, Fong Yuenshu wrote: >> case 1: >> I forward Xwindow to my Laptop already, when I dial someone on Laptop, >> but the sound came out from FR, and use FR's MIC. >> So, in this case, I want forward "FR's sound" to Laptop, and "Laptop's >> MIC" to FR. >> >> case 2: >> One of my desktop computer have no sound box, hence, I want forward >> "Desktop's sound" to FR. > > I did this when I forgot my normal earphones at home and took only the FR > headset ... > you can just install esd (esound) on FR (last time i tried it, it was > in the shr feeds, but that was at least a year back), run it, connect FR > to the laptop and run mplayer -ao esd:192.168.1.202 file.mp3 > > pulseaudio could be a bit more "user friendly" if can get it running, ie > automatic discovery etc.. so that if you run it on FR and connect it to > your laptop, it would just pop a message that a new remote soundcard is > available... and you can move audiostreams from any application to that > remote soundcard... I have that running between desktop and laptop... > but it is still a bit unstable ;) and i don't think getting running it > on FR would be easy... > > yoyo You can easily listen a mp3 file using some pipes and ssh. You can do (from your computer) : ssh you@freerunner cat file.mp3 | mpg123 - It will be parsed like this : - ssh you@freerunner cat file.mp3 : ssh runs on your computer, and try to execute "cat file.mp3" on remote machine - then | mpg123 - : the output is redirected to your local mp3 player (mpg123 here) The same mechanism is often used by admins to transfer tar files over network (ssh distantPC tar something | untar locally) To play a "collection" you can use something like that : ssh you@freerunner "find mp3folder -wholename \*Metallica\*.mp3 -print0 | xargs -p0 cat" | mpg123 - It is a bit ugly but it should work if you just want to listen your music. For Fong Yuenshu's problem it is a bit more difficult, as he wants to redirect the whole soundsystem from the freerunner to a computer. It may be possible with some advanced sound daemon like esd or else... if you find a solution do not hesitate to share with us :) Xavier. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
On Tue, Jun 21, 2011 at 7:43 PM, YoYo Siska wrote: > On Mon, Jun 20, 2011 at 02:58:39PM +0800, Fong Yuenshu wrote: > > case 1: > > I forward Xwindow to my Laptop already, when I dial someone on > Laptop, > > but the sound came out from FR, and use FR's MIC. > > So, in this case, I want forward "FR's sound" to Laptop, and > "Laptop's > > MIC" to FR. > > > > case 2: > > One of my desktop computer have no sound box, hence, I want forward > > "Desktop's sound" to FR. > > I did this when I forgot my normal earphones at home and took only the FR > headset ... > you can just install esd (esound) on FR (last time i tried it, it was > in the shr feeds, but that was at least a year back), run it, connect FR > to the laptop and run mplayer -ao esd:192.168.1.202 file.mp3 > The "file.mp3" is on the FR, isn't it? What is the exact syntax to access it from the laptop? mplayer -ao esd:192.168.1.202 /file.mp3 best regards giovanni > > pulseaudio could be a bit more "user friendly" if can get it running, ie > automatic discovery etc.. so that if you run it on FR and connect it to > your laptop, it would just pop a message that a new remote soundcard is > available... and you can move audiostreams from any application to that > remote soundcard... I have that running between desktop and laptop... > but it is still a bit unstable ;) and i don't think getting running it > on FR would be easy... > > yoyo > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
On Mon, Jun 20, 2011 at 02:58:39PM +0800, Fong Yuenshu wrote: > case 1: > I forward Xwindow to my Laptop already, when I dial someone on Laptop, > but the sound came out from FR, and use FR's MIC. > So, in this case, I want forward "FR's sound" to Laptop, and "Laptop's > MIC" to FR. > > case 2: > One of my desktop computer have no sound box, hence, I want forward > "Desktop's sound" to FR. I did this when I forgot my normal earphones at home and took only the FR headset ... you can just install esd (esound) on FR (last time i tried it, it was in the shr feeds, but that was at least a year back), run it, connect FR to the laptop and run mplayer -ao esd:192.168.1.202 file.mp3 pulseaudio could be a bit more "user friendly" if can get it running, ie automatic discovery etc.. so that if you run it on FR and connect it to your laptop, it would just pop a message that a new remote soundcard is available... and you can move audiostreams from any application to that remote soundcard... I have that running between desktop and laptop... but it is still a bit unstable ;) and i don't think getting running it on FR would be easy... yoyo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: How to forward FreeRunner's audio ?
Pulseaudio could indeed do what you're after, however we had to remove pulseaudio from the SHR distribution due to its abysmal performance on armv4. :M: ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
How to forward FreeRunner's audio ?
case 1: I forward Xwindow to my Laptop already, when I dial someone on Laptop, but the sound came out from FR, and use FR's MIC. So, in this case, I want forward "FR's sound" to Laptop, and "Laptop's MIC" to FR. case 2: One of my desktop computer have no sound box, hence, I want forward "Desktop's sound" to FR. I'm told pulseaudio can forward sound, but was pulseaudio already installed on FR? (I'm now run SHR on it). Thanks. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community