Active Topics

 


Reply
Thread Tools
Posts: 148 | Thanked: 92 times | Joined on Oct 2009
#11
I actually think this would be useful. It's possible the bluetooth might work for this, not sure. Perhaps an app to output mic over the network with pulseaudio.
 
Posts: 22 | Thanked: 5 times | Joined on Mar 2010 @ Bristol, UK
#12
Should be possible by bluetooth. Can you set up HFP server profile on the PC to capture the voice?
 
Posts: 25 | Thanked: 6 times | Joined on Jan 2010 @ Lagos, Nigeria
#13
Avinashsonee....wasn't taking you seriously cuz I was plain ignorant of such a possibility...accept my apologies...please take my comments in good humour! lol!
 
Posts: 131 | Thanked: 14 times | Joined on Jan 2010
#14
Originally Posted by avinashsonee View Post
Is it possible? if yes, please tell me the steps.

Thanks!
Hi yeah sure it works as a mic I’m using a Sony VAIO vgn sr series laptop…. Also you can pump the N900 sound out of the laptop for example watching a movie or making a phone call,, i did not install any app other than The Bluetooth tethering app Hope that answer your question enjoy
 
Posts: 75 | Thanked: 78 times | Joined on Jan 2010 @ Germany
#15
I did some research on this topic:

the Headset ("audio sink") profile can be activated on the N900 using

Code:
sdptool add A2SNK
However, you can't connect to it from your laptop, because the phone doesn't know what to do with the connection

So here is an approach to forward the data to the ESD sound system: http://talk.maemo.org/showthread.php...ighlight=a2snk

But the N900 uses the PulseAudio sound system, which should implement this functionality itself (see http://www.pulseaudio.org/wiki/Modules#Bluetooth). This documentation seems to be outdated, because PulseAudio on the N900 already has both, the bluetooth source+sink functionality (see pulseaudio --dump-modules | grep blue on the device)
I did not work out (yet) how to use is… Any hints are welcome

The ESD approach could also work, as the PulseAudio server has an ESD compatibility layer. But of course it would be nicer without this…

PS: to those of you not taking this thread seriously, shame on you
But really, I can imagine situations where I don't have a headset and I don't want to use the speakers of my laptop (e.g. in a train). Now, a solution to this thread would come in handy
 

The Following 5 Users Say Thank You to hcm For This Useful Post:
Posts: 24 | Thanked: 0 times | Joined on Jan 2010 @ Finland, Savonlinna
#16
whoa, so much stupid answers(stupid people). i think that was good question, i would like to have webcam software with mic support.
 
Posts: 169 | Thanked: 56 times | Joined on Jan 2010 @ Italia
#17
Originally Posted by hcm View Post
I did some research on this topic:

the Headset ("audio sink") profile can be activated on the N900 using

Code:
sdptool add A2SNK
However, you can't connect to it from your laptop, because the phone doesn't know what to do with the connection

...
...
Thank you very much for these info. I was looking for such functionality (N900 as headset) since december. After the "sdptool add A2SNK" and eventually the "hciconfig hci0 class 0x200404" I can see the "Audio Sink" service in BlueZ from my desktop. But, as you sad, It doesn't connect. IMHO the problem is that we miss an application that actually plays the streams. Could it be?

The thread you linked refers to 8xx and it seems to work. It should work for the N900 too, but when I run a2recv-esd it complains:

./a2recv-esd: error while loading shared libraries: libbluetooth.so.2: cannot open shared object file: No such file or directory

Indeed the N900 has the newer libbluetooth.so.3.4.2 installed...
 
Jef91's Avatar
Posts: 191 | Thanked: 129 times | Joined on Dec 2009 @ Bloomington, IL
#18
Anything ever come of this? I would really like to be able to use the n900 as a microphone.

Namely I have a wireless headset that gets about 50 foot range and I would like to use it with my n900 to create a wireless microphone setup. Meaning I need real time out to match the input. So as I speak into the headset I want it to output the audio from the 1/8 jack on the n900.

~Jeff
 
Posts: 2 | Thanked: 19 times | Joined on Nov 2010 @ a mixture of Jakarta and the UK
#19
I just wrote a long explanation of how to get this to work and then managed to delete it just as I was about to submit it. So my second attempt is going to be rather brief.

First point, Niggydip is a rude idiot who shouldn't be allowed to use a computer, let alone answer forum posts.

Second point, there are two ways of using an N900 as a microphone, both involve installing gstreamer-tools (in the repo.):

1. From here, to pass the mic output straight to the headphone juack just run:
Code:
gst-launch pulsesrc ! audioconvert ! pulsesink device=sink.hw0
(I think you need to be root to run gst-launch). Then use a double ended 3.5mm jack to transfer the audio from the n900 headphone socket to your laptop mic socket.

2. Much slower to setup, but allows you to connect the N900 and laptop over WLAN, answer got partly from here. Setup a network with both your phone and computer able to ping each other, easiest to setup an ad-hoc wireless network using pc-connectivity, but do it how you like. In my example N900 IP:192.168.4.15, computer IP:192.168.4.14.

Then run
Code:
gst-launch pulsesrc ! audioconvert ! audioresample ! nokiaaacenc ! rtpmp4apay ! udpsink host=192.168.4.14 port=5434
on the N900, looks simple but it took me and age to find a combination of ingredients that worked.

Pick up the stream on your laptop with VLC, configure with an sdp file (normal text file with sdp extension) containing:
Code:
v=0
m=audio 5434 RTP/AVP 96
c=IN IP4 192.168.4.15
a=rtpmap:96 MP4A-LATM/48000/2
On window (i didn't have a choice over my laptops OS) you can redirect the output of VLC to a virtual microphone jack using Virtual Audio Cable. To setup VLC to output to the VAC input, you have to do the following: go tools>>preferences>>show settings:all>>Audio>>Output Modules>>DirectX then change "output device" to Virtual Cable 1 or equivalent, you also need to set Audio>>Audio Device to mono for no apparent reason.

I'm amazing no one has offered the first solution already, the second solution took me some time to figure out, but seems to work well now it's working. Latency is quite low and quality seems good. i wasn't actually able to test the first solution because I don't have a double ended 3.5mm jack cable, hence why I had to come up with the second solution.

Hope it helps.

PS I know the second solution is hacky, but it's all I can find and any solution will require a program running on both machines. So please don't point out that it is long winded, unless that is you can offer a far easier and quicker solution.

Last edited by withnoname; 2010-11-07 at 09:16.
 

The Following 17 Users Say Thank You to withnoname For This Useful Post:
Posts: 27 | Thanked: 17 times | Joined on Jun 2010
#20
This is awesome!

Now I'd like to set up a webradio from my N900, so that I can play that stream from my HTPC that runs Ubuntu. I've got it to work with the internal microphone, but I can't really say that I get a party going from that. Now, I'd like to be able to stream either directly from the media player, or maybe from the system sound. I've tried some gstreamer commands but all I can get to stream is the test sine sound or the internal microphone, not the system sound. Any one got ideas?
 

The Following User Says Thank You to allwise For This Useful Post:
Reply

Tags
microphone


 
Forum Jump


All times are GMT. The time now is 06:04.