The Following User Says Thank You to eL.ectron1k For This Useful Post: | ||
![]() |
2011-08-30
, 20:27
|
Posts: 3 |
Thanked: 3 times |
Joined on Aug 2011
|
#2
|
![]() |
2011-08-30
, 21:19
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#3
|
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!
![]() |
2011-08-31
, 20:15
|
Posts: 3 |
Thanked: 3 times |
Joined on Aug 2011
|
#4
|
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
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
The Following 2 Users Say Thank You to crackleware For This Useful Post: | ||
![]() |
2011-08-31
, 21:24
|
Posts: 291 |
Thanked: 435 times |
Joined on Apr 2011
@ RO
|
#5
|
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:
Test the setup by routing N900 mic input to Linux sound card: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
Talk into N900 mic and if you can hear yourself setup should work with Skype and other apps probably.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
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.
![]() |
2011-09-01
, 22:05
|
Posts: 3 |
Thanked: 3 times |
Joined on Aug 2011
|
#6
|
The Following User Says Thank You to crackleware For This Useful Post: | ||
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