Commit graph

31 commits

Author SHA1 Message Date
David Li
b82bc02526 audio: update Media Record Tuning Files
R4O6
Update camcorder tunings files for FRC

Reason:
- The SA-lite pipeline is used for 3rd party camcorder/recorder and
    need to be updated tuning for audio quality (b/185293492)
- There is e-Noise issue could be noticed when using 3rd party
    camcorder/recorder

Change list:
Update audio_platform_configuration.xml file so that parameters in
    SA-lite pipeline can be loaded correctly
Update template.xml file to enable feature swapping microphone
    assessment in SA-lite pipeline
Update recording.gatf file for modifing tuning parameters

Validation:
3rd party camcorder/recorder function are good and validation was
    used SD1A.210817.007 (7665414)

Bug: 197492283
Test: forrest build passed
Change-Id: Ifc66519c92935dc4bd14d68a85a491f96429272a
2021-08-27 01:57:46 +00:00
Jasmine Cha
254cdef7be audio: update FM tables (20210729_v540)
///R4
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

///O6
1. HHNB/WB/SWB double talk fine tune with v5.3.11 lib fix
2. Headset TTY VCO: sync the latest of HH TX
3. Headset Headphone : sync the latest of HH TX
4. BT HAC : sync the latest of HH TX
5. Headset FB tuning for NS

Bug: 197716271
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6376ce7da579dcda09c6077182cd82c6fb2c2efb
2021-08-26 08:31:05 +00:00
Jasmine Cha
f21fa1b132 audio: update tuning tables (20210826)
Release Notes (R4):
- Retune top volumes for more balanced sound, less harsh
- Heavy emphasis on vocals, both depth and clarity
- DTMF volume curve reduced to better align w/ O6, F2, C2, B9
- SYSTEM volume curve reduced to better align touch sounds
- SYSTEM volume curve copied into AUDIBLE volume curve

Release notes (O6):
- Camera shutter (system sound) decreased volume curve to better align w/ R4/B9 and F2/C2
- Slight adjustment at min vol point for DTMF
- SYSTEM volume curve reduced to mitigate loud camera shutter
- SYSTEM volume curve copied into AUDIBLE volume curve

Bug:190960105
Test: High level tuning validation (b/190960105#comment15)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Icf0c9e921017b5e06ec950452a78a9d89acf86f2
2021-08-26 01:15:23 +00:00
David Li
3b05ee5233 audio: update Media Record Tuning Files
R4
Change list:
Update IIR2, spatial audio parameters

O6
Change list:
Update IIR2, spatial audio parameters

Bug: 195707259
Test: make -j128
Change-Id: I13e8b81faf18247266525728563adfd614a866a1
2021-08-06 10:16:30 +00:00
Jasmine Cha
454ac5e61e audio: update FM table (20210805_v540)
///R4
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)

///O6
1. HHSWB BVE fine tuning ( by new FM lib fixed - b/194775936)

Bug: 194775936
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I25a740c49ed85c0ac07dce6475af95453c126bad
2021-08-06 04:38:01 +00:00
Jasmine Cha
80f37d804a audio: update FM table (20210729_v540)
///R4
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo

///O6
1. Headset fine tuning for QoE issue (b/194852269)
2. HHSWB fine tune for echo

Bug: 194852269
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I59ae8ea5ef7b4d6d25c9b684c422ee5dd28fcb30
2021-07-29 13:15:31 +00:00
Jasmine Cha
9609aa66fb audio: update fm tables (20210722_v540)
//R4
1. HH WB mic blocked enable
2. HH SWB BVE disable
3. HA WB mic blocked enable
4. HE TTY VCO: sync the latest of HH TX
5. HE TTY HCO: sync the latest of HH RX
6. HE Headphone : sync the latest of HH TX
7. BT HAC : sync the latest of HH TX
8. HA BVE turn on in Generic settings: NB/WB/SWB
9. HA BVE turn on in TMUS settings: NB/WB/SWB
10 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

//O6
1. HH WB EVT1.1/DVT fine tuning
=> FdEQ for more headroom
2. HH WB mic blocked enable
3. HH SWB BVE disable
4. HA WB mic blocked enable
5. HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8. BT HAC : sync the latest of HH TX
9. HA NB/WB/SWB/FB Generic tuning based on acoustic structure change
10. HA NB/WB/SWB/FB TMUS tuning based on acoustic structure change
11. HA BVE turn on in TMUS settings: NB/WB/SWB
12 HE by Gene
For both R4 and O6
 BB
  - General
     -  EnableBBLowLatencyMode
  - NB
      - TX EQ, NS improve
      - RX volume, DRC
 - WB
      - TX EQ, NS improve
      - RX EQ
      - RX volume, DRC
 - SWB
      - RX EQ, NS improve
      - RX TDDRC change from 5 to 7.01dB
      - RX volume, DRC
- FB
     - TX EQ for NS
     - RX volume, DRC

Google Condor
 - Enable LowLatencyMode
 - NB TX EQ depress low freq, increase high freq
 - WB TX EQ depress low freq

Condor reservation
 - same to Google Condor

Condor for sertification
 - Enable LowLatencyMode

Bug: 194273785
Test: manual test (b/194273785/comment#7)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ifb00378b6b5a9df95af82b7a1ff6256e91bd0ca3
2021-07-23 10:32:02 +00:00
Carter Hsu
3c11dab0d8 audio: update camcorder tuning 20210716
Update IIR2, MBDRC, spatial audio parameters

Bug: 193873738
Bug: 193872138
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Id3be3729b19f66d88634d4ca6a0dd1dd8bb991e8
2021-07-20 04:10:40 +00:00
Jasmine Cha
1c4b6056e4 audio: waves: update O6/R4 MPS (20210713)
O6:
  1. significantly reduces distortion artefacts at high volumes
  2. introduces bass management to balance low frequency response
     across the volume curve
  3. improved tonal balance at nominal volumes
  4. improved landscape stereo image across the volume curve

R4:
  1. This tuning improves the stereo balance between left and right
     in landscape orientation, and removes the pop artefact when
     rotating between portrait and landscape.

Bug: 179089856
Bug: 179089765
Test: playback, mute on/off, bypass on/off, lr swap/mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I732742524ddbdd787ae86520141fb464ab01ca5a
2021-07-13 14:42:12 +08:00
Carter Hsu
63defab2f3 audio: update Camcorder tuning
IIR Tuning parameters for surround module were
updated in gatf file

Bug: 186721091
Bug: 181869495
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I323cfc4ca3c6e73cf621aadd3ff7e9b99482353a
2021-07-12 11:10:38 +00:00
Jasmine Cha
09e81d3bfd audio: update FM table (20210708_v540)
//R4
1. HH FB EPD offset set to 0x0000
2. HH SWB TX fine tuning (FdEQ only)
3. HA TMUS settings NB/WB/SWB (RX+TX)
4. mute time from 200ms -> 10ms (all modes)
5. HA BVE NB/WB (Generic)
6. HA NB/WB/SWB/FB FFP on
7. HE TTY VCO: sync the latest of HH TX
8. HE TTY HCO: sync the latest of HH RX
9. HE Headphone : sync the latest of HH TX
10. BT HAC : sync the latest of HH TX
11. HA NB/WB/FB BVE off
12  Headset-USB_Blackbrid-Voice_Generic
    - FB TX EQ
    - FB RX EQ
13. Set //RX_FENS_RESRV_0 to be 0x000A for all scenarios on Bluetooth and Headset

//O6
1. HH FB EPD offset set to 0x0000
2. HH EVT1.1 Tuning
=> Mic design change: PreEQ NB/WB/SWB , FdEQ SWB
=> RX FR fine tuning: FdEQ NB/WB/SWB
=> Volume curve fine tuning : SPK_VOL WB (vol3 only)
3. HA EVT 1.1 Tuning
=> NB/WB/SWB/FB (Pre-EQ / TX_FDEQ / RX_TDDRC / VOL / RX_FDEQ)
4. mute time from 200ms -> 10ms (all modes)
5. HA BVE NB/WB (Generic)
6. HA NB/WB/SWB/FB FFP on
7. HE TTY VCO: sync the latest of HH TX
8. HE TTY HCO: sync the latest of HH RX
9. HE Headphone : sync the latest of HH TX
10. BT HAC : sync the latest of HH TX
11. HA NB/WB/FB BVE off
12  Headset-USB_Blackbrid-Voice_Generic
    - FB TX EQ
    - FB RX EQ
13. Set //RX_FENS_RESRV_0 to be 0x000A for all scenarios on Bluetooth and Headset

Bug: 174635995
Test: manual test by acoustic team

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ic76c1c9c7e9255565f5ee75e92f604723fd4c943
2021-07-12 08:56:04 +00:00
Jasmine Cha
7d716fef59 audio: waves: update R4 tuning table (20210701)
+ Bass management improves the frequency response at
  volume steps 23 and below.
+ Improved gain staging for clarity, dynamics and removal
  of distortion artefacts
+ Improved stereo balance and bass in landscape
+ Removes tuning bug that applied too much gain correction
  on quiet audio.

The portrait and landscape stereo tunings are retuned, but there
is no change to the speaker-safe tuning for notifications and
ringtones which are performing well.

Bug: 179089856
Test: playback mute on/off, bypass on/off, lr swap/mixed.

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I85c9347435a5baa43c20b4eb5dbd630efb502a4c
2021-07-02 09:10:44 +00:00
Jasmine Cha
fbdf38a954 audio: update FM tuning tables (20210624_v540)
Changlist:
R4
1. Handset NB/WB/SWB/FB EVT tuning
2. Add HA ECNS_off-FB / EC_off-FB / NS_off-FB
3. Add HH ECNS_off-FB / EC_off-FB / NS_off-FB
4. Handsfree NB/WB/SWB/FB EVT tuning
5. TTY VCO: sync the latest of HH TX
6. TTY HCO: sync the latest of HH RX
7. Headphone : sync the latest of HH TX
8. USB_BlackBird: fine tuned
9. Google_Condor: sync tuning

O6
1. Handset NS optimization: NB/WB/SWB
2. Add HA ECNS_off-FB / EC_off-FB / NS_off-FB
3. Add HH ECNS_off-FB / EC_off-FB / NS_off-FB
4. Handsfree NS optimization: NB/SWB
5. TTY VCO: sync the latest of HH TX
6. Headphone : sync the latest of HH TX
7. USB_BlackBird: fine tuned

Bug:174635995
Test: voice /voip call

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I5cc0bec1131e5cf3c921a832e9a9211af9704fda
2021-06-25 06:18:17 +00:00
Carter Hsu
d138225fcf audio: update R4 camcorder tuning 06/17
Change list:
Tuning parameters for surround module were updated in gatf file

Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I2e86c2e95d603fa3adcf500423734fc7f8f5837f
2021-06-18 07:48:23 +00:00
Carter Hsu
f9d90fe79b audio: update audio capture tuning
1. Support more camcorder tuning with different channels
2. Update the latest params on WNR, SUR, Linear gain, MBDRC module.

Bug: 181869495
Bug: 186721091
Bug: 174448901

Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I969b9bbb6a3fd74206dfc0bf385d9ebc1fddf194
2021-06-13 02:00:07 +00:00
Jasmine Cha
eee11aea25 audio: update FM table (20210610)
remove
- HA ECNS_off-FB / EC_off-FB / NS_off-FB
- HH ECNS_off-FB / EC_off-FB / NS_off-FB

Bug: 174635995
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6f3295f63022695fec778ccf8993ea4954541db3
2021-06-10 14:26:51 +08:00
Jasmine Cha
10328be209 audio: fm: update tuning table (20210608)
//O6
1. HA NB/WB/SWB/FB : Mic blocked paramter temp disable
2. HH NB/WB/SWB/FB: Mic blocked parameter temp disable
3. HA FB EVT modification
4. HH FB EVT modification
=> Mic design change : FB TX pre-FdEQ
=> RX Distortion : FB RX TdDRC, FdEQ
=> Volume curve : FB SPK_VOL
5.  HE TTY VCO: sync the latest of HH TX
6. HE TTY HCO: sync the latest of HH RX
7. HE Headphone : sync the latest of HH TX
8  HAC TX: sync the latest of HA TX
9. HE blackbird: Modify TX operation mode, low-delay and Handfree
10. HE Condor: Modify TX operation mode, low-delay and Handfree
11. HE Condor-Certification1: Modify TX operation mode, low-delay and Handfree

//R4
1. HA NB/WB/SWB/FB : Mic blocked paramter temp disable
2. HH NB/WB/SWB/FB: Mic blocked parameter temp disable
3. HE TTY VCO: sync the latest of HH TX
4. HE Headphone : sync the latest of HH TX
5. HAC TX: sync the latest of HA TX
6. HE blackbird: Modify TX operation mode, low-delay and Handfree
7. HE Condor: Modify TX operation mode, low-delay and Handfree
8. HE Condor-Certification1: Modify TX operation mode, low-delay and Handfree

Bug: 174635995
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I55824022f4e15c9f62b8624d390febf1195499da
2021-06-09 08:07:44 +00:00
Jasmine Cha
5fdaa9607c Revert "audio: update waves preset tables (20210603)"
This reverts commit acc536dd2588d2f5c74733c82c02cb83f0a8278d.

Reason for revert: unexpected loud touch/unlock sound from b/190395012

Bug: 190395012
Change-Id: I1197e76487f2cd92e88cbc44c26d003149953b60
2021-06-08 01:46:51 +00:00
Jasmine Cha
c7dfda1d57 audio: update waves preset tables (20210603)
O6:
+ improves loudness
+ improves clarity
+ incorporates landscape tuning with good left-right balance

Tuning work will continue to improve transient performance at max volume,
and incorporate feedback from UTD and PAE tests.

R4:
+ Improves loudness
+ Improves clarity and reduces bass distortion
+ Incorporates a landscape tuning that balances left and right speakers.

Further tuning work will improve bass response at lower volume steps and
improve tonal balance to reduce sibilance. We will also incorporate
feedback from UTD and PAE subjective studies.

Bug: 179089856
Bug: 179089765
Test: playback / mute on,off/bypass/lr switch, mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I85599edfd87c4c96f1486ea68f49006bf5a871fb
2021-06-03 16:49:42 +08:00
Carter Hsu
572019b626 audio: update camcorder tuning
tuning table: 2021/05/14

R4:
Change list:
Tuning parameters were updated in gatf file
Bluenote parameters for camcorder were updated in template.xml

O6:
Change the parameters on IIR_2.

Bug: 181869495
Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I42eca1ab5dd39fce0d0a5feeb5599a22ad4378f3
2021-05-14 11:46:31 +00:00
Carter Hsu
7870ae25e9 audio: update camcorder tuning for refactor
tuning 2021/05/11

Bug: 186801118
Bug: 181869495
Bug: 186721091
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I97da52d76a69606243ca516057a9c09bb337d259
2021-05-12 01:09:43 +00:00
Jasmine Cha
b794f75763 audio: waves: support handset device
Bug: 165776638
Test: VOIP / voice/ playback/ record

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I2133cedac1cf718e3632df5f292a2688fc009428
2021-05-11 11:37:39 +00:00
Jasmine Cha
8cebbe53c6 audio: update FM tuning (20210506)
- R4O6
  1. HA NB/WB/SWB/FB : EPD_Offset = 0x000
  2. HA NB/WB/SWB/FB : TX Mic dead parameter implented (includ HA-HAC TX)
    =>TX_MAINMIC_BLKFACTOR
    =>TX_REFMIC_BLKFACTOR
    =>DTD_THR1_7
    =>DTD_THE2_8
  3. HH NB/WB/SWB/FB : TX Mic dead parameter implented
    =>TX_MAINMIC_BLKFACTOR
    =>TX_REFMIC_BLKFACTOR
    =>DTD_THR1_7
    =>DTD_THE2_8
  4. Adding [EC off] / [NS off] / [ECNS off] on HAFB and HHFB

Bug: 174635995
Test: manual test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I23f6ad50ef42b3c6875cda54cb5179f5df423cfc
2021-05-07 02:27:00 +00:00
Jasmine Cha
a0503c472b waves: O6/R4: update preset file. (20210504)
- O6
  - Improves the loudness of O6 while maintaining tonal balance.
  - Improve loudness and tonal balance of ringtones and notifications
    on speaker-safe.
- R4
  - Significantly increases the perceived loudness of the
    speakers at maximum volume.
  - Improves the tonal balance and is tuned for distortion
    mitigation for 1.8A current limits.
  - Improves the loudness and tonal balance of ringtones and
    notifications on speaker-safe.

Bug: 179089765
Bug: 179089856
Test: playback, mute on/off, bypass, lr swap/mixed

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6bc5abfcb2d393c51946524861119629f158cbe2
2021-05-04 02:03:11 +00:00
Carter Hsu
e34a7c4e4e audio: update Fortemedia table 20210419_v538
//R4O6
1. HA NB/WB/SWB/FB : adjust Mic SRC assignment /  RX& TX  Response adjust
2. HH NB/WB/SWB:  TX/RX distortion fine tuning,  WB TX PGA gain -> 0x1000
3. HE TTY  HCO: sync the latest of HH RX
4. HE TTY VCO: sync the latest of HH TX
5. HE Headphone:  sync the latest of HH TX

Bug: 174635995
Test: phone call
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ie384611a64bf6f837909f586fa4003345e4d292c
2021-04-21 06:54:05 +00:00
Carter Hsu
f4852afcda audio: update camcorder tuning 20210407
Change list(R4/O6):
    1. Update the parameters in each module(IIR_1, SUR, IIR_2, AGC, MBDRC)
    2. Aim for different scenario(based on the rotation the the DUT) provide
       different tuning parameters
    3. Fine-tuning the zoom gain of AZ

Bug: 181869495
Test: camcorder
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1d0aa78f657fcfc20bf5a570bbbebb28f4896bba
2021-04-15 08:47:55 +00:00
Carter Hsu
e6841911c8 audio: update Fortemedia table 20210406_V538
BT
    WB TX EQ change from 1 to be 0 at 62.5Hz~125Hz band. Apply on all BT scenarios on WB.
    FB RX, enable HPF 50Hz. Apply on all BT scenarios on FB.
HE TTY
    Change gain
    UL:
    TX PGA gain is changed from -13.5 to be -8.5dB
    DL:
    RX PGA is changed from -12dB to be -3.99
    RX VOL is change from -23dB to be 0dB
    Apply to all TTY full, VCO, HCO
    Apply to all bandwidth
    Apply SPK TX to VCO TX
    Apply SPK RX to HCO RX

Bug: 174635995
Test: phone call
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3e3972de1bd5680d499c5137e04db434a021a822
2021-04-07 07:28:00 +00:00
Jasmine Cha
56f0aac772 audio: waves: support 64-bit algfx lib
Bug: 183174341
Test: manual audio test / playback

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I03337ac977836a04c5996f2833f42fbbeb0f2b42
2021-03-29 08:56:18 +00:00
Carter Hsu
353818761a audio: update camcorder tuning
Change list:
    update the parameters on each module on Camcorder(enable module: IIR1,
    linear gain, Surround, IIR2, AGC, MBDRC)

Bug: 181869495
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9afc4cf202f65138d78040421a10148e2b5097b7
2021-03-25 07:09:54 +00:00
Carter Hsu
a38369e11c audio: update Fortemedia tables 20210323_V537
1. HA TX/RX FB tuning - TdDRC/FdEQ/PreEQ/PGA, and sync to HAC-TX
2. HH TX/RX FB tuning - TdDRC/FdEQ/PreEQ/PGA
3. HE no mic heaset NB/WB/SWB/FB - sync HH TX
4. TTY HCO/VCO NB/WB/SWB/FB - sync HH RX/TX
5. BT
    - BT HAC TX NB/WB/SWB/FB- sync HH TX
    - Downlink
           * Set RX PGA Gain to be 0.
               For all bandwidth NB, WB, SWB and FB.
	       For all BT scenarios: BTNB-NREC-off, BTNB-NREC-on, BTWB-NREC-off, BTWB-NREC-On,  BT-HAC.
           * Merge RX BT setting to BT-HAC for NB, WB, SWB and FB.
           * Set volume to be 0dB for all volume step.  For all bandwidth NB, WB, SWB and FB.
             For all BT scenarios: BTNB-NREC-off, BTNB-NREC-on, BTWB-NREC-off, BTWB-NREC-On, BT-HAC.

Bug: 174635995
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I0b9fd9e8421577c1bb07913e2740c60ed5a51b05
2021-03-24 11:26:41 +08:00
Robin Peng
cd374d8ea9 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I08376762c559b3a7fd2cd2d743d090269ed52c94
2021-03-06 16:30:54 +08:00