Hi, I found a way to run the dbmeasure tool ( http://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Decibel ) to record the dB levels for my USB sound card. I now have a CSV file with the true levels of each of the volume steps. Can someone help me with how I can incorporate this into the ALSA USB driver? Please let me know if I should submit a bug or if there is some kind of "quirks" file that I can update. I attached the log here, in case someone can create a patch right away. The sound card is an "Asus Xonar U1", USB IDs "0b05:1743 ASUSTek Computer, Inc. Xonar U1 Audio Station". Each of the rows in the file correspond to a decibel value in alsamixer, the top line is 0 dB, bottom line is -37 dB, and the information is the true measured levels and dB. Two minor problems; (1) the Mic input is quite noisy, so I had to change the minimum noise dB level to -37 dB in the dbmeasure tool. The default is -58. Problem (2): The bottom step should be "0", because it is completely silent at that level. It is only non-zero because there is some noise on the input. I hope someone can help me, these dB levels are driving me crazy when using PulseAudio. Thanks, Marius
0 0.859406 -1.31604 1 0 1 0.836151 -1.5543 0.972941 -0.238267 2 0.813019 -1.79799 0.946025 -0.481951 3 0.789612 -2.05173 0.918788 -0.73569 4 0.766663 -2.30791 0.892085 -0.991877 5 0.744263 -2.56547 0.86602 -1.24944 6 0.721344 -2.83715 0.839352 -1.52111 7 0.698273 -3.1195 0.812507 -1.80346 8 0.675873 -3.4027 0.786442 -2.08666 9 0.652832 -3.70397 0.759632 -2.38793 10 0.630157 -4.01102 0.733248 -2.69498 11 0.6073 -4.33194 0.706651 -3.0159 12 0.584625 -4.66245 0.680267 -3.34641 13 0.561859 -5.00745 0.653776 -3.69141 14 0.539093 -5.36673 0.627286 -4.05069 15 0.515869 -5.74921 0.600263 -4.43317 16 0.493378 -6.13641 0.574092 -4.82037 17 0.470154 -6.5552 0.547069 -5.23916 18 0.447144 -6.99106 0.520294 -5.67502 19 0.424286 -7.44683 0.493697 -6.13079 20 0.401611 -7.92388 0.467313 -6.60784 21 0.379028 -8.42657 0.441035 -7.11053 22 0.356201 -8.96609 0.414474 -7.65006 23 0.33371 -9.53262 0.388303 -8.21659 24 0.310913 -10.1472 0.361777 -8.83118 25 0.287811 -10.8178 0.334896 -9.50181 26 0.265076 -11.5326 0.308441 -10.2166 27 0.242493 -12.306 0.282163 -10.99 28 0.219391 -13.1756 0.255282 -11.8596 29 0.196747 -14.1218 0.228934 -12.8058 30 0.173798 -15.1991 0.20223 -13.8831 31 0.150818 -16.4309 0.175491 -15.1149 32 0.128052 -17.8523 0.149 -16.5363 33 0.105438 -19.54 0.122687 -18.224 34 0.0824585 -21.6753 0.0959483 -20.3593 35 0.0596924 -24.4816 0.0694578 -23.1656 36 0.0370789 -28.6175 0.0431448 -27.3014 37 0.0132446 -37.5592 0.0154114 -36.2432
Attachment:
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user