maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   N900 as microfone for PC (https://talk.maemo.org/showthread.php?t=71757)

talkMAEMOnik 2011-04-03 13:34

N900 as microfone for PC
 
Is there any app for using "N900 as microfone" for external devices (PC in my case)?

I have the special wire (mini-jack 3,5 to mini-jack 3,5) so it is easy to stream sound (music etc.) from N900 to PC, but I don't know how to activate the N900's built in microphone and transport it's sound too :confused:

uvatbc 2011-04-03 17:06

Re: N900 as microfone for PC
 
I have done something like this between my laptop and desktop using pulseaudio.
Pulseaudio can act in a client server model over your network to send sound to another pulseaudio device.
I haven't tried this with the n900, though.
Here is something to start with.
And this is the Google search request that got me that link.

talkMAEMOnik 2011-04-03 18:02

Re: N900 as microfone for PC
 
uvatbc,
There is the app for streaming audio/video to network - Phonestream.
But also "Todo list:
*Add microphone support for use as main remote desktop mic.
..."

So I still don't know the way to make N900's microfone streaming to mini-jack 3,5.

uvatbc 2011-04-03 18:10

Re: N900 as microfone for PC
 
Quote:

Originally Posted by talkMAEMOnik (Post 981131)
uvatbc,
There are the app for streaming audio/video to network - Phonestream.
But also "Todo list:
*Add microphone support for use as main remote desktop mic.
..."

So I still don't know the way to make N900's microfone streaming to mini-jack 3,5.

Oh you specifically want to use the hardware jack to output. Sorry that's out of my league.

vanous 2011-04-03 19:14

Re: N900 as microfone for PC
 
here is what i do from my linux box:

ssh root@ip_of_my_n900 arecord | aplay

MiK546 2011-04-03 19:37

Re: N900 as microfone for PC
 
Take a look at this guide, it might have a answer for you:
talk.maemo.org/showpost.php?p=865794&postcount=19.

mr id 2011-04-03 19:38

Re: N900 as microfone for PC
 
Quote:

Originally Posted by vanous (Post 981172)
here is what i do from my linux box:

ssh root@ip_of_my_n900 arecord | aplay

If you have gst-launch installed on the n900 (in the gstreamer-tools package), once you've ssh'ed in you can:

Code:

gst-launch autoaudiosrc ! autoaudiosink
will send the input (mic) to the output (speakers or line out).

you can make far more complex pipelines than this but this should provide a proof of concept for you.

talkMAEMOnik 2011-04-03 19:44

Re: N900 as microfone for PC
 
Quote:

Originally Posted by vanous (Post 981172)
here is what i do from my linux box:

ssh root@ip_of_my_n900 arecord | aplay

That's what I was looking for. It's much simpler than I thought.

I have tiped in Xterminal of N900:
sudo arecord | aplay

then it works as i expected for (N900's mini-jack 3,5 to PC's mini-jack 3,5 = PC with microfone)

But, does it waste the space of internal memory of N900 and should i delete recorded file\files from there after?:confused:

vanous 2011-04-03 19:53

Re: N900 as microfone for PC
 
it doesn't store any files...it simply plays it... so no worries :)

talkMAEMOnik 2011-04-03 20:00

Re: N900 as microfone for PC
 
Quote:

Originally Posted by mr id (Post 981197)
If you have gst-launch installed on the n900 (in the gstreamer-tools package), once you've ssh'ed in you can:

Code:

gst-launch autoaudiosrc ! autoaudiosink
will send the input (mic) to the output (speakers or line out).

you can make far more complex pipelines than this but this should provide a proof of concept for you.

Your way brings more pure sound, and i like it. Vanous's method makes sound with some kind of background noise and delay is big.


All times are GMT. The time now is 08:55.

vBulletin® Version 3.8.8