Skip to contentSkip to conversation

SBC Fixed Point for A2Dp

Bluez-devel Roberto LA RAGIONE 3 participants 6 messages Aug 17, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Dear All,

I have read some transcoding to SBC fixed point somewhere , do you know where become available ? We are working on a mobile version of A2DP with headphones for Symbian and we would like to port this part of code to mobile and deliver the library under LGPL

#1 lore raw

Roberto

Quoted 1 line

I have read some transcoding to SBC fixed point somewhere , do you know where become available ? We are working on a mobile version of A2DP with headphones for Symbian and we would like to port this part of code to mobile and deliver the library under LGPL

I hope you are able to help us with this. We currently have no implementation. Victor Shcherbatyuk has been tinkering with fixed point but was getting noisy audio last I heard and has not contributed anything yet.

If you look in sbc/sbc.h, you'll see some fixed point functions like fxmult and conversion functions. Currently, the precision is set to 20 bits. This is probably not enough, but after you change it to get more precision, the fixed point tables in sbc_tables_f.h need to be regenerated; build gen_fixed.c by hand and run

./gen_fixed > sbc_tables_f.h

to do that.

Can I help in any other way?

thanks!
Brad

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

where I can get the latest version ? Thanks Roberto

----- Original Message -----
From: "Brad Midgley" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 17, 2005 5:03 PM
Subject: Re: [Bluez-devel] SBC Fixed Point for A2Dp

Quoted 24 lines

Roberto

Quoted 4 lines

I have read some transcoding to SBC fixed point somewhere , do you know where become available ? We are working on a mobile version of A2DP with headphones for Symbian and we would like to port this part of code to mobile and deliver the library under LGPL

I hope you are able to help us with this. We currently have no implementation. Victor Shcherbatyuk has been tinkering with fixed point but was getting noisy audio last I heard and has not contributed anything yet.

If you look in sbc/sbc.h, you'll see some fixed point functions like fxmult and conversion functions. Currently, the precision is set to 20 bits. This is probably not enough, but after you change it to get more precision, the fixed point tables in sbc_tables_f.h need to be regenerated; build gen_fixed.c by hand and run

./gen_fixed > sbc_tables_f.h

to do that.

Can I help in any other way?

Quoted 7 lines

thanks!
Brad

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle

Practices

Quoted 7 lines

Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#3 lore raw

Roberto

Quoted 1 line

where I can get the latest version ? Thanks Roberto

Get it from cvs. See

http://bluetooth-alsa.sourceforge.net/

for details on downloading and building.

Brad

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw
In reply to Brad Midgley

It will be out there by the end of the week, we already have ARM specific 64-bit precise version which runs within around 30 MIPS and does not sound noisy, I'm finishing general 64-bit thing (uses long long for multiplication result) to make it complete and currently integrating it into the a2dp code. I'm on vacation now, so the progress is slow...

Victor.

----- Original Message ----- From: "Brad Midgley" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 17, 2005 17:03
Subject: Re: [Bluez-devel] SBC Fixed Point for A2Dp

Quoted 18 lines

Roberto

Quoted 1 line

I have read some transcoding to SBC fixed point somewhere , do you know where become available ? We are working on a mobile version of A2DP with headphones for Symbian and we would like to port this part of code to mobile and deliver the library under LGPL

I hope you are able to help us with this. We currently have no implementation. Victor Shcherbatyuk has been tinkering with fixed point but was getting noisy audio last I heard and has not contributed anything yet.

If you look in sbc/sbc.h, you'll see some fixed point functions like fxmult and conversion functions. Currently, the precision is set to 20 bits. This is probably not enough, but after you change it to get more precision, the fixed point tables in sbc_tables_f.h need to be regenerated; build gen_fixed.c by hand and run

./gen_fixed > sbc_tables_f.h

to do that.

Can I help in any other way?

thanks!
Brad

Quoted 9 lines

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author
#5 lore raw

thanks for the update my main poblem is that working with Mobile at around 100,10 Mhz it is quite slow this ckind of calculation , the one that I have (sbc.c floating point) is totally slow so I hope you will implement oen a little bit better and then I can improve on mobile, if you have time to send me a version so I can test it on these days because i'm not in vacation :)

Ciao Roberto

----- Original Message -----
From: "Victor Shcherbatyuk" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 17, 2005 8:02 PM
Subject: Re: [Bluez-devel] SBC Fixed Point for A2Dp

Quoted 3 lines

It will be out there by the end of the week, we already have ARM specific 64-bit precise version which runs within around 30 MIPS and does not sound noisy, I'm finishing general 64-bit thing (uses long long for

multiplication

Quoted 1 line

result) to make it complete and currently integrating it into the a2dp

code.

Quoted 15 lines

I'm on vacation now, so the progress is slow...

Victor.

----- Original Message -----
From: "Brad Midgley" <[email protected]>
To: <[email protected]>
Sent: Wednesday, August 17, 2005 17:03
Subject: Re: [Bluez-devel] SBC Fixed Point for A2Dp

Quoted 4 lines

Roberto

Quoted 2 lines

I have read some transcoding to SBC fixed point somewhere , do you know where become available ? We are working on a mobile version of A2DP

with

Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

headphones for Symbian and we would like to port this part of code to mobile and deliver the library under LGPL

I hope you are able to help us with this. We currently have no implementation. Victor Shcherbatyuk has been tinkering with fixed point but was getting noisy audio last I heard and has not contributed

anything

Quoted 18 lines
Quoted 18 lines

yet.

If you look in sbc/sbc.h, you'll see some fixed point functions like fxmult and conversion functions. Currently, the precision is set to 20 bits. This is probably not enough, but after you change it to get more precision, the fixed point tables in sbc_tables_f.h need to be regenerated; build gen_fixed.c by hand and run

./gen_fixed > sbc_tables_f.h

to do that.

Can I help in any other way?

thanks!
Brad

Quoted 5 lines
Quoted 5 lines

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &

QA

Quoted 1 line
Quoted 1 line

Security * Process Improvement & Measurement *

http://www.sqe.com/bsce5sf

Quoted 10 lines
Quoted 4 lines

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle

Practices

Quoted 7 lines

Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel