Hi, I am new to this forum. I am playing a sound in my Android app using ToneGenerator like below:
ToneGenerator toneG = new ToneGenerator(AudioManager.STREAM_ALARM, 100);
toneG.startTone(ToneGenerator.TONE_CDMA_ALERT_CALL_GUARD, 200);
But when the app plays the sound the volume is comparatively low. I understand that I have set the maximum volume in code. Also I have set max in volume in phone too. How can I play the sound in app relatively louder so that it is clearly audible to the user?
Related
Hi to All,
Before using my headset to listen to music I set the Ringer volume at maximum.
But the moment I touch the Volume rocker switch to change the media volume (during music play) the Ringer Volume automatically reduces and lowers to match the media volume.
After this has happened if a call comes in the only way I know is that the music mutes but I hear no ring tone. If I am lucky and in a very quiet environment I can just barely hear the ringtone in the background.
Is anyone else having this problem - and even better is there a solution?
I have the same concern, but it seems no one has any good answer.
in my case, I have this problem after I migrated to a ICS ROM. I have this problem both in stock and other custom ROMs.
I used audio concert app while in GB to have different volume profiles for with/without headset connected, and from what I can remember, I could hear the ringtone and notification sounds loud and clear.
On ICS, even if I set ringtone volume at MAX with headset connected, the ringtone is inaudible. The only way to notice an incoming call or sms is by music being muted. For ringtone, it is longer and so more noticeable, but for sms, it often goes unnoticed...
I'm on Kangy8 and I don't know if this issue is related to all ICS roms.
So when I adjust the media volume while listening to music I basically get this more or less:
- |..|..|..|..|..|..|......|.........| +
where some of the steps seem to be mapped to more than one volume level.
What the ... I don't even get it.
I want something like this:
- |..|..|..|..|..|..|..|..|..|..|..| +
I also don't understand the Voodoo Control Plus audio settings.
Current amplifier is a negative number. Why? So what I understand is, that it's amplifying the current volume?
I saw that CodenameAndroid comes with a 30 step volume addon but as far as I know this will conflict with voodoo sound.
I don't have that volume issue in the stock ROM on my i9023, possibly a kangy bug.
The amplifier level is simple and useful once you understand it. I'll give you some background first and some general numbers.
dB (decibel) is a unit, in an audio sense, which measures the pressure of sound waves. It is a logarithmic scale and requires a reference level to compare to. Basics with audio decibel values:
1dB : Threshold of noticing a volume change
3dB : A little louder
6dB : Double the sound pressure
10dB : We perceive sound approximately twice as loud
Now that's out of the way; the analog control tells the amplifier inside the phone how much it should amplify the sound. Using 0dB as a reference, which is generally the loudest it goes safely, how much less (in dB) would you like it to amplify. If you want it to halve the perceived volume, you'll drop it down to -10dB (effectively half as loud as full blast). The reason why you would want to do this is generally if there is excessive noise generated by the amp, lowering the amplifying power and raising the software volume will give you the same volume and power, but lower additional noise as the amp is working below it's limit. Higher quality DACs of course can reach their max amp capabilities and add no noticeable noise to the earphones/speakers, of course.
Hope that made sense
First, i'm not a "louder" lover, but sometime, when i'm listing music or youtube video with my headset (sennheiser), the volume is too low. What can I do to bypass the volume and make it louder?
I've found Poweramp, but it's for mp3... but i need to have a overall louder volume everywhere... and if possible, not artificial but a real louder volume.
Thanks!
So I only noticed just now the Nexus 5 did not come with any earbuds. I have been using some cheap Skullcandy earbuds for music and they are decent enough to block out transit noise and play music at a moderate volume. However when I try making a phone call, at the lowest volume the sound is just ridiculously loud. It is painful for me to attempt to listen to more then 10-15 seconds of call audio wearing these. I also tried with my Galaxy Nexus earbuds, and it's the same story.
Has anyone found a pair of earbuds with mic that delivers gentle, quiet call audio at the lowest call volume of the Nexus 5 on stock ROM? Failing that, is there anything I can do to decrease the headset call volume further than the volume control will allow?
Bump, anyone else experiencing this? It shouldn't be deafening to make a phone call with earbuds...
OK I'm going to bump this again. It got WAY worse on 4.4.1. While I appreciate the volume boost for the phone's speaker, the earbud volume situation is out of control. The lowest volume setting on music, in a quiet room, is the loudest I can tolerate on earbuds - no option of turning it down lower. The lowest volume setting on phone calls is earth-shattering on earbuds - completely unusable for conversations unless I want to go deaf.
Is there ANY way I can force call volume down further on the headphone jack? Hacks, kernels, Xposed modules? I really don't want to be locked out of being able to make calls with earbuds.
All perfect with 4.4.1, skullcandy have a very bad quality earbuds, better buy sennheiser.
jlmcr87 said:
All perfect with 4.4.1, skullcandy have a very bad quality earbuds, better buy sennheiser.
Click to expand...
Click to collapse
The sound quality is great, it's just too damn loud. Same with the earbuds that came with my Galaxy Nexus.
The call volume is ridiculously out of proportion with music volume. That is not the fault of the earbuds. The OS should not be pushing out call volume significantly louder than the music volume at a comparable setting.
OK, so a friendly individual in the Franco thread directed me to this:
http://forum.xda-developers.com/showthread.php?t=2532788
I simply used the same instructions for the mod but reduced the number rather than increase it. For call volume, the value that I changed was under path name "voice-headphones". The original setting was 20 and 20 for HPHL and HPHR volume. I turned them down to 05. I thought I heard a reduction from 20 to 10 but did not hear any further reduction from 10 to 05. Then I also tried reducing the RX1 and RX2 digital volume. I tried taking them from 84 down to 64 which was maybe a bit low, so I settled on 70. At that setting, the loudest IVR systems I've reached on the phone are just right at the lowest call volume setting, and I still have room to raise the volume in noisier environments.
The lowest volume setting when using headphones is just slightly too loud for me. I am using Vsonic VSD5S headphones which have an impedance of 45 Ohm. Is there anyway to lower the minimum volume? If possible, I would like to avoid rooting or installing any apps.
Unfortunately, there's not a way without root or installing apps, maybe the next OTA will solve the issue.
You have to root the device to do anything about it.
Have you tried going into the settings of the supplied music player to see if you could alter the audio settings.
Most music apps have preamp of replay gain settings to help this some what, but so far I found all of them suffer from terrible snr at low volume (aside from stock music player). I get around this with an external amp like the fiio e5 which had it's own volume control.
With power amp alpha you can also change the volume steps to 100, that may allow you to go lower than the default volume step can