[Release][PX5] MtcdAutoVolume - Adjust volume level to speed - MTCD Software Development

MtcdAutoVolume
ReadMe
Source code
Latest release​
Install, configure and enjoy
No root access required
No xposed framework needed
Automatic startup
Volume level is set in percentage in range <0, 100>%.
Speed range is <0, 139> Kph or <0, 86> Mph.
Generation of volume level in linear manner.
Keep music playing while configuring MtcdAutoVolume. Sliding on seekbar will change volume level what gives you preview of volume level settings.
Disable or enable automatic volume adjustment with MtcdTools
Create Broadcast Intent action with following parameters:
Code:
Intent action: com.microntek.f1x.mtcdautovolume.toggle
Then bind it to the desired keys sequence. Toast message with current status of automatic volume adjustment will be displayed.
Click to expand...
Click to collapse
02.07.2017: Version 1.0 has been released
Click to expand...
Click to collapse
If you enjoyed using of the application, you can support my work and Donate to me .
Best regards,
f1x

Sounds great!
You wrote: Volume level is set in percentage in range <0, 100>%.
I´m a little bit confused. An example: I drive with 50km/h and change the main volume to Level 20. Then i accelerate to 100km/h, volume set to maybe 80% => Volume sets down to Level 16?
Therefore a Question for clarifying: Does that mean there are absolute volume changes (which would not be very useful) or are relative changes?
Best regards
Swen

I tried the app and I confirm that it changes absolute levels which indeed is not useful. It would be great if it was just adding percentage to the current volume level. Maybe if there was a toggle to switch between absolute and relative changes and one to switch generally on and off it would be perfect.

Same, the settings are absolute. I honestly would only need to start adding volume in increments of 5 percent at motorway/highway speeds (100km/h and higher) because that's really when road noise starts affecting music

Yesterday I had also tested the new SDVC-Tool. It behaves exactly as thought. If you decrease or increase the volume it jumps back during llittle speed changes. Absolute volume changes make no sense.
Sorry, but the software is currently unusable. Relative volume changes regard to main volume level is required.
Im not a hacker, but i would try to write down my pretty simplified algorithm ideas for general relative SDVC (with +/-3km Hysteresis to prevent for to often volume changings at speedclass edges):
Code:
definitions / precondition
(
speedclass [ 30, 60, 90, 120, ... ] // array with speed edges trigger for example [kmh]
speedclass indexnumber := 0 // start with lowest speed trigger
v_step := 1 // volume change step level
.....
)
main()
{
while (1)
{
if ((current gps speed -2) > content of speedclass indexnumber) // 3 kmh hysteresis
{
main volume level := main volume level + v_step // relative increasing main volume
speedclass indexnumber := speedclass indexnumber +1
}
if ((current gps speed +2) < content of speedclass indexnumber) // 3 kmh hysteresis
{
main volume level := main volume level - v_step // relative decreasing main volume
speedclass indexnumber := speedclass indexnumber -1
}
}
}
Best Regards
diefem

Yes, we need a gps speed based auto volume control app adjusting the manually set volume level. The auto leveling should add or subtract from the level set by user (any level) - this will be a MUST HAVE app on any car stereo!!!

mrbuz said:
Yes, we need a gps speed based auto volume control app adjusting the manually set volume level. The auto leveling should add or subtract from the level set by user (any level) - this will be a MUST HAVE app on any car stereo!!!
Click to expand...
Click to collapse
Search - its already available, there are multiple choices.

marchnz said:
Search - its already available, there are multiple choices.
Click to expand...
Click to collapse
Regular apps are useless (GPS Volume, Speed Volume, SVC+ etc) because Android doesn't control volume on our devices, MCU does instead, as I have found out after buying/trying everything from GooglePlay...
This one didn't work (surprisingly):
MTCDAutoVolume Current Version : v1.0
App that compensates volume according to speed. No Root Required.
https://forum.xda-developers.com/and...olume-t3630636
https://github.com/f1xpl/MtcdAutoVol...AutoVolume.apk
Will try Gracer's tomorrow and I don't know what else I could try if it doesn't work properly - It has to add or subtract volume depending on speed readings from GPS in a linear manner from the manually set volume as the unadjusted level point.

I really hope someone could code an app with this. This can be a good thing to have.

mrbuz said:
Yes, we need a gps speed based auto volume control app adjusting the manually set volume level. The auto leveling should add or subtract from the level set by user (any level) - this will be a MUST HAVE app on any car stereo!!!
Click to expand...
Click to collapse
UPDATE:
I finally can CONFIRM that Graser's app in combination with Exposed does what is expected from auto volume leveling from speed! It works on my Dasaita HotAudio PX5 device. If you have problems upon doing so - check to have an updated MCU and play with the settings a bit (there are just a few but just one wrong can spoil the whole operation).
The volume level adds/subtracts from any manually set volume. Adding and subtracting amounts are preset by user as well as speed steps when to apply volume changes.
THANK YOU DEVELOPERS, THANK YOU!
Now my car is luxurious
PS plus a nice screensaver for my car as well, along the way of getting speed volume...

mrbuz said:
UPDATE:
I finally can CONFIRM that Graser's app in combination with Exposed does what is expected from auto volume leveling from speed! It works on my Dasaita HotAudio PX5 device. If you have problems upon doing so - check to have an updated MCU and play with the settings a bit (there are just a few but just one wrong can spoil the whole operation).
The volume level adds/subtracts from any manually set volume. Adding and subtracting amounts are preset by user as well as speed steps when to apply volume changes.
THANK YOU DEVELOPERS, THANK YOU!
Now my car is luxurious
PS plus a nice screensaver for my car as well, along the way of getting speed volume...
Click to expand...
Click to collapse
Hi, where can I find graser’s app?

i have mtcd px5 6.0.1 , i install ( mtcdautovolume 1.1 ) but its not work !! hot to make it work ? thanks

Notes: MTCVolume app sets directly the system volume increments up and down.
Apps that set the relative volume have one problem.
Manually setting the volume removes the relative offset, which means if you want to turn up/down the volume at speed, it suddenly snaps back to the absolute volume level, so it gets a lot quieter. No app seems to be able to set the volume back up without slowing down / speeding up.

Overmann said:
Notes: MTCVolume app sets directly the system volume increments up and down.
Apps that set the relative volume have one problem.
Manually setting the volume removes the relative offset, which means if you want to turn up/down the volume at speed, it suddenly snaps back to the absolute volume level, so it gets a lot quieter. No app seems to be able to set the volume back up without slowing down / speeding up.
Click to expand...
Click to collapse
one that works best there is. Here I can not say what it is. With all due respect to the work of the MTCDautovolume developer. It should continue to develop its application.

clsbuilder said:
Hi, where can I find graser’s app?
Click to expand...
Click to collapse
Ditto. can anyone point the way?
EDIT: I presume it is the one here: https://forum.xda-developers.com/showpost.php?p=72622247&postcount=3

Hi Sir , Good day
Please help how to install tar.gz and configure or clip video hoe to ?
Thank you very much for your kind support

I have a PX3 7.1.2 MTCE_KLD_V2.73_1
can i install this and get it to work? This is one feature I really miss from the stock unit I had.
If not, can anyone one put me in right direction?

Going try this later, but how is it pulling speed, via CANBUS Or GPS?

It pulls through GPS.. is there any way to get speed from an OBD2 Bluetooth dongle?

vassandrei said:
It pulls through GPS.. is there any way to get speed from an OBD2 Bluetooth dongle?
Click to expand...
Click to collapse
Of course there is. In fact, speed is available via CANBUS on most cars, and definitely via OBD2 on all cars. My 20+ year old VW Lupo could do that.

Related

[GUIDE]Registry Tweaks for Volume

Edit:
As nir36 move the contents of this thread
Perhaps it can be deleted, there is no point to have it anymore...
Added In-Call Volume and Ring volume
Aegishua said:
Sorry if this has already been posted but there are a couple of things that are worth outlining to most users.. for example there are registry entries that allow you to change the volume and increase it significantly beyond windows actually supports and there are various other edits.. but one edit i really would like is to disable the Incoming Call Bubble..(haven't found a solution for it yet) but i thought i'd just provide everyone else with what i've found so far. (I take no credit for these registry edits)
Volume Edits
HKCU\ControlPanel\Volume\
DWORD - Ringer
(HEX)Increase it to 0x#<change it to 5 or higher> to increase it to its maximum volume. - Only tested on the Atom Life
(DEC)Increase it to over 5 to increase the volume
DWORD - Volume
Same as Ringer DWORD
In Call Edits
REMOVE SOUNDS WHEN ADJUSTING VOLUME INCALL
HKCU\ControlPanel\Sounds\StandardIncallVolume
HKCU\ControlPanel\Sounds\QuietestIncallVolume
HKCU\ControlPanel\Sounds\LoudestIncallVolume
STRING - Script
Remove the 'p' in the script strings to remove the noises while in a call. This makes the volume increase smoother and removes the annoying noises.
INCREASE INCALL VOLUME
HKCU\Control Panel\SoundCategories\InCall
DWORD - InitVol
Defaults to around 2 - 5, Increase this to 5 or Higher
Ringtone Edits
HKCU\ControlPanel\Sounds\Ringtone0
STRING - Script
RINGTONE VOLUME
HKCU\Control Panel\SoundCategories\Ring
DWORD - InitVol
Defaults to around 2 - 5, Increase this to 5 or Higher
Notifications Edits
HKCU\ControlPanel\Notifications
This works for any Script DWORDs in most if not all of those strings.
EG. To Show the icon on the taskbar, vibrate and play the sound selected
Reg: HKCU\ControlPanel\Notifications\Phone\Options
HEX Value - 0x3
DEC Value - 3
PS: If this is already done.. Close the thread or PM me and i'll delete it.
Click to expand...
Click to collapse
What should I edit to increase the system sound volume (i.e the volume of music playing)
Also, please tell me how much to increase so that I do NOT damage my device in any case.
Thanks
Hope this can go in the guides thread.
nir36 said:
Hope this can go in the guides thread.
Click to expand...
Click to collapse
I read the guide, but there's a confusion.
What should I modify to increase the volume of the music playing, and also by what value should I increase so as NOT to damage the device.
THanks
lamborg said:
I read the guide, but there's a confusion.
What should I modify to increase the volume of the music playing, and also by what value should I increase so as NOT to damage the device.
THanks
Click to expand...
Click to collapse
Myself RAWR said:
HKCU\ControlPanel\Volume\
DWORD - Ringer
(HEX)Increase it to 0x#<change it to 5 or higher> to increase it to its maximum volume. - Only tested on the Atom Life
(DEC)Increase it to over 5 to increase the volume
DWORD - Volume
Same as Ringer DWORD
Click to expand...
Click to collapse
Okay essentially, you open the registry editor on your phone and then make your way to the Volume String. from there you'll see a number of DWORDS and what not. Select Volume and edit the value. Change it to something like 5 or higher than the value that was already there. Soft reset after that
Alternatively you can install the SRS WOW HD driver if your phone supports it (most phones do). Download it Here
ok, the guide was moved to the GUIDES thread... post 25.

System/media volume

I am aware that system volume is tied to media volume (which is stupid and can't be explained by any logic) so I'm using AudioGuru widget to set my audible selection (tick) sounds to the level that I like while keeping my media volume at different level.
Now, everytime I use navigation (google) or phone, system volume seems to re-set itself again. Anyone else is annoyed with that or am I just being picky?
BTW, since I'm going to be using CM as soon as it comes out, I opened a new enhancement request on CM tracker regarding broken system volume issue (i.e. it does not stay at pre-set levels but rather follows media volume which is really annoying)
Please star it so we can get some resolution (hopefully in the form of separate slider in settings) and it trickles down to other roms.
You can vote on it HERE
Thank you in advance.

Lowest media volume still way too loud. Is it possible to lower the minimum volume?

When I listen to music in a quiet room, even on the lowest volume it's way too loud (using earphones). I know there are tweaks to boost the volume above the hardware default, but is it possible to do the opposite?
What I've tried:
- Increasing the number of steps on the volume slider but the lowest volume is still the same.
- "Fine Volume App" - didn't work either
Any ideas?
I'm running Resurrection Remix on 6.0.1.
Thanks!
magnoidgoat said:
When I listen to music in a quiet room, even on the lowest volume it's way too loud (using earphones). I know there are tweaks to boost the volume above the hardware default, but is it possible to do the opposite?
What I've tried:
- Increasing the number of steps on the volume slider but the lowest volume is still the same.
- "Fine Volume App" - didn't work either
Any ideas?
I'm running Resurrection Remix on 6.0.1.
Thanks!
Click to expand...
Click to collapse
Read the thread on manually boosting the volume, it states exactly what changed, just lower those settings and test, rebooting each time
acejavelin said:
Read the thread on manually boosting the volume, it states exactly what changed, just lower those settings and test, rebooting each time
Click to expand...
Click to collapse
Thanks for the response.
Doesn't this only change the maximum possible volume though, not the lowest possible volume?
magnoidgoat said:
Thanks for the response.
Doesn't this only change the maximum possible volume though, not the lowest possible volume?
Click to expand...
Click to collapse
I'm pretty sure it's like a multiplier... if you change it from 90 to 84 the total volume will lower over the entire range, at least that is what I thought.

Speakers too loud - when set to lowest level

The speakers on my OP7pro are too loud. Well, I hear you say: who cares. But whatever I watch: Youtube, MP4 movies, WhatsApp funny vids, listen to music via loudspeakers:
when set to the lowest level-indicator it is still at least 3 to 4 times louder then on my OP5. It's very disturbing, because sometimes you just want some privacy which I can't have.
Is there anyone who has a tip or trick to set the LOW level LOWER?
Are you rooted? If so, enable (way) more volume steps in build.prop and see if lowest is low enough :good:
Pfeffernuss said:
Are you rooted? If so, enable (way) more volume steps in build.prop and see if lowest is low enough :good:
Click to expand...
Click to collapse
Ofcourse I'm rooted
But how to do your build.prop thingy is new to me. I am not super experienced. Would and could you help me with some kind of instruction / manual / step by step?
Much appreciated!
exis_tenz said:
Ofcourse I'm rooted
But how to do your build.prop thingy is new to me. I am not super experienced. Would and could you help me with some kind of instruction / manual / step by step?
Much appreciated!
Click to expand...
Click to collapse
Easiest, imho, is downloading this app: https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Open it, press the pencil icon at the top right, scroll all the way down and add these lines:
ro.config.vc_call_vol_steps=12
ro.config.media_vol_steps=12
I use 12 (as I completely dislike pressing numerous times to adjust volume to my liking) but you must enter something higher I presume
Save the changes, reboot. If still too loud at the lowest possible step then the minimal volume apparently is set too high on a hardware level
Download viper.
Install viper.
Configure the equalizer for the speaker and set all the lines of the equalizer to - 6db, that's what I did.
Pfeffernuss said:
Easiest, imho, is downloading this app: https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor
Open it, press the pencil icon at the top right, scroll all the way down and add these lines:
ro.config.vc_call_vol_steps=12
ro.config.media_vol_steps=12
I use 12 (as I completely dislike pressing numerous times to adjust volume to my liking) but you must enter something higher I presume
Save the changes, reboot. If still too loud at the lowest possible step then the minimal volume apparently is set too high on a hardware level
Click to expand...
Click to collapse
This worked. Big time. Put levels to 40. Thank you very much!
secXces_debaki said:
Download viper.
Install viper.
Configure the equalizer for the speaker and set all the lines of the equalizer to - 6db, that's what I did.
Click to expand...
Click to collapse
Will try that too, when I have some more time Thanks for sharing, appreciated!
exis_tenz said:
This worked. Big time. Put levels to 40. Thank you very much!
Click to expand...
Click to collapse
40 :0
it is saying error in savinbg the build.prop from samsung a5

Question Possible to increase volume steps?

The notification slider definitely needs fine volume control. By default it only has 7 steps (8 if you include zero) so notifications can still be quite loud and not discreet at all even on step 1.
Apparently with root this is something that can be adjusted?
How can I increase the number of volume levels?
Is it possible to increase the number of steps in the volume control? I'd like a finer grained control over the volume level. I have a Galaxy Nexus. Note: I don't want to boost the volume just cha...
android.stackexchange.com
There are a few too many options there to transport them all into a post.
You may also want to search in Magisk, since you need that to override the build.prop in Android 11 anyway.

Categories

Resources