Hello
When testing our app on the Nook Color we have noticed that when our app loads sound on some even the app hangs for a second - i.e. if there is any animation or transition is running it pauses for some small but noticable moment and then continue to run, Our music and sound file are relatively small - 10Kb - 50Kb max. is there any way how we can eliminate this pauses? They are realy spoiling user experience.
Thanx! [import]uid: 67485 topic_id: 31341 reply_id: 331341[/import]
What are the settings for your sound file? Is it a 44Khz stereo track or an 8khz mono track?
First android has a known delay in playing sounds and its worse on the Nook Color. Secondly the Nook Color is really, seriouslly under-powered and big (not necessarily disc space big but memory big) sounds are near impossible to use on the device. They are slow loading, they stutter, they pause the app.
Try making them 8kzh mono tracks and see if it improves things.
“Yea but that will kill the quality of my sound”… True, but it’s not working now and its a sacrifice that has to be made.
[import]uid: 19626 topic_id: 31341 reply_id: 125287[/import]
I think the standard workaround for this is to preload each of your sounds using audio.loadSound() during some kind of “loading…” phase or during the app startup sequence, where it won’t be as objectionable to the user. Then they just hang out in memory and you should be able to use them anytime without a pause.
If you’re using streaming music I’m not sure there’s a way to preload the first chunk of a stream. But if all your tracks are under 50k you might as well preload them as sounds, rather than streams. [import]uid: 9422 topic_id: 31341 reply_id: 125387[/import]
What are the settings for your sound file? Is it a 44Khz stereo track or an 8khz mono track?
First android has a known delay in playing sounds and its worse on the Nook Color. Secondly the Nook Color is really, seriouslly under-powered and big (not necessarily disc space big but memory big) sounds are near impossible to use on the device. They are slow loading, they stutter, they pause the app.
Try making them 8kzh mono tracks and see if it improves things.
“Yea but that will kill the quality of my sound”… True, but it’s not working now and its a sacrifice that has to be made.
[import]uid: 19626 topic_id: 31341 reply_id: 125287[/import]
I think the standard workaround for this is to preload each of your sounds using audio.loadSound() during some kind of “loading…” phase or during the app startup sequence, where it won’t be as objectionable to the user. Then they just hang out in memory and you should be able to use them anytime without a pause.
If you’re using streaming music I’m not sure there’s a way to preload the first chunk of a stream. But if all your tracks are under 50k you might as well preload them as sounds, rather than streams. [import]uid: 9422 topic_id: 31341 reply_id: 125387[/import]
2 robmiracle
Hi! Yes, that’s what weare thinking about - it looks like something wrong with Nook performance in general. Because we tried to turn off all the sounds and STILL have some issues with big pictures and transitions - sometimes transition hangs for 0.1 sec and then continue again - not much, but stil bad user experience! [import]uid: 67485 topic_id: 31341 reply_id: 125921[/import]
2 robmiracle
Hi! Yes, that’s what weare thinking about - it looks like something wrong with Nook performance in general. Because we tried to turn off all the sounds and STILL have some issues with big pictures and transitions - sometimes transition hangs for 0.1 sec and then continue again - not much, but stil bad user experience! [import]uid: 67485 topic_id: 31341 reply_id: 125921[/import]