Reply
Thread Tools
eL.ectron1k's Avatar
Posts: 149 | Thanked: 15 times | Joined on Jul 2010 @ Russia
#1
Hello guys!
I
want to use my N900 connected trough usb to PC like microphone.

Is it possible?

I want use it in TeamSpeak/Skype/ and other voice software.



Thanks!
__________________
N900 overdosed.
Need help with translating your software to Russian? pm me.
I love E.ON
 

The Following User Says Thank You to eL.ectron1k For This Useful Post:
Posts: 3 | Thanked: 3 times | Joined on Aug 2011
#2
Maybe we can use gstreamer on N900 to capture and send data to Linux PC where gstreamer receives audio and routes it to alsa aloop driver (http://www.alsa-project.org/main/ind...x:Module-aloop) for use in Skype or any other application.

These threads could be relevant:

http://talk.maemo.org/showthread.php...t=v4l2loopback

http://talk.maemo.org/showthread.php...652#post909652
 
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#3
Originally Posted by eL.ectron1k View Post
Hello guys!
I
want to use my N900 connected trough usb to PC like microphone.

Is it possible?

I want use it in TeamSpeak/Skype/ and other voice software.



Thanks!
THAT sounds great
If Anyone can tell me if the mic. in phone is better in quality like normal pc microphones.
If would help in speak recognition softwares.
 
Posts: 3 | Thanked: 3 times | Joined on Aug 2011
#4
Here are commands and setup instructions for using N900 mic as Skype mic input over USB networking.

After USB network setup:

host's IP address is 192.168.2.14
n900's IP address is 192.168.2.15

Following commands should work over wireless too.

I get good quality and barely acceptable latency with this:

Code:
host$ sudo modprobe snd-aloop # load loopback kernel module

host$ gst-launch-0.10 -v tcpserversrc host=192.168.2.14 port=9999 ! audio/mpeg, channels=1, rate=48000, mpegversion=1, layer=2 ! ffdec_mp3 ! alsasink device=hw:1,0,0 sync=false

n900$ gst-launch -v pulsesrc ! audio/x-raw-int, rate=48000, channels=1, signed=true, width=16, depth=16, endianness=1234 ! ffenc_mp2 bitrate=320000 ! tcpclientsink host=192.168.2.14 port=9999
Test the setup by routing N900 mic input to Linux sound card:

Code:
host$ gst-launch-0.10 -v alsasrc device=hw:1,1 ! audio/x-raw-int, rate=48000, channels=1, signed=true, width=16, depth=16, endianness=1234 ! queue ! audioconvert ! alsasink device=hw:0,0
Talk into N900 mic and if you can hear yourself setup should work with Skype and other apps probably.

Start Skype and select Loopback hw:1,1 for microphone input.

hw:0... is internal sound card and hw:1... is loopback sound card on my Linux system.

I tested with wired Nokia headset that came with N900.

I have ArchLinux on host.
 

The Following 2 Users Say Thank You to crackleware For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#5
Originally Posted by crackleware View Post
Here are commands and setup instructions for using N900 mic as Skype mic input over USB networking.

After USB network setup:

host's IP address is 192.168.2.14
n900's IP address is 192.168.2.15

Following commands should work over wireless too.

I get good quality and barely acceptable latency with this:

Code:
host$ sudo modprobe snd-aloop # load loopback kernel module

host$ gst-launch-0.10 -v tcpserversrc host=192.168.2.14 port=9999 ! audio/mpeg, channels=1, rate=48000, mpegversion=1, layer=2 ! ffdec_mp3 ! alsasink device=hw:1,0,0 sync=false

n900$ gst-launch -v pulsesrc ! audio/x-raw-int, rate=48000, channels=1, signed=true, width=16, depth=16, endianness=1234 ! ffenc_mp2 bitrate=320000 ! tcpclientsink host=192.168.2.14 port=9999
Test the setup by routing N900 mic input to Linux sound card:

Code:
host$ gst-launch-0.10 -v alsasrc device=hw:1,1 ! audio/x-raw-int, rate=48000, channels=1, signed=true, width=16, depth=16, endianness=1234 ! queue ! audioconvert ! alsasink device=hw:0,0
Talk into N900 mic and if you can hear yourself setup should work with Skype and other apps probably.

Start Skype and select Loopback hw:1,1 for microphone input.

hw:0... is internal sound card and hw:1... is loopback sound card on my Linux system.

I tested with wired Nokia headset that came with N900.

I have ArchLinux on host.
For windows? any chance?
 
Posts: 3 | Thanked: 3 times | Joined on Aug 2011
#6
Originally Posted by SHARP66 View Post
For windows? any chance?
It could be possible with GStreamer for Windows (http://code.google.com/p/ossbuild/) and Virtual Audio Cable (http://software.muzychenko.net/eng/vac.htm).
 

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


 
Forum Jump


All times are GMT. The time now is 16:46.