diff aud-pirelli/handheld.src @ 5:e0c7fa6be0fc

aud-pirelli: copying official fw
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 05 Apr 2022 07:28:43 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/aud-pirelli/handheld.src	Tue Apr 05 07:28:43 2022 +0000
@@ -0,0 +1,28 @@
+# Handheld audio mode on the Pirelli DP-L10 target - this audio mode
+# config has been lifted directly from Pirelli's official fw,
+# specifically the state when the volume control is at the maximum.
+#
+# We shall do volume control in our own FreeCalypso way, hence DL PGA
+# and sidetone settings need to follow the maximum volume configuration
+# from Pirelli.
+
+mic default {
+	gain 3
+	output-bias 1
+	fir  0 0xFFF8 0x0003 0x0008 0xFFFE 0x001E 0x0069 0x0037 0xFFD2
+	fir  8 0x0064 0x0078 0xFE34 0xFD60 0x0042 0xFE70 0xF33F 0x7E9D
+	fir 16 0xF33F 0xFE70 0x0042 0xFD60 0xFE34 0x0078 0x0064 0xFFD2
+	fir 24 0x0037 0x0069 0x001E 0xFFFE 0x0008 0x0003 0xFFF8
+}
+
+speaker ear {
+	gain 4
+	fir  0 0x0005 0x0004 0xFFF6 0xFFF6 0xFFEE 0x0013 0x0043 0xFFC7
+	fir  8 0x0040 0x010F 0xFEBA 0xFCB4 0xFE9E 0x0643 0x16E5 0x3634
+	fir 16 0x16E5 0x0643 0xFE9E 0xFCB4 0xFEBA 0x010F 0x0040 0xFFC7
+	fir 24 0x0043 0x0013 0xFFEE 0xFFF6 0xFFF6 0x0004 0x0005
+}
+
+sidetone -17
+
+aec-new 2 1 0x14 0xCCC 0x59AD 0x4000 0x32 0x1000 0x1000 0 4 0