Tools: Tune: Make example FIR response long for large IPC test

The loudness EQ is changed to 250 taps to create large IPC
message type. It also improves subjective quality of this
effect with better bass response. The earlier version was
made very short to fit the that time IPC size limit.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2021-12-10 12:26:57 +02:00 committed by Liam Girdwood
parent afac44af5f
commit 0d296ce7d1
3 changed files with 57 additions and 28 deletions

View File

@ -1 +1 @@
4607827,0,256,50331648,0,0,0,0,256,131076,0,0,0,0,65537,65537,4294901764,0,0,0,0,16384,0,88,0,0,0,0,3535366939,119016436,49938453,30147089,30343698,30409180,29426121,27328945,25428369,23921015,22479202,20906315,19267889,17826074,16646407,15663350,14745832,13762777,12845259,11862204,10879149,10027167,9175186,8388742,7602298,6946927,6291557,5636187,5046354,4522057,3997761,3539002,3145779,2752557,2424872,2162723,1900575,1638427,1441815,1245204,1048593,917519,720909,7,
4607827,0,488,50413568,0,0,0,0,488,131076,0,0,0,0,65537,65537,4294901764,0,0,0,0,16384,0,262348,0,0,0,0,4293787691,196613,65536,65537,65537,65537,65537,65537,65537,65537,65537,65537,65536,65537,65537,65537,131073,196610,393220,720903,1310732,2228246,3801125,6094910,9633892,14745756,22085870,32112993,45679103,63570642,86639591,115606857,151324418,194447646,245304229,304221849,370872829,444863946,525146615,610279027,698557222,787687411,875244731,958411092,1034368410,1100429666,1153973384,1192771304,1214922855,1219379438,1205420146,1173241582,1123499118,1057831167,978072766,886845387,786967119,681649270,573775470,466622563,362943105,265161964,175441864,95290156,25952045,4262788051,4216060195,4180408089,4155045292,4139054287,4131255408,4130337916,4134925535,4143773060,4155635289,4169332555,4183947340,4198758734,4213111369,4226480947,4238670857,4249484488,4258790765,4266720762,4273274479,4278582991,4282777371,4286119768,4288610182,4290510762,4291887044,4292935639,4293656548,4294115310,4294442996,4294639609,4294836219,4294901757,4294967294,4294967295,0,0,

View File

@ -1,39 +1,68 @@
# Loudness effect, created with example_fir_eq.m 30-Mar-2020
# Loudness effect, created with example_fir_eq.m 10-Dec-2021
CONTROLBYTES_PRIV(DEF_EQFIR_PRIV,
` bytes "0x53,0x4f,0x46,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x01,0x00,0x00,0x00,0xe0,0x00,0x03,'
` 0xe8,0x01,0x00,0x00,0x00,0x40,0x01,0x03,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x01,0x00,0x00,0x04,0x00,0x02,0x00,'
` 0xe8,0x01,0x00,0x00,0x04,0x00,0x02,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x04,0x00,0xff,0xff,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0xcc,0x00,0x04,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,'
` 0x1b,0x6b,0xb9,0xd2,0xf4,0x0b,0x18,0x07,'
` 0x15,0x00,0xfa,0x02,0x11,0x02,0xcc,0x01,'
` 0x12,0x02,0xcf,0x01,0xdc,0x01,0xd0,0x01,'
` 0xc9,0x01,0xc1,0x01,0xb1,0x01,0xa1,0x01,'
` 0x91,0x01,0x84,0x01,0x77,0x01,0x6d,0x01,'
` 0x62,0x01,0x57,0x01,0x4b,0x01,0x3f,0x01,'
` 0x31,0x01,0x26,0x01,0x1a,0x01,0x10,0x01,'
` 0x07,0x01,0xfe,0x00,0xf6,0x00,0xef,0x00,'
` 0xe8,0x00,0xe1,0x00,0xd9,0x00,0xd2,0x00,'
` 0xcb,0x00,0xc4,0x00,0xbc,0x00,0xb5,0x00,'
` 0xad,0x00,0xa6,0x00,0x9f,0x00,0x99,0x00,'
` 0x92,0x00,0x8c,0x00,0x86,0x00,0x80,0x00,'
` 0x7a,0x00,0x74,0x00,0x6f,0x00,0x6a,0x00,'
` 0x65,0x00,0x60,0x00,0x5b,0x00,0x56,0x00,'
` 0x52,0x00,0x4d,0x00,0x49,0x00,0x45,0x00,'
` 0x41,0x00,0x3d,0x00,0x3a,0x00,0x36,0x00,'
` 0x33,0x00,0x30,0x00,0x2d,0x00,0x2a,0x00,'
` 0x28,0x00,0x25,0x00,0x23,0x00,0x21,0x00,'
` 0x1f,0x00,0x1d,0x00,0x1b,0x00,0x19,0x00,'
` 0x17,0x00,0x16,0x00,0x14,0x00,0x13,0x00,'
` 0x11,0x00,0x10,0x00,0x0f,0x00,0x0e,0x00,'
` 0x0d,0x00,0x0b,0x00,0x07,0x00,0x00,0x00"'
` 0x2b,0x00,0xee,0xff,0x05,0x00,0x03,0x00,'
` 0x00,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x00,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,'
` 0x01,0x00,0x02,0x00,0x02,0x00,0x03,0x00,'
` 0x04,0x00,0x06,0x00,0x07,0x00,0x0b,0x00,'
` 0x0c,0x00,0x14,0x00,0x16,0x00,0x22,0x00,'
` 0x25,0x00,0x3a,0x00,0x3e,0x00,0x5d,0x00,'
` 0x64,0x00,0x93,0x00,0x9c,0x00,0xe1,0x00,'
` 0xee,0x00,0x51,0x01,0x61,0x01,0xea,0x01,'
` 0xff,0x01,0xb9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,0xfb,'
` 0x09,0xfc,0xa4,0xfc,0xc8,0xfc,0x49,0xfd,'
` 0x6d,0xfd,0xd7,0xfd,0xfa,0xfd,0x50,0xfe,'
` 0x6f,0xfe,0xb4,0xfe,0xcf,0xfe,0x05,0xff,'
` 0x1b,0xff,0x45,0xff,0x58,0xff,0x78,0xff,'
` 0x86,0xff,0x9e,0xff,0xaa,0xff,0xbb,0xff,'
` 0xc4,0xff,0xd0,0xff,0xd7,0xff,0xe0,0xff,'
` 0xe4,0xff,0xeb,0xff,0xee,0xff,0xf2,0xff,'
` 0xf4,0xff,0xf7,0xff,0xf9,0xff,0xfa,0xff,'
` 0xfb,0xff,0xfd,0xff,0xfd,0xff,0xfe,0xff,'
` 0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,'
` 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00"'
)

View File

@ -170,7 +170,7 @@ eq.norm_offs_db = 0; % Offset in dB to normalize
eq.enable_fir = 1; % By default both FIR and IIR disabled, enable one
eq.fir_beta = 4.0; % Use with care, low value can corrupt
eq.fir_length = 86; % Gives just < 292 bytes
eq.fir_length = 250; % Long filter (test large IPC messages)
eq.fir_autoband = 0; % Select manually frequency limits
eq.fmin_fir = 100; % Equalization starts from 100 Hz
eq.fmax_fir = 20e3; % Equalization ends at 20 kHz