Hi there,
have somebody tried the DSP SoundManager? I extracted this one from the CyanogenMod ROM and get a little bit better sound...
May you want to try it! Maybe there is a forward developed version of this, so please post it!
Regards, Andi
I can't notice any difference. I had the speaker on hi then installed it pumped up the settings and it made no difference.
SkilletDesire said:
I can't notice any difference. I had the speaker on hi then installed it pumped up the settings and it made no difference.
Click to expand...
Click to collapse
Same here ..
I'm new here and with no experience, but maybe we need rooted device to work?! It would be nice to hear navigation while driving..
I have a rooted device. But I don't hear any difference.
Moved to Themes and Apps
Cheers,
M_T_M
no way
Downloaded and installed no difference at all.
What I have to understand is why POWERAMP with its settings (equalizer set to loud speaker value) has a far better volume than the stock music player.
If we can get its way to do that an app like the one in this thread may work.
May be poweramp just modifies in realtime the mp3 values I don't know really we need to investigate.
Youtube for example has a very poor volume altough the copilot using SVOX TTS voices (with SVOX volume at 200) is good enough.
I think is just the kernel I don't understand why the quality is so bad with some features and so good with others....
hmm i just watched a video from htc. and the introduce a feature that the device recognize where it is, for example in your pocket or backpack and if you get a call it will raise the speaker volume...
but i dont know if its just to the maximum which probalby everybody has set or if you can go over this limit...
Here is working version of DSP manager.
its a start, but i think this workaround creates some other problems... for my self, i just increased the volume of my ringtone and it worked as well.
hopefully this dspmanager workaround gets updatet or even htc will take care of it...
my mom likes me to rip DVDs to her nook, and listen to grooveshark, so that she can be distracted while she exercises at the gym. she has been telling me that it is simply amazing, but her only complaint is the occasional movie that isnt compatible and that the volume isnt loud enough. the compatibility is easy for me to fix, but the volume issue is not.
i have cm6 on my hero, and i have used DSP Manager to increase the headphone volume. when i ripped DSP Manager from the cm6-hero.zip, and tried to install it, it simply wouldnt work, so i assume that DSP is a 2.2 app.
is there a 2.1 equalizer or something? i would be thrilled to be able to fix this for her. thanks guys
I've also noticed the volume is kinda wack. Dunno anything about a fix though.
//from the nook COLOR
I just convert with volume at 130% on all my videos. Works great.
Mikroft said:
I just convert with volume at 130% on all my videos. Works great.
Click to expand...
Click to collapse
do you use handbrake? or something else?
If you are rooted, there is an app from market "Louder Volume Hack" or "AudioHack" there are few settings, i'm not sure on the settings i played with them until i noticed and increase in static noise.
General Comments
I've created this thread to centralize video discussions, tips, issues, etc.
Please limit this only to those running CM7. Something that works or doesn't work in rooted stock or Froyo may have no correlation to CM7 at present. CM7 is using different codecs, different DSP kernel driver, different media backend, and different userspace ALSA.
To start things off I have attached a handbrake profile that has worked well for me.
I will update this post as more specifics are found.
A few things to consider: ALSA
Our ALSA implementation is picky about the buffer size. Other devices that use ALSA in the same fashion have had to reduce their buffer as well. This may be due to a limitation of what can fit in the DMA buffer on the McBSP. Because the ALSA buffer scales with the audio sample rate, I recommend using 44.1K instead of 48K when transcoding videos. This is contrary to every handbrake profile I've seen folks post on XDA for the nook.
CPU Governor
Some people have had better luck with the Conservative CPU governor rather than Ondemand or Interactive.
Bitrate
I have found it best to limit the bitrate to something under 1000kbps.
Resolution
The resolution should always be limited to 854x480. This is the maximum limit for the open source codecs. We do not have a license for 720P codecs yet. Perhaps B&N will get a license for their Froyo update.
dalingrin said:
I recommend using 44.1K instead of 48K when transcoding videos.
Click to expand...
Click to collapse
I concur....I started doing this last night, coupled with a DRC of "3" and sound is better and louder.
360Razir said:
I concur....I started doing this last night, coupled with a DRC of "3" and sound is better and louder.
Click to expand...
Click to collapse
I agree about DRC. I just updated my profile with dynamic range compression of 2.
Your preset causes an unhandled exemption for me when I load or use it in handbrake. If I try to play what it outputs, it doesn't play in the stock player.
I have to turn off Weighted P-Frames to get the nook to play in hardware (stock player.)
EDIT: Attached my preset. It has all the typical preset stuff, plus 44.1/128 audio like dal recommended, and it doesn't throw a fit when I import or select it in handbrake.
chisleu said:
Your preset causes an unhandled exemption for me when I load or use it in handbrake. If I try to play what it outputs, it doesn't play in the stock player.
I have to turn off Weighted P-Frames to get the nook to play in hardware (stock player.)
Click to expand...
Click to collapse
Weighted P-frames are off in my profile.
What version of HandBrake are you using? I have rev3736.
The other thing I have to test is my Droid X. Most of the Handbrake (HB) encoded movies I have were done for my DX last year. Like the NC, I set the movies to 854x480 for my DX and so that makes it nice to be able to test between the two devices.
My DX is now running (leaked) Gingerbread and playing the same videos between the DX and the NC, the DX is so incredibly smooth. No lag. No crackling. No slow-downs. No audio popping. Just buttery smooth. Now, I understand the screen is smaller, but again, same video resolution of the video. Not sure how the "guts" of the DX are vs. that of the NC, though?
However, what I can say, is that back in January when I first got my NC and went with AutoNooter, I was able to take my existing HB-encoded movies that I had lying around for my DX and play them perfectly on rooted stock. Since CM7, out of the 25 or so movies I have for the DX, only 7 of them play on the NC (using Act 1). The NC is picky, indeed.
The quest continues....
dalingrin said:
Weighted P-frames are off in my profile.
What version of HandBrake are you using? I have rev3736.
Click to expand...
Click to collapse
Yours and the other guy's won't load without throwing an exemption which is where my confusion came from in the other thread.
Mine says 3728... it is 0.9.5 and says 2011010300 and says it is the latest when I try to update... going to redownload...
You are on the linux version aren't you?
Here are the videos with their specs that do currently work with Act 1 on my NC:
NOTE: most of my videos that work are in .m4v format. I had removed that setting in HB, but when I did, the video didn't play. I am sure it was probably something else getting in the way, but .m4v just seems solid for me right now, so sticking with that. To each his own.
As you can see from the attachment, the size, bitrate, dimensions, and frame rate are all over the map. Each plays well in Act 1 with Zoom set to "Aspect Full".
I will post my exact HB settings when I have something I have settled on and I am taking the suggestions from this thread, so thanks for that.
chisleu said:
... it is 0.9.5 and says 2011010300 and says it is the latest when I try to update...
Click to expand...
Click to collapse
Same here....Win7/32-bit
I am attaching my settings for HB that work well for me with regards to full-length movies. Has excellent audio/video sync, with no lag.
Highlights include:
[ Original Presets were taken from Regular > High Profile and then just tweaked accordingly ]
● Picture: Anamorphic Loose
● Video Filters: Off
● Video: H.264, Same as source, 2-Pass Encoding (Turbo 1st), Avg Bitrate (kbps) 2000
● Audio: Source (default), AAC (faac), Stereo, 44.1, 160, DRC = 3.8
● Advanced: B-frames = 0, CABAC & 8x8 & Weighted P-Frames = unchecked
Again, I am using Act 1 with "Zoom" set to Aspect Full.
Please let me know what you think if you dare to try.
EDIT: Video source is a regular DVD, widescreen, ripped into Handbrake directly
The dalingrin presets work for me with the Handbrake svn3907 on Ubuntu. My resulting conversion of my Letterman test video plays fine.
@dalingrin:
Any ideas as to why disabling WiFi would stop the madness of the lagging/stuttering in the video? Was it something my system was doing in the background or one of my widgets fetching data?
Is this just the case for my NC or can this be replicated? Any tests I can run for you to see if it is something you can help with? Thoughts? Thanks.
~ Razir
360Razir said:
Any ideas as to why disabling WiFi would stop the madness of the lagging/stuttering in the video? Was it something my system was doing in the background or one of my widgets fetching data?
Click to expand...
Click to collapse
That's always been my guess. Things never quite settle as long as they have access to the network.
Is this just the case for my NC or can this be replicated? Any tests I can run for you to see if it is something you can help with? Thoughts? Thanks.
Click to expand...
Click to collapse
Nope. Same here. And, it's not just video... it makes Pandora rather unpleasant. Luckily, my primary use case for video is on a plane where network access is unlikely or expensive.
Have you tried using the Conservative governor? It helps my situation.
Some rules for this thread to consider
Let me extend this discussion and propose a few rules for this thread:
1. The source video should be made clear. If you start with poorly encoded video you're obviously going to output something similarly crappy. Provide a link to the file, or upload it yourself and provide a download link. It should be legal, i.e. if you ripped it from your blu-ray, or if you torrented it from somebody else who ripped it from a blu-ray, then it doesn't belong on this thread. My source video will be a 1080p trailer from The Eagle, downloaded (legally) from here: http://www.hd-trailers.net/movie/the-eagle/
2. The encoder and settings should be made clear. I never used Handbrake before, but this morning I downloaded Handbrake 0.9.5 and installed it on my Win7 64-bit desktop. I'm using the preset for "iPhone & iPod Touch". This defaults to H.264 encoding and m4v container. I then adjusted either resolution or average video bit rate but everything else I also left at default, since I mostly don't know what they mean anyway.
3. The player should be made clear. I used Titanium Backup to uninstall Music because of a prior FC issue, then sideloaded music.apk that I pulled from cm_encore_full-37.zip, thus I'm back in business with the stock Video player and no longer using Act 1.
4. Optional: upload your transcoded file and provide a link to it. I've made 2 clips of the eagle trailer which can be downloaded here:
Eagle trailer - 854x352 - 800K: http://dl.dropbox.com/u/22573583/Eagle_854x352_800K.m4v
Eagle trailer - 576x240 - 800K: http://dl.dropbox.com/u/22573583/Eagle_576x240_800K.m4v
The short of it is that both files play flawlessly on my NC running CM7 n37 with dalingrin OC kernel 040411, overclocked 300/1100 interactive. Here are some notable observations:
- The 480p-ish 854x352 resolution limited by our open-source license plays flawlessly for me up to a video bit rate of 1300K, at which point one or two random split-second audio stutters occur through the clip. You can download my 800K encoded video at this resolution. I've gone up to 3000K at 854x352 resolution with still very smooth playback. I've also been able to play an 800K clip resized to 1024x600, the native NC resolution, flawlessly.
- The 576x240 resolution for me is the sweet spot on the Nook. Text resolution is inferior to 854x352, but the playback is perfect and file size is more accommodating. Stutter-free at 800K (download my Handbrake encoded file if you want), and actually stutter free all the way up to 3000K. What's so incredible is that the high-speed scrub (put finger in middle of screen and slide right or left) at this resolution is buttery-smooth.
- Adjusting the CPU speed up or down and moving around governor setting didn't do anything good or back for video playback. Video playback was just as good at 800MHz as 1100MHz CPU speed.
I'm not an expert on video codecs and encoding, by any means, but I've been around HD-DSLR video and non-linear editing ever since Vince Laforet busted out with Reverie nearly 3 years ago.
I'll stand by my opinion, expressed previously on the kernel thread, that CM7 and dalingrin OC kernel in its current iteration (nightly 37 and 040411) absolutely rocks for properly encoded video.
360Razir said:
@dalingrin:
Any ideas as to why disabling WiFi would stop the madness of the lagging/stuttering in the video? Was it something my system was doing in the background or one of my widgets fetching data?
Is this just the case for my NC or can this be replicated? Any tests I can run for you to see if it is something you can help with? Thoughts? Thanks.
~ Razir
Click to expand...
Click to collapse
it doesnt stop it for me. no wifi. no bt. still stutters randomly on good files.
sinanju said:
Have you tried using the Conservative governor? It helps my situation.
Click to expand...
Click to collapse
Yes, I saw your post about that from the OC Kernel thread and so that is what I tried last night. It seemed to work at first, but then this morning it was also choppy using that governor. So, being on Interactive with WiFi off works.
My Droid X has many more widgets running and network access (both 3G and WiFi) and there is no hiccups or slowdowns whatsoever playing the same video. I know not apples-to-apples, but the quest is to get my NC to that kind of stability.
MedLine said:
Eagle trailer - 854x352 - 800K
Eagle trailer - 576x240 - 800K
The short of it is that both files play flawlessly on my NC running CM7 n37 with dalingrin OC kernel 040411, overclocked 300/1100 interactive.
Click to expand...
Click to collapse
Both of your videos are still choppy for me with WiFi enabled....meaning, something is fetching data in the background (Pulse, Palmary Weather, Plume, Engadget, or Google News, or even email polling) is messing with my video playback. Just wish the video was "shielded" from such things.
When WiFi disabled, all is good with your videos.
Which app you guys using to play videos? I'm using Rockplayer right now and getting audio sync issue. I had better luck with Mobo Player.
OK:
Using Sony's HD Experiment because it is short and high action.
http://www.demo-world.eu/trailers/redirect-high-definition.php?file=hd_other_sony_hd_experiment.rar
Encoding using the iphone and ipod touch preset.
I set 576x240 resolution and I can play completely smoothly with wifi on. File size is 4.44megs w/ RF: 25 (iirc)
I set 854x480 resolution and RF 30 it locks on whatever frame you start playing (black screen, etc.) Won't play. I set 854x480 and 800kbps avg kbps and it is also black screen. If I hit home and then go back and let it go, the video will change, but it doesn't seem like it will catch up. Definately broken.
I downloaded that 1080p trailer you linked.
start handbrake, load 1080p trailer, select "iphone and ipod touch" preset, select 854 width (auto height 368), changed to average kbps and set 800. My file size isn't exactly yours, but is very very close.
854x368 plays very well and looks fantastic, but it does have those pops/skips.
Disable wifi:
still get rare/random skips with my 854 file.
still get rare/random skips with your 854 file.
I turned "Disable Fullscreen" off on a hunch it was play a role in this:
My 854 file still skips from time to time.
My 576 file still skips from time to time, although more rarely. only once in 2 plays.
Your 854 file still skips from time to time.
Your 576 file still skips from time to time, maybe more rarely? Hard to quantify.
I encoded the eagle trailer with my 854 width, RF 25 "high quality" preset.
It is smaller than 800kbps (13.1M vs 18M)
It skips too.
tablo said:
Which app you guys using to play videos? I'm using Rockplayer right now and getting audio sync issue. I had better luck with Mobo Player.
Click to expand...
Click to collapse
We are mostly using the stock player because it forces hardware accel.
I prefer VitalPlayer to all. If you are having sync issues it is probably playing in software mode. I should say, VitalPlayer has never given me any sync issues at all while playing in software. Wish I had discovered that before DSP was working. haha
Hi all
I'm using PowerAMP Beta 709 for listening music, LG Music player is decent for me, PowerAMP can resampling up to 384Khz, but on LG V30 it's not working when i choose resampling to 384Khz, its just back to 44.1Khz.
Only 44.1~352.8Khz is working, i tought it's bug in PowerAMP but NOT, LG forgot some line or intentionally not adding 384khz in 24bit Direct PCM. So i fix that.
Every Music player that use flag Direct PCM can use 24bit 384Khz now without going back to 16bit 44.1Khz ofcourse if there music app that support 32bit 192/384Khz will also work if using flag direct pcm 32bit
Requirements :
1. Unlocked Bootloader
2. TWRP installed
3. Root
How to install?
1. Just flash with TWRP or
2. Extract and put to system/vendor/etc and change permissions to 0644
Hi thanks for the mod
Got one question about how sound works on a v30.
I usually listen to songs like 24/96 or higher or sometimes the mqa from tidal, the question is will the viper4android downsample my songs? As I saw on all devices I had it installed that drive status reports 44kHz sampling rate even when I was playing hi-res music.
xypnise said:
Hi thanks for the mod
Got one question about how sound works on a v30.
I usually listen to songs like 24/96 or higher or sometimes the mqa from tidal, the question is will the viper4android downsample my songs? As I saw on all devices I had it installed that drive status reports 44kHz sampling rate even when I was playing hi-res music.
Click to expand...
Click to collapse
I'm never try V4A but yeah your song is downsampling, maybe V4A doesn't support or use direct pcm or even snapdragon 24bit offload so its still use Open SL ES 16bit 44.1khz for output.
Maybe someone has better answer than me, cause i never try V4A.
Hi, will give this a try but how to undo if something is not right ?
Tried a loudness mod recently and had hissing in quiet parts so had to revert
gazzacbr said:
Hi, will give this a try but how to undo if something is not right ?
Tried a loudness mod recently and had hissing in quiet parts so had to revert
Click to expand...
Click to collapse
Just open the zip file and see for yourself which and how the files are modified. It's just a quick edit of both instances of audio_policy_configuration.xml. It could be edited by hand, same as with the high impedance mod.
Kudos to the OP for the useful tip !
I'd like to test if LG has fixed this issue on stock Oreo with the July update. I have a library full of FLAC music files; so the next step would be to install PowerAMP and select 384kHz? I'll edit this post with results.
EDIT: US99820D (July stock ROM) has the bug. Flashing the fix resolves the issue as revealed by PowerAMP beta. I did notice though that having the "Enhanced" DAC preset enabled introduces intermittent static noises in certain songs. It doesn't bother me, since I keep it at "normal" and set the digital filter to "short." Very nice sounds with Sennheiser HD558.
Thank you @Rizal Lovins for the fix !
Since this thread is one year old, with the last oreo fw 20h us998 is the audio resampling still happening on LG's stock music app or been fixed? I don't know how to see/measure the audio output
YoungAll said:
Since this thread is one year old, with the last oreo fw 20h us998 is the audio resampling still happening on LG's stock music app or been fixed? I don't know how to see/measure the audio output
Click to expand...
Click to collapse
Not fixed.
Mrxyzl said:
Not fixed.
Click to expand...
Click to collapse
Hmm, why am I not surprised. USB audio is still the way to go.
What about pie? Anybody know if LG actually did it right this time?
gazzacbr said:
Hmm, why am I not surprised. USB audio is still the way to go.
What about pie? Anybody know if LG actually did it right this time?
Click to expand...
Click to collapse
No, too
I sadly cannot get this fix to work things still only play 352.8, when I try to get it to sample fully to 384 it jumps down to 192. This fix just seems to do nothing sadly. Trying with USB Audio Player Pro
I have dedicated my S5 to use as a midi synth player, together with a midi keyboard connected to the phone via an OTG adapter, outputting either through the built in audio out or perhaps a separate sound interface.
I have a newer phone (Xiaomi Redmi Note 7) but I'm going to try with the S5 as well, as a I read that of all the Android manufacturers Samsung has the best rep with audio latency.
I've also heard that a big leap was made with Android 9 and 10 on latency, some recent ROMs for the S5 based on android 9 and 10 are rather basic in terms of the features they support. So, I'm looking for recommendations for stock or custom ROM which support low audio latency use.
Thanks for your suggestions.
Hi,
I haven't tried using my s5 for midi, but in general, I would think the latency would depend as much on your kernel, CPU governor & especially I/O scheduler as the firmware.
Obviously, if you have a super-bloated rom there would be more background tasks by default to clog up the processor.
I would go for one of the debloated ones that support custom kernels and have a look around for the right kernel & I/O scheduler.
Another option would be to see if turning on the developer option to kill background processes affects the latency when in the midi app.
Looking forward to hear your results.
C:
Cheers
Highly recommend using the Tuned kernel if you're not using it. It works on various ROMs like LOS:
https://forum.xda-developers.com/ga...d-los-kernel-s5-performance-battery-t3893954/
You can configure the kernel with the Boeffla app. Just for fun I increased the max CPU speed to ~2.9 GHz and enabled the Tuned performance governor. The phone became hilariously responsive. I tried it out for a few days but it didn't really benefit me. It might benefit you though! Performance settings make it much harder for the phone to idle. In fact if you've ever had music stuttering it's from the phone playing a music codec the hardware can't accelerate while the CPU cores are in an idle state or turned off.
Having some success with this. By setting the CPU min frequency to be maxed out continuously at 2.457Ghz using and setting the Android task scheduler profile to 'deadline' using Kernel Adiutor, and assigning maximum priority to the task in question using 3C Toolbox, I was able to get one app (microphone pro) to go from 48000Hz + 480 frames per buffer, to 48000Hz + 240 frames per buffer. Not quite stable yet, but shows that tweaks are having an effect. Feels like a total latency (from key press to ear) of around 40 ms.
In the end the trouble I am having is finding applications that have latency configuration options with enough granularity to test out whether any system tweaks are making a useful difference. For example Caustic (synth app for android) only has five possible latency settings, the lowest being called 'lowest' (funnily enough), which was actually already stable before I got the tweaks going. Not like audio apps in Windows and Linux where you can choose different latency settings (sample rate, buffer size, etc.) with high granularity. Perhaps there are some apps out there that have this though, although I know Android does have a minimum system latency (20 ms I think I read) which apps can't go beyond currently. 20 ms whilst playing something on keyboard is a bit distracting for some, though probably would be possible to get used to it (latency when playing keyboard becomes unnoticable to me around <7ms personally, and I could probably learn to ignore greater values).
CPU tweaking apps tried so far actually only allow setting the minimum frequency of the CPU, so you can have it maxed out all the time, which is making a difference, but the ideal would be being able to experiment with proper overclocking. OS is LineageOS 16 (comes with it's own custom kernel). Modem and bootloader not sure but they are either those that come with LineageOS or the Marshmallow latest ones installed prior to LineageOS install (not sure if LineageOS installs any or leaves the modem and bootloader previously installed).
Boatshow said:
Highly recommend using the Tuned kernel if you're not using it. It works on various ROMs like LOS:
https://forum.xda-developers.com/ga...d-los-kernel-s5-performance-battery-t3893954/
Click to expand...
Click to collapse
System wouldn't boot when I tried that Kernel. Not sure if I did something wrong. I went back to the LineageOS built in kernel and unfortunately it doesn't support Boeffla.