From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <003501c427be$15781fc0$7b6b7b8c@yaya> From: "guang" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0032_01C42801.2390B160" Subject: [Bluez-users] SCO question ? Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 22 Apr 2004 00:31:22 +0800 This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C42801.2390B160 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Hi all: I have a apinion about voice data, but I don't know whether it is = correct or not. Please give me some comments. If we type "hciconfig hci0 voice" and it will appear this on my PC: [root@bluez root]# hciconfig hci0 voice hci0: Type: USB BD Address: 00:09:DD:xx:xx:xx ACL MTU: 192:8 SCO MTU: 64:8 Voice setting: 0x0060 (Default Condition) Input Coding: Linear Input Data Format: 2's complement Input Sample Size: 16 bit # of bits padding at MSB: 0 Air Coding Format: CVSD And my viewpoint is as below: 1. Input Coding : Linear --> quantification and frequency are a ratio = of equality. 2. Input Data Format: 2's complement --> ???? I don't know what's mean. 3. Input Sample Size: 16 bit --> per sample is used 16 bit to indicate. 4. Air Coding Format: CVSD --> Voice is sampled by soundcard , then = Baseband covert these data using CVSD codec and translate these data on = air. As above, I give a conclusion: I can extract voice datas from SCO socket, and these data are coded by = PCM (linear, 16 bit/per sample, sample rate =3D 8k). =20 ex: outgoing voice data: =20 soundcard sco socket Baseband | | | | 8k sample rate | | | ,16bit/sample | | voice --->|-------------------->|----------->|---->CVSD data | | | | | | =20 =20 =20 incoming voice data: =20 Baseband sco socket soundcard = Application | | | = | | linear PCM | | 8k sample = rate | | ,16bit/sample | | 16 = bit/sample | CVSD = ---->|------------------->|---------->|------------------->|---->analogy = voice | | | = | | | | = | =20 =20 As above , that are my concept, Is my concept correct? Please give me some comments. =20 Thank you . ------=_NextPart_000_0032_01C42801.2390B160 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Hi all:
I have a apinion about voice data, but I = don't know=20 whether it is correct or not.
Please give me some = comments.
 
If we type "hciconfig hci0 voice" and it will appear = this on=20 my PC:
 
[root@bluez root]# hciconfig hci0 = voice
hci0:  =20 Type: USB
        BD Address:=20 00:09:DD:xx:xx:xx ACL MTU: 192:8  SCO MTU:=20 64:8
        Voice setting: 0x0060 = (Default Condition)
        Input = Coding:=20 Linear
        Input Data Format: = 2's=20 complement
        Input Sample = Size: 16=20 bit
        # of bits padding at = MSB:=20 0
        Air Coding Format:=20 CVSD
 
And my viewpoint is as below:
1. Input Coding :=20 Linear  --> quantification and frequency are  a ratio of=20 equality.
2. Input Data Format: 2's complement --> ???? I don't = know=20 what's mean.
3. Input Sample Size: 16 bit  --> per sample is = used 16=20 bit to indicate.
4. Air Coding Format: CVSD  --> Voice is = sampled by=20 soundcard , then Baseband covert these data using CVSD codec and = translate these=20 data on air.
 
As above, I give a conclusion:
I can extract = voice datas=20 from SCO socket, and these data are coded by PCM (linear, 16 bit/per = sample,=20 sample rate =3D 8k).
 
 ex:
 outgoing voice=20 data:
 
       =20  soundcard         &nbs= p;  =20 sco socket  =20 Baseband
          &= nbsp;=20    =20 |            =             &= nbsp;  =20 |            =    =20  =20 |
           &n= bsp;  =20  |  8k sample=20 rate   |        &n= bsp;      =20  =20 |
           &n= bsp; =20   | =20 ,16bit/sample     |     = ;          =20   |
voice=20 --->|-------------------->|----------->|---->CVSD=20 data
           = ;  =20   |          =             &= nbsp;     =20 |            =   =20  =20 |
           &n= bsp;   =20 |            =             &= nbsp; =20  =20 |            =    =20  |
 
 
 
 incoming voice=20 data:
 
         = =20   =20 Baseband           = ; =20 sco socket   = soundcard       =20 Application
         &nbs= p;        =20  =20 |            =             &= nbsp;=20  =20 |            =  =20  |           =             &= nbsp; =20  =20 |
           &n= bsp;      =20   |    linear PCM    =20 |            =  =20   |  8k sample rate =20 |
           &n= bsp;     =20    |  ,16bit/sample   =20 |            =  =20   |  16 bit/sample    |
 CVSD=20 ---->|------------------->|---------->|------------------->|-= --->analogy=20 voice
          &nbs= p;      =20   =20 |            =             &= nbsp; =20 |            =  =20  =20 |            =             &= nbsp;=20  |
          &n= bsp;        =20  |           =              =   =20 |            =  =20  =20 |            =       =20         = |
 
 
 As=20 above , that are my concept, Is my concept correct?
 Please give = me some=20 comments.
 
 Thank you .
------=_NextPart_000_0032_01C42801.2390B160-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users