Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Can I use n900 as a microphone for my laptop?

    Reply
    Page 2 of 3 | Prev |   1   2   3   | Next
    dmj726 | # 11 | 2010-03-27, 18:13 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Prospector | # 12 | 2010-03-27, 18:18 | Report

    Should be possible by bluetooth. Can you set up HFP server profile on the PC to capture the voice?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Niggydip | # 13 | 2010-03-27, 18:19 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    TH3ORY | # 14 | 2010-03-28, 18:43 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    hcm | # 15 | 2010-03-28, 21:37 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to hcm For This Useful Post:
    C.Whiteham, cheve, cipper, dr_frost_dk

     
    Jetz | # 16 | 2010-03-29, 01:32 | Report

    whoa, so much stupid answers(stupid people). i think that was good question, i would like to have webcam software with mic support.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cipper | # 17 | 2010-04-19, 22:23 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Jef91 | # 18 | 2010-06-19, 21:55 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    withnoname | # 19 | 2010-11-07, 08:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by withnoname; 2010-11-07 at 09:16.
    The Following 17 Users Say Thank You to withnoname For This Useful Post:
    C.Whiteham, cheve, cipper, Descalzo, Ghostface, MiK546, mveplus, RobbieThe1st, sebas, SHARP66, talkMAEMOnik, tertis11, tetris11_, vdx29, Wikiwide, wnt

     
    allwise | # 20 | 2010-11-24, 17:37 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to allwise For This Useful Post:
    Wikiwide

     
    Page 2 of 3 | Prev |   1   2   3   | Next
vBulletin® Version 3.8.8
Normal Logout