[Q] How to make non-crashy audio??? - Android Software Development

As many of you know adding audio to android apps can lead to crashes for stupid reasons. I'm trying to add a mp3 file as a music loop in my game and it works perfectly on the emulator but it crashes my phone every time (and its not even a big file, its about 25 seconds long and 400 KB). Does anyone know how I can make it more stable? Thanks

hyperbyteX said:
As many of you know adding audio to android apps can lead to crashes for stupid reasons. I'm trying to add a mp3 file as a music loop in my game and it works perfectly on the emulator but it crashes my phone every time (and its not even a big file, its about 25 seconds long and 400 KB). Does anyone know how I can make it more stable? Thanks
Click to expand...
Click to collapse
How are you playing the audio? What is the nature of the crash? Any debug info? Logcat?

I converted it to .OGG and now it's fine, mp3 files handle horribly for some reason

Related

MP3 files not playing properly in Windows Media Player

Hi All
I seem to have a problem with my new HD2 and am wondering if anyone else is experiencing the same problem please?
If I use the Sense UI music player all is fine if a little slow at times. Third party players such as Nitrogen are fine. However, if I simply go to file explorer and open a file the whole phone struggles terribly for about a minute and when it does eventually start playing the file with Windows Media Player it constantly freezes and stutters. After bit of investigation I have found that the player is taking over 90% CPU when doing this. I also notice that when it happens the player tries to to buffer but never gets past 0%.
Is anyone else having this problem please? Is it a known issue please? Vodafone said it was but I can't find anything that covers this exact problem. There is one similar problem but I doubt it is the cause. The process is quite involved to resolve that problem wants me to format my SD card which is why I haven't tried it yet. I have searched high and low but have not seen this problem anywhere else. Could this be a ROM issue that will be fixed by an update or hotfix? Or have I simply got a faulty phone?
Any ideas or suggestions please?
Many thanks in advance.
Regards,
Paul Lemonidis.
Hi Paul,
I have experienced exactly the same problem and found a way to solve it. I had over 500 MP3 songs in one folder on a microSD card. Playing them was terrible, the same problems you mention: stutter, freezing, buffering and the entire phone seemed to be unresponsive at times.
Then I played a very large MP3 file (about 1 hour in length) and I had no troubles at all. That surprised me, because I expected (because of the constant buffering) this would not play at all. What suddenly hit me was that this large file was the only MP3 file in a separate folder.
So I moved a couple songs (which stuttered very much) to another folder and they played without any problem.
The solution I used was this: I deleted the single folder with to over 500 MP3's and added the songs through the Media Player of my PC. This way, the folder structure in the music folder is: Artist/Album/Songs. So every single folder with songs contains only a few MP3 files.
After that I let the Media Player rescan the microSD card. All the songs were detected and they all play without any worry.
My question to you is: Do you also have a large amount of MP3 files in one physical folder? Then I bet you can use my solution, or at least devide the large amount of MP3 files over various physical folders.
Best regards,
Willem (Netherlands)
http://forum.xda-developers.com/showthread.php?t=927258
In regards wih the same I have tried a lot more options and then tried 50 folder with 10 songs each it now works fine but the continuty in playing songs over a long time say 5-6 hours is left to opt.

[BUG] Brackets in an mp3 genre field crash HTC Music Manager (and phone)

In case anyone is having difficulty with their HTC Music Application not including mp3s in the library I have discovered a fairly comical bug and is described in more detail over at the HTC forums
Essentially any mp3 ID3 tag that has a bracket ( in the genre field causes the music update process to hang only recoverable after a reboot. It also (on my device) takes down the network connection.
Brackets and other characters !!!
Very important bug, Please relay the info
Hi there. I also have a lot of issues with my music library too.
So, what is the problem? I, as others, noticed that after transferring new files to my SD card (audio files or not), my music player crashes. Once it crashes, only a softreset would make it work properly. Re-connecting the device and removing the newly added files won't make the Player work again...
To transfer files to my SD card, I connect my device to my computer using a USB cable. If you connect using the "Disk Drive" mode, the speed is better, but the phone music player cannot access files, until you disconnect it from the computer. If you connect using the "ActiveSync" mode, it's less easy to transfer stuff, but the bug remains...
Normally, the Music player is able to update the files in a few seconds and should display every single tracks if you click on "Library" and choose the tab "All tracks". I means, it's extremely fast and my 4Go mp3s appear in 20 seconds or so. Wow!
Unfortunately, from time to time, when I disconnect my device, the Music Player crashes, the little update circle turns for ever, the "All tracks" tab remains empty, the player displays "no music found" and is unable to play any track, until the next softreset. From blazing fast to just plain buggy. Gosh!
Now, the good news. I discovered that the mp3 Tag (the so-called ID3 tag) is responsible for my problems.
I already gathered the facts that brackets in GENRE field cause the HTC Music Player to crash (See here), as wall as tag format other than ID3v2.4 UTF-8 (See here).
Still, it didn't complete solve the problem to convert all the ID3-tag to ID3v2.4 UTF-8 format and even removing the "genre" field from every single track. The problems were solved after I alse removed the "tracknumber" field from every track. Here are my complete findings about this bug.
What make the HTC Music player crash?
- The crash problem seems only related to the mp3 tag (ID3 tag)
- Tag format "ID3v2.3 UTF-16" => solution: use only ID3v2.4 UTF-8 tag or convert all the mp3 files in the player using MP3-Tag or similar software (shareware)
- Genre field using the following characters: brackets (), and symbol (&). No problem with the dash (-), underscore (_) nor space.
- Tracknumber including a star symbol (*). No problem with format like 1/16.
- Only one mp3 file is able to crash the whole player
- Only softreset will solve the problem once it happens. Even re-connecting the player and removing the bad files won't solve the problem once it happens.
So, if you have some mp3 tagged "Rock & Roll", "R&B" or "Pop (Rock)" files, you'll likely to see your Player crash everytime you connect and disconnect the USB cable.
What I don't know, is if everybody has the same problem. Myself, I'm using the latest official ROM 1.48 WWE with some tweaks...
For now on, I'm converting every file I transfer to my HD2 with MP3-tag using "ID3v2.3 UTF-16" tag, no *, no (), no &... And I happy again with my device... Until?
So what do you think? Do you have the same problem?
Reply, anyone?
I know for a fact many people did experience the same music player crashes.
See here
Or here
Or here
Or here
Or here
Or here (post #2)
Or here
Might they all be related to the same problems, I still don't know... But I might need your help
nothing understand
hello,
m-player plays the mp3-files on storage card for 3 or 4 seconds.
than it stops.
and allway its circling (left on the top side).
the mp3-songs are the same, that can play by orbit, x800, diamond, expedings-bums (sony) and tg01 (toshiba). whats wrong on leo?
whats wrong on htc? if htc needed beta-tester, than ... i am to angry!!!!
nothing understand resolving by mp3-tags. sorry.
if exists a real solution for the m..-f..-device?
okokur
"For now on, I'm converting every file I transfer to my HD2 with MP3-tag using "ID3v2.3 UTF-16" tag, no *, no (), no &... And I happy again with my device... Until?"
Hello guys! I did exactly what you suggested, converted all tags from my 5 GB of MP3. No success, Music Player takes ages to load (approx. 8 minutes, but every time you open it). Seems that the database (that is created when the Sd-card is inserted for the first time, hence the looooong loading. Right?) will not be saved for some reason. So the HTC-Music player is useless at present.
Greetings, and all the best for 2010 Dudes!
Studebaker
The size of my music folder is 4,5GB. I put all the songs at the same time on my microSD and then I opened the Music Tab. I had the same, never ending circle.
I deleted all of my songs, opened Music Tab, no songs of course, gave it a soft reset, plugged my HD2 to the pc, splitted my songs in parts of between 600-800MB. So I put the first part of 600MB on my phone, unplugged it, waited a lil bit and then opened the Music Tab. Sometimes it doesn't see the new files directly, so I have to soft reset it. Then start Music Tab, the circle will come up for a minute or less, and disappear again. Press on the library button, scroll to All Songs and select a random song and see if it plays for more than a minute. If everything is okay, you can pause the song, go to the main screen and put the next part of 600MB.
Sometimes the circle doesn't come, and sometimes it never stops. In that case, you have to wait for a few minutes on the Music Tab, and after that give it a soft reset and see if it helps.
It takes a long time, but at the end the music tab will finally work. If the whole thing crashes and doesn't react if you press the Play-button, give it a soft-reset and delete the last part again, soft reset and see if music tab works.
Before you try this, increase the standby time to 10 minutes, otherwise it will turn off all the time. You have to be patient, but in my case it fixed the problem.
okokur said:
hello,
m-player plays the mp3-files on storage card for 3 or 4 seconds.
than it stops. and allway its circling (left on the top side).
Click to expand...
Click to collapse
Take it easy. I definitely agree with you that something is wrong with the Sense music player, but until HTC really fixes this, we'll encounter various issues. You have to understand that only one wrong file will make your player crash and act exactly as you observed: playing any mp3 for few seconds and then stop. Let's make it clear. If you have only one wrong file in the whole library, not only will this particular file be impossible to play, but the whole library as well won't be able to play!
What do I call wrong files? I'm referring to the files not respecting the characteristics I described previously (TAG => more info here, if you don't know what I'm talking about). What is certain is that some "wrong" characteristics, other than MP3 tags, will make your play crash, that is for sure.
First things first. Did you at least try a softreset? Even so, I observed that the soft reset will "solve" the problem as long as the problem is related to MP3 TAGS. But I already experienced freezes and crashes even after a fresh softreset. This means that some "wrong files", not necessarily badly tagged will make the player crash, that's for sure. I still haven't found answer to that...
What you should do, as someone mentioned, is avoid putting your files in the same folder. As I always listen to full albums, already arranged in specific folders, I might have not experience bugs related to this issue.
Studebaker72 said:
"For now on, I'm converting every file I transfer to my HD2 with MP3-tag using "ID3v2.3 UTF-16" tag, no *, no (), no &... And I happy again with my device... Until?"
Hello guys! I did exactly what you suggested, converted all tags from my 5 GB of MP3. No success, Music Player takes ages to load (approx. 8 minutes, but every time you open it). Seems that the database (that is created when the Sd-card is inserted for the first time, hence the looooong loading. Right?) will not be saved for some reason. So the HTC-Music player is useless at present.
Greetings, and all the best for 2010 Dudes!
Studebaker
Click to expand...
Click to collapse
Read the above message and answer these questions:
- Do you still have the problem after a softreset?
- Do you still have the problem if you only have few mp3 on the SD card?
- Do you have a lot of files in a unique folder?
- Do you have other music filetype?
- Look for specific characters in the TAGS, maybe other characters are not supported (; ~ \ ç ^ µ ????)
As I mentionned before, be aware that only one wrong file is able to make the whole music library crash, so you'll have to search and find that (or those files)... and share your findings with us
I'm sure this will get a fix sooner or later.
rzasharp said:
Take it easy. I definitely agree with you that something is wrong with the Sense music player, but until HTC really fixes this, we'll encounter various issues. You have to understand that only one wrong file will make your player crash and act exactly as you observed: playing any mp3 for few seconds and then stop. Let's make it clear. If you have only one wrong file in the whole library, not only will this particular file be impossible to play, but the whole library as well won't be able to play!
What do I call wrong files? I'm referring to the files not respecting the characteristics I described previously (TAG => more info here, if you don't know what I'm talking about). What is certain is that some "wrong" characteristics, other than MP3 tags, will make your play crash, that is for sure.
First things first. Did you at least try a softreset? Even so, I observed that the soft reset will "solve" the problem as long as the problem is related to MP3 TAGS. But I already experienced freezes and crashes even after a fresh softreset. This means that some "wrong files", not necessarily badly tagged will make the player crash, that's for sure. I still haven't found answer to that...
What you should do, as someone mentioned, is avoid putting your files in the same folder. As I always listen to full albums, already arranged in specific folders, I might have not experience bugs related to this issue.
Read the above message and answer these questions:
- Do you still have the problem after a softreset?
- Do you still have the problem if you only have few mp3 on the SD card?
- Do you have a lot of files in a unique folder?
- Do you have other music filetype?
- Look for specific characters in the TAGS, maybe other characters are not supported (; ~ \ ç ^ µ ????)
As I mentionned before, be aware that only one wrong file is able to make the whole music library crash, so you'll have to search and find that (or those files)... and share your findings with us
I'm sure this will get a fix sooner or later.
Click to expand...
Click to collapse
thank you for making my angry-heart slower (to 100 bpm, its normal for me).
at end, i delete all mp3s and try it with only one mp3 - to see that the player really function is o.k.
change all like you say (make filename smaller and this time without underscore "_").
and what can i see ... time is more than 5 seconds ... 8 seconds ... 15 ...
o.k., now i will test with my other mp3s (all together are max 1,2 GByte and not more than 30 files ... )
thank you
cant believe it ...
change my other mp3s as same as above i describes,
but more than one title the player makes the same shi.. as before.
i check all and find only one different thing in the list:
i have some mpegIII, mpegII and mpegI mp3-files.
could this a problem for the player?
okokur
okokur i have the same problem as you - the player will play a song then once the update circle has finished spinning does the player crash. You have to press pause/play numerous times to get it to start again and then the whole cycle repeats. I have tried everything. Formating, folder by folder transfer - nothing works. Until I change the ROM to something else by another Chef - then it works. Go back to the old ROM - Bang dies again.....I've looked at reg settings etc and cannot see any difference - this is very confusing/frustrating and annoying!
same prob as above have a 8 gb sandisk that came with the phone.had 5 gb of wma all good then added 1.2gb of mp3 then did some cover art updating and bang sense player now crashes.....play/pause button to resume and good for 30 secs and bang same prob......also have a "sandisk" 8gb from thailand that the phone doesnt even recognize....note the both worked in my hermes.
embedded meta data has always been a source of problems, especially when mixed with the literally thousands of different encoding variables. I once spent two days trying to figure out a winamp problem that eventually turned out to be a single track with a non standard character in the 'notes' field of the tags. (damn those stupid kids filling napster with tracks full of tags like '®¡pp€¤ 8y $p&®kz' )
Same goes for videos, try opening a folder with a hundred avi files in vista with preview turned on. takes forever.
I haven't had ' too' much trouble with the media player on here, and if it is tag related then it makes sense cause a year or so ago I used a multi file tagger to remove everything but title album track and artist fields.
(I guess my long winded story just ads a little weight to the tags theory)
I wish to confirm the UTF-8 UTF-16 issue.
None of my cd-ripped in WMP (windows 7) music plays on the HD2 and even makes my HD2 to badly respond (slow).
I noticed some downloaded files did play.
For the cd-ripped trakcs I noticed that the filename was given instead of the Title/artist. It was clear to me that this is a tag issue.
I found this thread and tested to save the ID3 tags in UTF-8 instead of UTF-16 and indead my tracks are playing now.
It is clear that the HD2 does not support UTF-16 and this is very annoying.
I believe, but thats a suspicion only, the problem lies in the combination of ripping cd's in to WMP Windows 7. Posibly Win7 WMP started using UTF-16???
I reported the issue to HTC NL, but the find it weird they do not have many calls for this.
Posibly this is because I belong to the few persons that still buy CD's, use Windows 7 and wants music on their HTC phone
Is there still no fix for this????
I have 14gb of music on my sandisk micro sdhc
all ripped with winamp flac format
my new htc legend wont play any of my music
so i re-ripped it all to mp3 format, and used mp3 tag, now htc player finds about 6-10% of the music on the disk
POS phone!!!!!!!!!!!!!!!
HTC is fixing nothing (or not much) for the HD2. I believe they have disabandond the HD2 and are focussing on delivering the HD3 with Windows Phone 7.
Hoping that every HD2 user will buy the HD3 out of frustration.
The HD2 is/was a promissing machine, but HTC sense is so buggy that its unsuable 3x resets a day is way to much. I purchased the replacement shell from SPB, my HD2 is now working reasonably normal.
What I do is, after syncing (I use WMP7 for that) the SD card (in the HD2) , I scan my SD card with a soft called MP3 tag (www . mp3tag . de/en), select all files and click on the save button to save the tags.
My MP3 tag is default set to ID3V2.3 ISO-8859-1 (if I'm not mistaking).
So it saves the tags in a format that the HD2 understands.
I have the same issue with my Car Radio.
I need to do this everytime I sync my HTC SD card.

HTC Sense Music Player

Hey Everybody
So is it just me or does anyone else notice some very basic flaws in HTC's sense music player? Surely there must be a solution or two for these nuisances:
1) Is there a way to get it to ignore certain folders containing music that I dont want added to my library?
2) Is there some kind of tweak that allows faster accessing of songs in your library? maybe at least an alphabetic scroll? (currently to navigate to a song, you have to kinetically scroll all the way to your song and this is a huge annoyance if you have a larger music library and, for example, are looking for a song/artist/album starting with Z)
3) Why does the music player always stop whenever the camera is activated? is there some kind of reg edit so that this doesnt happen??
I realize that there are other music players out there but i'd really like to get this one working properly especially considering what a nice piece of eye candy it is on sense
hc03 said:
Hey Everybody
So is it just me or does anyone else notice some very basic flaws in HTC's sense music player? Surely there must be a solution or two for these nuisances:
1) Is there a way to get it to ignore certain folders containing music that I dont want added to my library?
2) Is there some kind of tweak that allows faster accessing of songs in your library? maybe at least an alphabetic scroll? (currently to navigate to a song, you have to kinetically scroll all the way to your song and this is a huge annoyance if you have a larger music library and, for example, are looking for a song/artist/album starting with Z)
3) Why does the music player always stop whenever the camera is activated? is there some kind of reg edit so that this doesnt happen??
I realize that there are other music players out there but i'd really like to get this one working properly especially considering what a nice piece of eye candy it is on sense
Click to expand...
Click to collapse
let me say first I really like the "promised" capabilities of this phone bt the actual pratice is getting to me.
the Sense music player is actually going on to the internet BEFORE it loads your songs. This is why you have a long delay (especially if you have over 5gigs of music like me). It is looking for data (album art, names, song titles etc.). You will ususally get an Audiomanager .eng.exe error. I found this out yesterday. i did not believe it at first, but was told to go to settings and turn the option to "flight mode" or just cut the data connections in general.
2 minutes later a prompt came up saying that there was no data connectivity for the audio player. Try it yourself if you like. I am asking around now for a fix or tweak to stop this from happening. If I find one I will get back to you. Believe me I know your pain
hc03 said:
1) Is there a way to get it to ignore certain folders containing music that I dont want added to my library?
Click to expand...
Click to collapse
Anyone knows how to do this?
Here is what I have done to get the music player to load faster. Go to the windows folder...look for audiomanager.exe copy the file and paste it in the startup folder. I have over 5GB of music...easily over 1,000 songs and it maybe lags 20 second and then i am ready to rock...literally. Try this it should help!
DeadVirus said:
Anyone knows how to do this?
Click to expand...
Click to collapse
Use Total Commander to navigate to the folder in question (you'll probably want to start with "/Storage Card/program files"), and then long-press on the folder to bring up the options...click the box for "hidden". Each folder you do that for will then be skipped when the music player indexes, but you can still see/access the folders like normal.
EDIT: Toreone's tip IS a great way to speed up indexing on larger music libraries...the cab below does the exact same thing he was describing
sirphunkee said:
Use Total Commander to navigate to the folder in question (you'll probably want to start with "/Storage Card/program files"), and then long-press on the folder to bring up the options...click the box for "hidden". Each folder you do that for will then be skipped when the music player indexes, but you can still see/access the folders like normal.
EDIT: Toreone's tip IS a great way to speed up indexing on larger music libraries...the cab below does the exact same thing he was describing
Click to expand...
Click to collapse
Thanks but I've already set the folders (and the files) to be hidden and the files are still appearing...
DeadVirus said:
Thanks but I've already set the folders (and the files) to be hidden and the files are still appearing...
Click to expand...
Click to collapse
Hmm...that worked like a charm for me when I did it. You can try this cab:
Oooops, my bad, wrong forum

HD2 sluggish locks after loading 2000 MP3's

Hi,
Two Issues I need help on:
1. I just transferred 2000 mp3 to my sd card/Music phone is supper slow, locks up.
2. When I get my song list up, Most of them shows ! on it. Some do and some dont, perhaps the list got corrupted as those were the mp3 I had before which I deleted and transferred a new set of 2000 mp3's to /sdcard/Music
What can I do? I first had 200 mp3's and it was Ok. Is there a limit??
Thanks
richsark said:
Hi,
Two Issues I need help on:
1. I just transferred 2000 mp3 to my sd card/Music phone is supper slow, locks up.
2. When I get my song list up, Most of them shows ! on it. Some do and some dont, perhaps the list got corrupted as those were the mp3 I had before which I deleted and transferred a new set of 2000 mp3's to /sdcard/Music
What can I do? I first had 200 mp3's and it was Ok. Is there a limit??
Thanks
Click to expand...
Click to collapse
I guess I am alone on this one. I dont have a clue how to solve this one.
Any body??
not sure how many mp3 I have, but I do have close to 14G of mp3s, so it should be more, if not close to 2000 mp3 you have.
I don't have any slowness, did you experience it every time you reset, or it happens even after 1-2 hours after your last reset?
and btw, you get better response in the HD2 theme and app forum.
1. Did you format the sd card (fat 32) prior to importing the files?
2. Are you on Stock 1.66 ROM?
3. TBH I have yet to hear of anyone with so much number of MP3 files that HTC Music Player can handle.
4. use WM media player
or some other third party
As suggested above, format the microSD card. A corrupt microSD card can really slow down a smartphone.
Also, see if WMP handles the files well. Many media players for WM choke on large libraries. For all of it's ugliness, WMP seems to handle large libraries fairly well.
zenkinz said:
not sure how many mp3 I have, but I do have close to 14G of mp3s, so it should be more, if not close to 2000 mp3 you have.
I don't have any slowness, did you experience it every time you reset, or it happens even after 1-2 hours after your last reset?
and btw, you get better response in the HD2 theme and app forum.
Click to expand...
Click to collapse
HI, I just did a hard-reset, when I slide over to the Music Icon, it now says searching and I get a spinning circle, songs are appearing slowly, but I wanted to know, is it perhaps the spinning circle has something to do with the lag, I mean, If you side over to music icon, should it not pop up and show the songs /sdcard/music ??
What is it trying to do? and can I stop it?? I cant imagine that this HD2 craps out on 1900 mp3's ( cleared up a few )
My SDCard is at FAT32 already
Should I try another ROM like [ROM] Artemis HD2 v9.0 [WWE|GER|FRA|ITA|ELL|SPA|PTG|RUS|NLD|NOR|SVE] WM6.5.5+Leo 2.10 ????
Or... am I not doing it right to put all the mp3 on the sdcad??
jigners said:
1. Did you format the sd card (fat 32) prior to importing the files?
2. Are you on Stock 1.66 ROM?
3. TBH I have yet to hear of anyone with so much number of MP3 files that HTC Music Player can handle.
4. use WM media player
or some other third party
Click to expand...
Click to collapse
HI,
Card was already at Fat32, did not format, however its hot on the back side
I am using ( see Signature) [ROM][WWE][25.03] LEON v1.5 [WM6.5 - 21889][BASE: v2.10][576Mb RAM Enabled][UC] - OUT
richsark said:
HI, I just did a hard-reset, when I slide over to the Music Icon, it now says searching and I get a spinning circle, songs are appearing slowly, but I wanted to know, is it perhaps the spinning circle has something to do with the lag, I mean, If you side over to music icon, should it not pop up and show the songs /sdcard/music ??
What is it trying to do? and can I stop it?? I cant imagine that this HD2 craps out on 1900 mp3's ( cleared up a few )
My SDCard is at FAT32 already
Should I try another ROM like [ROM] Artemis HD2 v9.0 [WWE|GER|FRA|ITA|ELL|SPA|PTG|RUS|NLD|NOR|SVE] WM6.5.5+Leo 2.10 ????
Or... am I not doing it right to put all the mp3 on the sdcad??
Click to expand...
Click to collapse
every time you soft reset the phone, the audio manager will rebuild the library. So that spining icon describe that situation.
it shouldnt' take ages to rebuild the library though. Usually, 10-20 secs is all it need, (just a ball park estimate, but you get the idea of the duration)
there's some lag though, on stock rom or rom that doesn't use extendir, when you swipe over to the music tab. i.e. it'll take a few second before the music tab shows up, and before that, it'll look as if the music tab / music player is hung.
I'm not sure how many chef has use extendir, I know bobsbbq, myself and I think scotsman have that build that in the rom.
I have alot of MP3's (6-7GB) on my SD card. A reason for the sluggish HD2 could be because when you first select the music tab after a soft reset, the music library rebuild itself (search for all the track again).
After 20 mins my library is rebuilt and the phone is back to its blazing self again.
I let it search once, then dont reset my phone until necessary!
Hope this helps
EDIT: replying whilst the post above, was posted...sorry.
muzens said:
I have alot of MP3's (6-7GB) on my SD card. A reason for the sluggish HD2 could be because when you first select the music tab after a soft reset, the music library rebuild itself (search for all the track again).
After 20 mins my library is rebuilt and the phone is back to its blazing self again.
I let it search once, then dont reset my phone until necessary!
Hope this helps
EDIT: replying whilst the post above, was posted...sorry.
Click to expand...
Click to collapse
20mins is abit too long
zenkinz said:
20mins is abit too long
Click to expand...
Click to collapse
That is what I thought, maybe it has something to do with the album art.
On a lot of albums the art is the same (it has copied one cover to lots of albums).
I will format again and see if the is a difference.
Thanks
muzens said:
That is what I thought, maybe it has something to do with the album art.
On a lot of albums the art is the same (it has copied one cover to lots of albums).
I will format again and see if the is a difference.
Thanks
Click to expand...
Click to collapse
Yes, who has time for that?? Can you shut off the album art search?? I think this is crazy that this fantastic HD2 cant stink-in handle mp3's.
There must be somethin that can be done??
20 min is too long, my workout would be finished first before I have a chance to listen.
Thanks
richsark said:
Yes, who has time for that?? Can you shut off the album art search?? I think this is crazy that this fantastic HD2 cant stink-in handle mp3's.
There must be somethin that can be done??
20 min is too long, my workout would be finished first before I have a chance to listen.
Thanks
Click to expand...
Click to collapse
I have solved the problem with my library.
I have spent today re-arranging my music files into folders ARTIST>ALBUM>SONGS.
Before I had all the songs/files labeled e.g. "Artist - Song Name" in one "music" folder.
Now it only takes about 10 secs to rebuild the library. Much faster
OP, do you by chance have a US HD2 with the stock TMOUS class 2 SD card? I think the issue may be the slow card. For instance, the games that ship with the phone on the SD card have to be moved to the phone to play smoothly due to the "slowness" of the card.
I believe the suggestion from muzens has worked for some.
xeebot said:
OP, do you by chance have a US HD2 with the stock TMOUS class 2 SD card? I think the issue may be the slow card. For instance, the games that ship with the phone on the SD card have to be moved to the phone to play smoothly due to the "slowness" of the card.
I believe the suggestion from muzens has worked for some.
Click to expand...
Click to collapse
I think it it, I see 2 on the card.
As far as my issue, I guess there is no way an HD2 can handle 2000 MP3's, So I will delete as much as I can until it works ok.
Unless anyone else has another solution.
Thanks
richsark said:
I think it it, I see 2 on the card.
As far as my issue, I guess there is no way an HD2 can handle 2000 MP3's, So I will delete as much as I can until it works ok.
Unless anyone else has another solution.
Thanks
Click to expand...
Click to collapse
Update: I just updated NRGZ28 Energy.Leo.21898.Sense2.5_Cookie_HomeTab.Apr.11.7z from Energy.Leo.21898.Sense2.5_Cookie_HomeTab.Apr.09
and to me looks like the sluggish has gone, while the music is being built, now I can slide to another tab. I also noticed the the songs start appearing/built a hole hell of lot faster.
I have not seen the release notes yet, but whatever is there is more satisfied for me now.
Thanks
richsark said:
Update: I just updated NRGZ28 Energy.Leo.21898.Sense2.5_Cookie_HomeTab.Apr.11.7z from Energy.Leo.21898.Sense2.5_Cookie_HomeTab.Apr.09
and to me looks like the sluggish has gone, while the music is being built, now I can slide to another tab. I also noticed the the songs start appearing/built a hole hell of lot faster.
I have not seen the release notes yet, but whatever is there is more satisfied for me now.
Thanks
Click to expand...
Click to collapse
Could you tell us if you have your music in folder like mentioned above?
"I have solved the problem with my library. I have spent today re-arranging my music files into folders ARTIST>ALBUM>SONGS.
Before I had all the songs/files labeled e.g. "Artist - Song Name" in one "music" folder. Now it only takes about 10 secs to rebuild the library. Much faster."
I'd really like to know if I'm going to run into the same problems if I decide to ditch my iPod.
Hello all,
The best solution to the Sense music player being slow when there are 100's of tracks is to split the files over several folders on the root (cut & paste).
Keep this to around 50-60 tracks in any one folder. For exanple is the Music folder on my MicroSD card I have created 0-A, B-C, D-F, etc. and place all the tracks in order of the fist letter. This can be easily done by plugging in your USB cable to the device and selecting Disk Drive.
Once you have done this, reset your device and go to the music tab, it will then perform one scan and you will not get any delay thereafter.
muzens said:
I have solved the problem with my library.
I have spent today re-arranging my music files into folders ARTIST>ALBUM>SONGS.
Before I had all the songs/files labeled e.g. "Artist - Song Name" in one "music" folder.
Now it only takes about 10 secs to rebuild the library. Much faster
Click to expand...
Click to collapse
that's how I arrange my mp3.

Music App Issue.

I have a stock TMOUS HD2. I have just over 950 songs on my mSD card and whenever I move to the music tab on sense it takes a good 12-15 seconds to load (during which the phone is frozen). Now this is only when I have the entire library in the current playlist. Is this normal, and is there any way to shorten this slight lag? Also, I like to leave the entire library on shuffle, but sometimes, when leaving the music tab and coming back in (after another wait) the music is no longer shuffled, even though the little check box is still there. I just have to tap it twice to make it shuffled again. Not deal breakers, just inconveniences, I still love my HD2.
rickyzone said:
I have a stock TMOUS HD2. I have just over 950 songs on my mSD card and whenever I move to the music tab on sense it takes a good 12-15 seconds to load (during which the phone is frozen). Now this is only when I have the entire library in the current playlist. Is this normal, and is there any way to shorten this slight lag? Also, I like to leave the entire library on shuffle, but sometimes, when leaving the music tab and coming back in (after another wait) the music is no longer shuffled, even though the little check box is still there. I just have to tap it twice to make it shuffled again. Not deal breakers, just inconveniences, I still love my HD2.
Click to expand...
Click to collapse
I have noticed this as well. It seems to need to reload the media after a certin amount of time. No real fix that I have seen yet.
zelendel said:
I have noticed this as well. It seems to need to reload the media after a certin amount of time. No real fix that I have seen yet.
Click to expand...
Click to collapse
Thats what I was thinking too... Maybe there is a way to turn of the automatic indexing or whatever it is it's doing and do it manually. Registry Key change?
rickyzone said:
Thats what I was thinking too... Maybe there is a way to turn of the automatic indexing or whatever it is it's doing and do it manually. Registry Key change?
Click to expand...
Click to collapse
I have looked in the reg and have not found anything. I think it is hard coded in the manila files as I noticed the change from sense 2.1 to 2.5. If I find anything Ill let you know
there sems to be some kind of problem with music tab in this phone, at the begining it did not find any music, I had to search for a solution deleting something in Manila and reseting manila, after that it read my music files.
and yes, every time I softreset or turn off and on the phone, when I go to music tab it doesnt find enything and after half a minute it starts loading my files (and I have only loaded 500 MB yet)
When I had my Diamond 2 it was fast, music tab and everything was there with 0 delay. I got no idea what must be worng with the code in our 1 Ghz HD2 music tab.
radzi said:
there sems to be some kind of problem with music tab in this phone, at the begining it did not find any music, I had to search for a solution deleting something in Manila and reseting manila, after that it read my music files.
and yes, every time I softreset or turn off and on the phone, when I go to music tab it doesnt find enything and after half a minute it starts loading my files (and I have only loaded 500 MB yet)
When I had my Diamond 2 it was fast, music tab and everything was there with 0 delay. I got no idea what must be worng with the code in our 1 Ghz HD2 music tab.
Click to expand...
Click to collapse
I noticed the music thing today also. But when you update your library via windows media player, it seems to find all the music. At least, did for me. That fixed that issue, maybe music tab and windows media player are connected some way?
The lag in initial loading is caused by a lack of cache on the SD card. I found a cab that brought my load time from 30-50 seconds down to 11 seconds (I have 10.4GB of music). It should speed up everything on the SD card since all it does is enable the cache on the card.
let me know how it works for you. I've asked NRG if he would work the reg-hack into his ROM, but this should do as a work around.
Don't thank me, thank the author of the hack.
Thanks for this, if I still had my HD2 I would test it XD
travis.garrison said:
The lag in initial loading is caused by a lack of cache on the SD card. I found a cab that brought my load time from 30-50 seconds down to 11 seconds (I have 10.4GB of music). It should speed up everything on the SD card since all it does is enable the cache on the card.
let me know how it works for you. I've asked NRG if he would work the reg-hack into his ROM, but this should do as a work around.
Don't thank me, thank the author of the hack.
Click to expand...
Click to collapse
rickyzone said:
I have a stock TMOUS HD2. I have just over 950 songs on my mSD card and whenever I move to the music tab on sense it takes a good 12-15 seconds to load (during which the phone is frozen). Now this is only when I have the entire library in the current playlist. Is this normal, and is there any way to shorten this slight lag? Also, I like to leave the entire library on shuffle, but sometimes, when leaving the music tab and coming back in (after another wait) the music is no longer shuffled, even though the little check box is still there. I just have to tap it twice to make it shuffled again. Not deal breakers, just inconveniences, I still love my HD2.
Click to expand...
Click to collapse
This used to be a big issue for me. I have around 800 songs and well about 8GB and it would take a really long time before it would load up my songs. What I did was copy the Audio_manager.exe file from the windows folder and and pasted it in the Startup folder also in the windows folder. That helped out immensely.
toreone said:
This used to be a big issue for me. I have around 800 songs and well about 8GB and it would take a really long time before it would load up my songs. What I did was copy the Audio_manager.exe file from the windows folder and and pasted it in the Startup folder also in the windows folder. That helped out immensely.
Click to expand...
Click to collapse
I tried that and it didn't have any effect on my load time. The cab did because it enabled the data to be cached, but starting the HTC audio manager in theory will only start the audio manager on startup which gives the appearance of a faster load because the data is being loaded while the phone starts and by the time you get to music it should be done.
My theory is that every time you slide away from the audio manager it closes the app and when you reopen it (thus have to reload the playlist) you're gonna get long load times once again. I could be wrong (wouldn't be the first time) but I know the behavior on my device had nothing to do with starting the audiomanager on startup
i found out that most of the problems wen it comes to playin mp3s with music tab its not the device its the music, anywhere from a bad files a to a virus can cause ur music to freeze and start all over again but there is a solution to the problem that i found and it works for me... simply transfer all of ur songs back to ur computer and format ur micro sd card to wipe clean as ur doing so download mediamonkey its free and recode all songs to mp3 u can also add or remove album art once complete send ur music back to sd card and that should resolve the issuse, if not then the problem is the media player itself and u will need to update it by hard reset if ur on stock rom or change rom if its a cooked rom... goodluck and enjoy
Wingtytn, et al-
Thank you guys very much for your helpfulness. I am however getting a little tired of hearing the music, tags and the lunar cycle being blamed. While, yes, it's true that music can cause problems, that isn't the case here.
#1- If I open the music directly in Windows Media Player (on the phone) it not only loads instantly, but plays instantly and skips through songs without any hesitation. It also has no trouble keeping the shuffle setting on.
#2- This problem has occurred over the fresh installation of many ROMs. Every time I install a new ROM I delete any non-user created data on the SD Card, Hard Reset the Phone, Task29, then flash the ROM. The FIRST thing I do is check to see if these bugs still occur in the Sense Media Player, and inevitably they do.
#3- The first thing I did when I got this phone was to format the MicroSD card. It's the one that came with the phone, so I know it's not a compatibility issue.
#4- My music library is maintained and synced with my phone via Media Monkey Gold. It has been for some time and Media Monkey does a PHENOMENAL job at updating tracks' tags and checking file names.
If you still think its the music, see #1, and note that it works just fine on my laptop and the 16GB USB memory stick that I sync with to plug into the headunit in my car.
Then if you still think it's the music go ahead and post again that you think it's the music since it hasn't already been suggested and debunked (in my case) ad nauseum.
This rant has been brought to you by the letter 'V' and the number '5'
wingtytn said:
i found out that most of the problems wen it comes to playin mp3s with music tab its not the device its the music, anywhere from a bad files a to a virus can cause ur music to freeze and start all over again but there is a solution to the problem that i found and it works for me... simply transfer all of ur songs back to ur computer and format ur micro sd card to wipe clean as ur doing so download mediamonkey its free and recode all songs to mp3 u can also add or remove album art once complete send ur music back to sd card and that should resolve the issuse, if not then the problem is the media player itself and u will need to update it by hard reset if ur on stock rom or change rom if its a cooked rom... goodluck and enjoy
Click to expand...
Click to collapse
thanks for the .cab made me love the hd2 even more....
wow
i installed the cab and the average recognition time went from 40 seconds to 4! I would have never believed it. thanks for posting the cab.
side note: when I turn the phone to landscape I can never scroll through all the cd art. It stops about 20 cd's through and goes back to the begining. This has been the norm since day one. Is it just me? thanks.
I got so sick and tired of the music player taking forever to load. And no its not my music files. Do yourself a favor and don't use the default music player. I switched to Pocket Player and have not looked back. Loads all my music (about 8gigs) in about 3 -5 seconds. It also has FLAC support, built in EQ and lots of other nice little things.
steve austin said:
i installed the cab and the average recognition time went from 40 seconds to 4! I would have never believed it. thanks for posting the cab.
side note: when I turn the phone to landscape I can never scroll through all the cd art. It stops about 20 cd's through and goes back to the begining. This has been the norm since day one. Is it just me? thanks.
Click to expand...
Click to collapse
Well, I've never tried that scenario. Does it have that behavior in portrait mode too? I just tried to recreate the problem but wasn't able to (it seemed to behave itself for me.
speoples20 said:
I got so sick and tired of the music player taking forever to load. And no its not my music files. Do yourself a favor and don't use the default music player. I switched to Pocket Player and have not looked back. Loads all my music (about 8gigs) in about 3 -5 seconds. It also has FLAC support, built in EQ and lots of other nice little things.
Click to expand...
Click to collapse
Seriously, this thread is for people who are trying to get the Sense Media Player working correctly, NOT taking suggestions about which other media player to use. Yes there are other media players out there and they're all great I'm sure, BUT I DON'T WANT TO USE THEM SO STOP SUGGESTING THEM AND POST FIXES OR WORK AROUNDS. thank you.
what about using a class 6 micro SD card, the one that came with our phones is a class 2, which is suppose to have slow read/write times. i got a 16gb class 6 card from amazon for like $50, and it is way faster then the stock one...
Aside from putting the Audiomanager shortcut in the startup folder, the cure for my music tab lag was simply 'not having every song in a single playlist'. I have 10GB of music on my SD card, and that's a lot of music to have on a single playlist, given Audiomanager annoyingly attempts to cache the entire Now Playing list including art every time you open it. Try selecting one artist/album at a time - works for me without fail.
I do really, really wish Audiomanager had the alphabet search function the contact manager has. And the ability to add albums/songs to Now Playing on the fly without creating a new playlist. Ah well, can't win 'em all - I won't sacrifice the Sense integration.
vista64 said:
what about using a class 6 micro SD card, the one that came with our phones is a class 2, which is suppose to have slow read/write times. i got a 16gb class 6 card from amazon for like $50, and it is way faster then the stock one...
Click to expand...
Click to collapse
This could potentially work. However here is a few things to look out for:
- Make sure it's legit class 6. At $50 if you got it from China then it's iffy about whether it's legit.
- The bottleneck might be the hardware card reader on the phone. If the card is capable of class 6 speeds but the reader will only read at, say, class 4 speeds then you won't see the speeds you are looking for.
Can you think about doing some more accurate testing with this? Here is what I suggest. Get a stopwatch, and media monkey. Sync all of your music on the old card with media monkey. Do a hard reset on the phone (so that no cabs are installed and it has the really slow start times). Collect 5-10 sample times with the stopwatch.
When you get your new card do the same thing. Sync all of your songs using media monkey, then hard reset and collect 5-10 startup times with the stopwatch and report your data.
The problem with simply "finger counting" is that if the numbers are negligible then you could get a placebo effect so that it "seems" faster but with no hard numbers you can't really tell.

Categories

Resources