112 pagesV  1 2 3 4 5 6 > »  
 
REPLY
> Modification and improvement of sound quality | 4.0+
Roman_city
Message#1
26.09.17, 13:10
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

Модификация и улучшение качества звука андройд | Modification and improvement of sound quality android download



Android: 4.0+

This topic was created to improve and enhance the sound characteristics of android devices, where everything is described in detail from simple actions in build.prop, ending with the introduction of third-party audio libraries into your smartphone.

I will update the topic in the course of time

For all actions, you will need to have root rights

Sampling and audio bitrate
Go to /system/etc/audio_policy.conf
Responsible for the sound from the speaker and headphones
Find the strings
audio_hw_modules {
primary {
outputs {
primary {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER | AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE | AUDIO_DEVICE_OUT_ALL_SCO | AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_PRIMARY
}
}


Bluetooth headset settings
Find the strings
a2dp {
outputs {
a2dp {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_ALL_A2DP
}
}
}

We change the parameters, the higher the better the sound quality, some of the system may not pull and there will be a cod or the sound will disappear, then set the values ​​below.
Start by raising the bit rate, then increase the frequency of discrimination
For their entry into force, you will need to restart
Responsible for the frequency of the discrimination of audio, change to48000 96000 192000 384000 576000 768000576000,768000 for pc versions of androids
sampling_rates 48000
It happens that the system does not support 24 and works 8_24 instead.
If a weak amplifier is built in, the sound may become very quiet but it will not stutter (it is not possible to raise the volume level, even programmatically)
Responsible for audio bitmap
formats AUDIO_FORMAT_PCM_16_BIT

List of formats, by quality
AUDIO_FORMAT_PCM_16_BIT
AUDIO_FORMAT_PCM_24_BIT
AUDIO_FORMAT_PCM_24_BIT_PACKED
AUDIO_FORMAT_PCM_8_24_BIT
AUDIO_FORMAT_PCM_32_BIT
Configure /system/etc/audio_policy.conf
Optional functions, but in some devices the filter is already inserted and there will be no sound without it.
They may or may not work if there is no sound.
The code is inserted into the function.outputs, right afterprimary
samling_ratesandformatsshould be the same as inprimary(some may have lost sound, then do not install above 16/48)

Audio output flags
AUDIO_OUTPUT_FLAG_PRIMARY (primary audio output, used as standard on most devices)
AUDIO_OUTPUT_FLAG_DEEP_BUFFER (Deep Buffer)
AUDIO_OUTPUT_FLAG_FAST (fast audio output)

Filter, can positively and nadotivno affect the sound (not all will work)
fast {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER | AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE
flags AUDIO_OUTPUT_FLAG_FAST
}


Filter flags
AUDIO_OUTPUT_FLAG_FAST
AUDIO_OUTPUT_FLAG_RAW
AUDIO_OUTPUT_FLAG_SLOW
AUDIO_OUTPUT_FLAG_WAV

Deep buffer
If the primary buffer flag is already enabled, then this is not necessary.
deep_buffer {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER | AUDIO_DEVICE_OUT_WIRED_HEADSET | AUDIO_DEVICE_OUT_WIRED_HEADPHONE
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
}


Compression in the headphone output is better not to use at all, there will be a loss in quality
For a2dp profile it is sometimes useful
compress_offload {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_MONO
formats AUDIO_FORMAT_FLAC
devices AUDIO_DEVICE_OUT_EARPIECE
flags AUDIO_OUTPUT_FLAG_DIRECT
}

The list of audio compression formats from the highest to the lowest quality (this is not the entire list, but the most normal ones) (not all will be supported)
AUDIO_FORMAT_FLAC
AUDIO_FORMAT_ALAC
AUDIO_FORMAT_APE
AUDIO_FORMAT_VORBIS
AUDIO_FORMAT_WMA
AUDIO_FORMAT_WMA_PRO
AUDIO_FORMAT_MP3

Flags for compression
AUDIO_OUTPUT_FLAG_DIRECT (direct audio output)
AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD (compresses the discharge at the output)
AUDIO_OUTPUT_FLAG_NON_BLOCKING (audio output is not blocked)
Connecting 64 bit audio library instead of 32 bit
Make sure that lib64 has a folder and files in soundfx.
Log in /system/etc/audio_effects.conf
And change lib to lib64
/system/etc/audio_effects.conf
bundle {
path /system/lib64/soundfx/libbundlewrapper.so
}
reverb {
path /system/lib64/soundfx/libreverbwrapper.so
}
visualizer {
path /system/lib64/soundfx/libvisualizer.so
}
downmix {
path /system/lib64/soundfx/libdownmix.so
}
loudness_enhancer {
path /system/lib64/soundfx/libldnhncr.so
}
ALSA driver, its installation and configuration
In some devices this library is already installed, you can check in / system / bin alsa_ctl files should be alsa_aplay alsa_amixer (/system/lib/libasound.so sometimes only a library without binaries)
Installation
To run use the codeenter in the terminal
#! / system / bin / sh
mount -o rw, remount / system
mkdir / system / etc / alsa
chmod 0755 / system / etc / alsa
f = / system / etc / alsa / $ (cat /proc/asound/card0/id).state
alsa_ctl -f $ f store
chmod 0644 / system / etc / alsa / *
alsa_ctl -f $ f restore
mount -o ro, remount / system

Expand all files in folders from the archive, and give permission
Edit file permissions
/ bin / alsa_amixer 0755
/ bin / alsa_aplay 0755
/ bin / alsa_ctl 0755
/lib/libasound.so 0644
/ usr / share / alsa // all folders 0755, all files in the alsa 0644 folder

Driver for 32/64 bit processors:Attached filealsa_32bit.zip(405.16 KB)
(Restriction androyd from 4 to 6 above will not work)

Supplement put in / system / lib / hw with rights 0644 (can both positively and negatively affect the sound):Attached filealsa.default.so.zip(12.96 KB)


Ready script to run alsa:Attached filealsa.sh.zip(272 bytes)


# Non-standard
It has a high-quality audio processing algorithm.
Install with replacement, if this library is available in /system/lib/libasound.so, if it is not useless (perhaps there is an effect, but not sure) there should be no alsa binaries in / system / bin, otherwise the sound will disappear from the backup library,make a copy of the original for safety :)
Samsung GS8 + asound library:Attached filealsa_asound_sgs8 + .zip(262.15 KB)

Check ALSA works or not
Enter the code in the terminal
mount -o rw, remount / system
mkdir / system / etc / alsa
chmod 0755 / system / etc / alsa
f = / system / etc / alsa / $ (cat /proc/asound/card0/id).state
alsa_ctl -f $ f store
chmod 0644 / system / etc / alsa / *

The /system/etc/alsa/map_map.state file appears in the folder.
Then enter this command
alsa_ctl -f $ f restore
The sound will disappear for a while after it is turned on again, then the library is connected (if the sound does not appear, connect and disconnect the headphones)

Instructions for setting up ALSA

Third-party (ported) sound libraries
All audio libraries are usually stored in / system / lib (lib64) / soundfx
A list of standard effects with a description:
/libaudiopreprocessing.so
Audio pre-processing - processing of unprocessed sound before applying effects, cleaning bad areas and overloads in a track after alignment and normalizing sound to a specified level.
/libbundlewrapper.so
Low Frequency Amplifier and Normalizer
/libdownmix.so
Convert multichannel sound to dual channel
/libldnhncr.so
Enriching the stereo image of the incoming sound
/libreverbwrapper.so
Reverberation
/libvisualizer.so
Responsible for displaying visualization
Setting and connecting audio libraries
Connecting libraries using the example of a standard bass amplifier, the library is in libraries {up to closing brackets}
1. The line is responsible for the name and opens with a bracket.
2. String library location
3. Closing the function
With the library, there are unique uuid effects (sometimes they are not), added to effects {}
1. String effect name
2. The string name of the library that was written above.
3. String with uuid
4. Closing effect

libraries {

bundle {
path /system/lib64/soundfx/libbundlewrapper.so
}
}
effects {

bassboost {
library bundle
uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
}
}



Standard (improved), superior to most libraries in processing quality
Just put the replacement in / system / lib / soundfxassigning them the right 0644
For 64 bit, check both, the sound is very different
Library list:
/libbundlewrapper.so
/libldnhncr.so
/libreverbwrapper.so
/libdownmix.so

They work on both 32 two and 64 bit processors:Attached filestandard_32bit.zip(83.28 KB)


Libraries put in / system / lib64 / soundfx with replacement
For 64 bit processors:Attached filestandard_64bit.zip(80.33 KB)


Adapted libraries to optimize sound for 32/64 bit processors
Libraries took from 6 androids, but should work on the versions below, since they are universal
IMPORTANT make backup system partition can not guarantee 100% of the libraries (the phone may hang on the eternal animation), you can go through one by one and watch how the smartphone behaves
Installation: transfer all libraries with replacement to / system / lib and give rights0644
You can simplify the process of editing rights
su# get root
mount -o rw, remount / system# translation of the system partition in the record
chmod 0644 /system/lib/*.so# change of rights

Library list:
/libaudioflinger.so
/libaudioresampler.so
/libaudiospdif.so
/libaudioutils.so
/libeffects.so
/libinput.so
/libinputflinger.so
/libsonic.so
/libsonivox.so
/libsoundtrigger.so
/libspeexresampler.so
/libwebrtc_audio_coding.so
/libwebrtc_audio_preprocessing.so


In general, increases the overall volume, clarity, bass.
Attached fileaudio_engine.zip(1.24 MB)


Samsung Galaxy S8 audio engine port
Beats Libraries
Sound effects port
Codecs from SONY, Samsung and other devices
Useful information
Restart the interface, so as not to wait for a long reboot, the changes also take effect
su
am restart
Sound modifications
useful links


Post has been editedderak1129 - 28.04.19, 04:18
Reason for editing: Making sound at the flagship level.
Roman_city
Message#2
26.09.17, 17:26
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

Detailed instructions for setting up ALSA

Get better sound at the output.

Main configuration file /system/usr/share/alsa/alsa.conf
Change sound card if there are 2
The presence and number of sound cards can be checked with the command in the terminal
cat / proc / asound / modules
If, for example, a standard card is issued, one is adapted for music, it should support 32 or 24 bit processing and 192,000 discrimination, although it happens that the standard one does not behave badly on such processing.
0 mtkcard
1 hdcard
# default 0, write 0 or 1 depending on the availability of cards
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 0


Find and change data strings
strongly influences sound
defaults.pcm.dmix.rate 48000# let's raise to 96000/192000 as far as the system allows
defaults.pcm.dmix.format "U16_LE"# processing format I recommend using U32_LE or U24_3LE U18_3LE
Full list of formats
S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE

strongly influences sound
defaults.pcm.file_format "raw"# I recommend using "wav" there are still au and voc
Details about formats
Au file format is a simple audio file format introduced by Sun Microsystems. The format was distributed on NeXT systems and on early webpages. Initially, it was without a header, was simply 8-bit data encoded according to the law of Ој-law, with a sampling frequency of 8000 Hz. Hardware from other manufacturers often used sampling rates up to 8192 Hz, often integer coefficients of video signals. Newer files have a header consisting of six unsigned 32-bit words, an optional information block, and then data (in a large ending format).
RAW Audio or just RAW Audio is an audio file format for storing uncompressed audio in its raw form. Comparable to WAV or AIFF in size, the RAW Audio file does not contain header information (sampling rate, bit-depth, end, or number of channels).
Waveform audio format (WAVE or better known as WAV because of the extension of its name) [3] [6] [7] [8] (rarely, Audio for Windows) [9] is a standard of the Microsoft and IBM audio file format for storing audio stream on pc. This is a file exchange format (RIFF) bitstream format for storing data in “chunks” and, therefore, also close to the 8SVX and AIFF format used for Amiga and Macintosh computers, respectively. This is the main format used in Windows systems for raw and usually uncompressed audio. Normal bit coding is linear pulse code modulation (LPCM) format.
VOC file format is a compressed file format that reduces the size of an audio file.


DMIX settings /system/usr/share/alsa/pcm/dmix.conf
On the ALSA off site, detailed information is not found about this file. A rather complicated file to set up, by default, good values ​​are enough.
I don’t know the limit values, but they are above 2000 and -2000
Increases volume, changedefault
period_size {
@func refer
name {
@func concat
strings [
"defaults.dmix."
{
@func card_driver
card $ CARD
}
".period_size"
]
}
default 1024
}



Values ​​are higher, high and medium rises, if the minus bass is greater, changedefault
periods {
@func refer
name {
@func concat
strings [
"defaults.dmix."
{
@func card_driver
card $ CARD
}
".periods"
]
}
default -1
}
}


The function significantly transforms the sound, by default 16, if you lower it to 0 and below, the sound will be bass, on the contrary, high and medium voices will be expressed, clearer
changedefault
periods {
@func refer
name {
@func concat
strings [
"defaults.dmix."
{
@func card_driver
card $ CARD
}
".periods"
]
}
default 16
}
}



Post has been editedRoman_city - 28.09.17, 16:54


--------------------
winston6
Message#3
27.09.17, 21:01
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 58
Check in: 11.02.14

Reputation:-  2  +

Roman_city
Where is the file alsa.sh?
Put in system / su.d does not work. I understand that in
system / etc should appear
alsa folder.
Roman_city
Message#4
27.09.17, 21:57
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* winston6,
did not take into account the creation of the folder, the script corrected
in su.d or init.d, the main thing that would run with the system
manually create a folder

Post has been editedRoman_city - 27.09.17, 22:27


--------------------
max057579
Message#5
29.09.17, 10:20
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 325
Check in: 30.09.13
Huawei P Smart FIG-LX1

Reputation:-  8  +

Nobody caught the bootloop after replacing the handler?


--------------------
Your ad could be here (^. ^)
winston6
Message#6
29.09.17, 17:15
User
****
[offline]

Group: Friendssavagemessiahzine.com
Messages 58
Check in: 11.02.14

Reputation:-  2  +

After installing the alsa.sh file, the phone loads for a very long time. After several reboots, the sound disappears altogether. If you delete the alsa.sh file everything comes back to normal
Roman_city
Message#7
29.09.17, 17:43
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* winston6,
enter all the code in the terminal and the answer from the terminal here


--------------------
max057579
Message#8
29.09.17, 19:39
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 325
Check in: 30.09.13
Huawei P Smart FIG-LX1

Reputation:-  8  +

Can I help with the development of this topic?
I have on hand htc one with an improvement from beats audio ..


--------------------
Your ad could be here (^. ^)
Roman_city
Message#9
29.09.17, 21:05
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* max057579
if you have any ideas of course


--------------------
Roman_city
Message#10
30.09.17, 13:00
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

Beats Libraries
Originalbut here is an extended version
These operations on the device are safe, that is, they will not lead to crashes and perpetual device loads!
Powered by arm / arm64 / x86
Do not push everything at once, they are very strongly influenced by the sound even at the slightest change, you can spoil it and increase the sound

Installation: all files 0644 permissions, folders 0755, exception / bin / all files, permissions 0755
Inside there is a file for adding effects to audio_effects.conf
Additionally, the folder beats_expansion contains everything else in it (no need to push in the system)
Inside the archive is the folder beats_expansion, it contains all other sound configurations
Files with the extension /etc/*.bin throw in / system / etc with the rights 0644, I recommend using 1 from each subsection bas, dyn, img, peq (maybe one is enough)



The list of main lines to which all other settings and either / system / lib are connected:
/system/lib/soundfx/libbeatsbass.so
/system/lib/soundfx/libsrsfx.so
/system/lib/soundfx/libsrstb.so

Library functions in / system / lib

Description of effects:
/etc/*.bin output sound configuration
The / etc / soundimage folder contains the basic settings for the SRS, equals the sound, bass busts, voice and high amplifiers, etc., copy to / system / etc / soundimage with 0644 rights
Understand the name
In the / etc / audio folder, files that copy, limit and equalize the frequency response of the output signal.

/ system / bin / sound limiter
/system/lib/soundfx/libbeatsbass.sobass booster
/system/lib/soundfx/libsrsfx.soeffects of stereo image extension, reverb, distortion, etc.
/system/lib/soundfx/libsrstb.soSomething like a compressor
/system/lib/soundfx/libsrscore.so helps libsrsfx.so, compresses sound
/system/lib/soundfx/libbeatscorehtc.so helps libbeatsbass.so
/system/lib/soundfx/libharmancorehtc.so excites the high frequency spectrum, the voices are cleaner

Attached files

Attached filelibraries_beats_audio.zip(1.89 MB)


Post has been editedRoman_city - 14.10.17, 14:41
Reason for editing:


--------------------
_Fridge_
Message#11
12.10.17, 07:32
Old resident
*******
[offline]

Group: Friendssavagemessiahzine.com
Messages 1298
Check in: 19.03.13
Xiaomi Redmi Note 5 3/32

Reputation:-  241  +

I set the sampling rate to 384000, the sound did not disappear, smart redmi 3s, percent snap 430.

Post has been editedne navizu lg - 12.10.17, 07:33
Reason for editing: Corrected


--------------------
Xiaomi Redmi Note 5 3 / 32GB [OxygenOS ob30, ROOT Magisk, KangarooX-EAS-r-4.4], Mi Band 2 HW: v.0.1.3.3.
Former Curator 4
Roman_city
Message#12
14.10.17, 14:35
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

Sound tuning and equalization in SRS Processing

It is put mainly on budget models, maybe I am mistaken (as an example I took from the Leagoo M8)
Maybe someone will earn it without the presence of this library
Availability is checked by finding the files: in /system/lib/libsrsprocessing.so ../system/data/srs_processing.cfg (sometimes it is in etc)

The version of the program itself, whether the program is turned on or not, and the level of output gain
// BLOCK: srs_cfg
// Config - Non-IP Configuration
: srs_skip = 1 # Skips any SRS processing. 0 - no, 1 - yes
: trumedia_enable = 0 # enabled or not
: trumedia_preset = 0 # which preset uses, 0 - music, 1 - movie, 2 - podcast
: trumedia_igain_int = 1.000
: trumedia_igain_ext = 1.000
: vol_int_enable = 0 # volume control
: trumedia_skip = 0

Limiter and enable, disable presets (which you can customize)
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_cfg
// Config - EQ Preset Configuration
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_cfg:
: geq_int_enable = 0 includes int 0 - no, 1 - yes
: geq_int_limit_enable = 0 # limiter int
: geq_int_preset = 0 # preset number used
: geq_ext_enable = 0 # includes ext 0 - no, 1 - yes
: geq_ext_limit_enable = 0 # ext limiter
: geq_ext_preset = 0 # preset number used


Turning on and off, and how exactly the effects on the headphone, speaker and bluetooth headset effects will sound
// BLOCK: srs_route_out
// Routing - Output Device Routing
srs_route_out:
// INFO: routing_info = 0 = int (use int presets), 1 = ext (use ext presets), -1 = disable srs processing, -2 = int dsp, -3 = ext dsp
: force_route = -1
: earpiece = 1
: speaker = 0 # speaker
: wired_headset = 1 # headphones
: wired_headphone = 1 # headset
: bt_sco = -1
: bt_sco_headset = 1 # bluetooth headset
: bt_sco_carkit = -1
: bt_a2dp = 1 # bluetooth headset
: bt_a2dp_headphones = 1 # Bluetooth Headset
: bt_a2dp_speaker = -1
: aux_digital = -1
: dock_analog_headset = 1 # connected through the docking station
: dock_digital_headset = 1 # connected through the docking station
: usb_accessory = 1
: usb_device = 1


WOWHD - Music SRS Basic Settings for int, enabling and disabling effects(likewise for ext)
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_mus_int
// WOWHD - Music-Internal
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Tru Bass - string emulates a vertical bass sound

srs_mus_int:
: wowhd_igain = 0.600 # audio input gain
: wowhd_ogain = 1.000 # audio output gain
: wowhd_trubass_enable = 0 # enable disable 0-1
: wowhd_trubass_min = 0.000 # minimum frequency of exposure in hertz
: wowhd_trubass_window = 1.000 # size
: wowhd_trubass_slide = 0.000 # how smooth it will be
: wowhd_trubass_slide_udef = 0.000 # practically does the same thing as slide
: wowhd_trubass_compressor = 0.000 # compressor cuts off excess frequencies that rise above 0 dB
// ALIAS: wowhd_trubass_size // TruBass Speaker Size
: wowhd_trubass_freq = 500 # main frequency affected by - frequency
: wowhd_trubass_analysis = 300 # analysis size - frequency
: wowhd_trubass_sa_enable = 1 # enable disable split analysis
: wowhd_trubass_mode = 0 # Tru bass mod (0 - mono, 1 - stereo)
: wowhd_xover_enable = 1 # filter cutoff frequency for the speaker
: wowhd_xover_order = 4 # degree of impact (maximum - 6)
: wowhd_xover_freq = 750 # frequency (I recommend 250)
: wowhd_hpf_enable = 1 #Hi pass Filter - cuts the frequencies below the set filter
: wowhd_hpf_order = 4 # degree of impact (maximum - 6)
: wowhd_hpf_freq = 250 # frequency
: wowhd_srs_enable = 0 # SRS3D - creates a 3D feel
: wowhd_srs_space = 0.700 # impact on the right and left channel
: wowhd_srs_center = 0.500 # center impact
: wowhd_srs_mode = 1 # (0-mono, 1-one speaker, 2-stereo, 3-extreme
: wowhd_srs_speaker = 0 # sound type (0 - speaker, 1 - headphones)
: wowhd_focus_enable = 0 # enable disable focus
: wowhd_focus = 0.170 # The degree of exposure to focus
: wowhd_definition_enable = 0 # audio clarity 0-1
: wowhd_definition_min = 0.000 # minimum exposure
: wowhd_definition_window = 0.500 # size
: wowhd_definition_slide = 0.000 #
: wowhd_definition_slide_udef = 0.100 #
: wowhd_widesur_enable = 0 # disables stereo image extension
: wowhd_widesur_igain = 1.000 # gain
: wowhd_widesur_centerboost = 0.500 # center gain
: wowhd_widesur_separation = 0.500 # degree of sound mixing
: wowhd_skip = 0 # skip effects or not 0 no, 1 yes


HLimit - Music Gain
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_mus_boost_int
// HLimit - Music-Internal Boosted
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_mus_boost_int:
: hlimit_igain = 1.000 # input gain
: hlimit_ogain = 1.000 # output gain
: hlimit_bgain = 1.000 # gain by pass
: hlimit_delaylen = 22 # simulates a delay (creates an echo)
: hlimit_decaysmooth = 1 # includes the use of anti-aliasing
: hlimit_boost = 7.000 # gain level
: hlimit_limit = 1.000 # limiter
: hlimit_skip = 0


HIPass - Internal Speaker HPF | Setting the high pass filter
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_hpf_int
// HiPass - Internal Speaker HPF
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_hpf_int:
: hipass_order = 4 # exposure level maximum 6
: hipass_frequency = 500 # frequency
: hipass_is32bit = 1 # Filter Accuracy (when 0 - 16bit)
: hipass_skip = 0 # skip 0 - no, 1 - yes


GEQ - GEQ Preset 0-Internal | 10 band equalizer (same for ext)
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
// BLOCK: srs_geq_0_int
// GEQ - GEQ Preset 0-Internal
//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
srs_geq_0_int:
: geq_presetname = # preset number
: geq_defgains = 0,0,0,0,0,0,0,0,0,0 # default values
: geq_usergains = 0,0,0,0,0,0,0,0,0,0 # custom values

It looks something like this, possibly accurate: 31 Hz, 62 Hz, 125 Hz, 250 Hz, 500 Hz, 1 kHz, 2 kHz, 4 kHz, 8 kHz, 16 kHz
Values ​​from -10 to 10 or less as not tested


Attached files

Attached fileSRS_Processing.zip(276.33 KB)


Post has been editedRoman_city - 16.10.17, 16:00
Reason for editing:


--------------------
sergey248734
Message#13
15.10.17, 00:04
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 189
Check in: 23.03.15
Xiaomi Redmi Note 5A 2/16

Reputation:-  3  +

* Roman_city, I drive the code for alsa and that's it. The folder is created. And everything in it is empty. Where to dig?
Attached Image


Post has been editedsergey248734 - 15.10.17, 00:05


--------------------
Everything is super.
Roman_city
Message#14
15.10.17, 00:57
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* sergey248734
Do not you have a 7 android?


--------------------
sergey248734
Message#15
15.10.17, 01:12
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 189
Check in: 23.03.15
Xiaomi Redmi Note 5A 2/16

Reputation:-  3  +

* Roman_city8 bucket

Post has been editedsergey248734 - 15.10.17, 01:12


--------------------
Everything is super.
Roman_city
Message#16
15.10.17, 01:44
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* sergey248734
On 8 will not work, the maximum in my 7


--------------------
sergey248734
Message#17
15.10.17, 11:10
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 189
Check in: 23.03.15
Xiaomi Redmi Note 5A 2/16

Reputation:-  3  +

* Roman_cityhow to read the log correctly? Help pliz.
Attached Image


--------------------
Everything is super.
Roman_city
Message#18
15.10.17, 14:00
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* sergey248734
I do not really understand this myself, but the problem is in the assembly code, it is necessary to increase it to 26 (to recompile the alsa)


--------------------
sergey248734
Message#19
15.10.17, 18:35
Local
*****
[offline]

Group: Friendssavagemessiahzine.com
Messages 189
Check in: 23.03.15
Xiaomi Redmi Note 5A 2/16

Reputation:-  3  +

* Roman_cityCan you do it?


--------------------
Everything is super.
Roman_city
Message#20
15.10.17, 18:55
Experienced
******
[offline]

Group: Friendssavagemessiahzine.com
Messages 692
Check in: 02.01.12
Xiaomi Mi 8

Reputation:-  190  +

* sergey248734
not


--------------------
Dementy000
Message#21
17.10.17, 06:47
Veteran
********
[offline]

Group: Friendssavagemessiahzine.com
Messages 1977
Check in: 27.05.15
Wileyfox spark

Reputation:-  155  +

I tried to put alsa.
Files scattered manually, the startup script put in init.d.

The alsa_ctl -f $ f store command pops up such a varning.
u0_a103 @: / $ su
root @: / # alsa_ctl -f $ f store
WARNING: linker: /system/lib/libasound.so has text relocations. This is wasting memory hardening. Please fix.
alsactl: Specify command ...
root @: / #

The command alsa_ctl -f $ f restore sound, as promised, stalled, the device rebooted, there is sound after booting.

This is normal?

upd.
I forgot to say. Firmware Resurection Remix 5.7.4 (Android 6.0.1), SeLinux - only a warning.

Post has been editedDementy000 - 17.10.17, 07:02


--------------------
Once I tried to interview a census agent ... В©
SafeUM - secure messenger
Waterfox browser

112 pagesV  1 2 3 4 5 6 > » 


 mobile version    Now: 05/20/19 06:52