LDS Hymns (Android App)

codyhamilton
New Member
Posts: 1
Joined: Tue Feb 07, 2017 8:38 am

LDS Hymns (Android App)

#1

Post by codyhamilton »

I am currently having issues with the Hymns app, specifically waiting for hymns to load after selection from the tray. If I remember correctly, there used to be a manual download for all the sheet music. Now when I load the app and select a hymn, it will spend anywhere from one to five minutes just scrolling the loading bar before the one page of sheet music I want to see shows up. I miss being able to just have all of them downloaded and not need to wait for any load time. Any information or tips on this?
User avatar
sbradshaw
Community Moderators
Posts: 6245
Joined: Mon Sep 26, 2011 9:42 pm
Location: Utah
Contact:

Re: LDS Hymns (Android App)

#2

Post by sbradshaw »

Are you talking about the LDS Hymns app (made by a third-pary developer), or the LDS Music app (official music app developed by the Church)?
Samuel Bradshaw • If you desire to serve God, you are called to the work.
lajackson
Community Moderators
Posts: 11460
Joined: Mon Mar 17, 2008 10:27 pm
Location: US

Re: LDS Hymns (Android App)

#3

Post by lajackson »

I can't speak for codyhamilton, but hymn loading in LDS Music is a big issue for me. We are always well into the first verse before the hymn loads, and it takes even longer if I turn my phone to switch to portrait. It has to load again, perhaps due to using a different file.

It seems to me that in prior versions, I could swipe through all the hymns and, once they were loaded, they would display almost immediately. But that does not work with the current version of the app.

When I say delayed loading, we are talking 15 to 20 seconds, more than enough for the introduction and the first verse to begin.
User avatar
sbradshaw
Community Moderators
Posts: 6245
Joined: Mon Sep 26, 2011 9:42 pm
Location: Utah
Contact:

Re: LDS Hymns (Android App)

#4

Post by sbradshaw »

I don't know why previous versions of the app would load the sheet music faster, but I can give a little background about what the app's doing and why it might take some time. I'm a quality assurance engineer on the Church's mobile apps team, and I'm also responsible for maintaining the content channels for the LDS Music app.

The first time you open a song in a collection (for example, a song in the English hymnbook), it will download a combined PDF that includes all of the hymns for that collection. As it's downloading, you will see a "Downloading..." message on the screen. Downloading will only happen once for a given collection (so, once for the hymnbook), unless the PDF is updated, or you clear the app's data. The last time the PDFs were updated was several months ago ago.

What's most likely taking a long time is the "Loading..." process (not the downloading). Android doesn't have native support for PDF rendering, so when you go to a song, LDS Music has to convert that page of the PDF into a PNG that can be displayed. PNGs take up much more space than PDFs, which is why the rendering is done on-device instead of being downloaded as PNGs directly. The time it takes to convert the PDF to a PNG varies on different devices. After the PNG for a song is generated, it's stored in the Android cache so it can be pulled up quickly the second time you view the song. After the cache reaches a certain size, though, the older items in the cache get cleared out, so you may have to re-render a song if you haven't visited it for a while.

The developer (a Gospel Library developer working on LDS Music during his spare time as a volunteer) has been trying various methods (different third-party libraries, using SVGs, improving caching) to reduce the loading time, but unfortunately the options are pretty limited.

One thing we're prototyping right now is using MusicXML instead of PDFs to render the sheet music. If we get the approvals we need from the music department, this will really speed up the loading time – and bring with it several other benefits. We've wanted to use MusicXML for several years, in the Android and iOS apps, and I think we're getting closer to the right time for it to happen.
Samuel Bradshaw • If you desire to serve God, you are called to the work.
russellhltn
Community Administrator
Posts: 34417
Joined: Sat Jan 20, 2007 2:53 pm
Location: U.S.

Re: LDS Hymns (Android App)

#5

Post by russellhltn »

Until then, perhaps one strategy would be to eyeball the hymn board and pull up all the hymns used for the meeting ahead of time. Of course, this only works if you know the hymns in advance.
Have you searched the Help Center? Try doing a Google search and adding "site:churchofjesuschrist.org/help" to the search criteria.

So we can better help you, please edit your Profile to include your general location.
lajackson
Community Moderators
Posts: 11460
Joined: Mon Mar 17, 2008 10:27 pm
Location: US

Re: LDS Hymns (Android App)

#6

Post by lajackson »

sbradshaw wrote:What's most likely taking a long time is the "Loading..." process (not the downloading). Android doesn't have native support for PDF rendering, so when you go to a song, LDS Music has to convert that page of the PDF into a PNG that can be displayed.
That appears to be exactly what is happening. Thanks for the explanation.

I must have a very small cache, though, and Android must be storing other things there, as well, because I called up the same hymn each week for several weeks, and it had to load (or render) each time.

Longshot. Any chance I could just access the pdf file with my pdf app? Then I could just fling myself to the right page and go. I realize this would negate all of the index links and play options, but it would be pretty slick just for viewing and singing.

Or maybe the Music app itself could access the pdf app on my phone? Is that workable, or are there too many version of pdf around? Or would I have to promise not to send feedback if LDS Music didn't work through my third-party app?

Just barnstorming here. Please ignore the guy behind the curtain . . .
User avatar
sbradshaw
Community Moderators
Posts: 6245
Joined: Mon Sep 26, 2011 9:42 pm
Location: Utah
Contact:

Re: LDS Hymns (Android App)

#7

Post by sbradshaw »

This is the PDF file that the LDS Music app uses for the English hymnbook:
https://media.ldscdn.org/pdf/music/hymn ... ns-eng.pdf
You're welcome to download it directly to your device for use in a PDF app. There's not an easy way for LDS Music to send the PDF to a different app for rendering, while continuing to use LDS Music for navigation.
Samuel Bradshaw • If you desire to serve God, you are called to the work.
lajackson
Community Moderators
Posts: 11460
Joined: Mon Mar 17, 2008 10:27 pm
Location: US

Re: LDS Hymns (Android App)

#8

Post by lajackson »

Cool. Thanks. I'll use this for my workaround for quick-access general singing or conducting. Although the suggestion russellhltn made does work if the hymns are posted in advance, such as for sacrament meeting. I can store about eight to ten hymns before the cache starts to overflow.
larrycrandall
New Member
Posts: 3
Joined: Fri Jul 14, 2017 6:42 am

Re: LDS Hymns (Android App)

#9

Post by larrycrandall »

Anything new with the LDS Hymns app for Android?
All I get now is "Cannot Load Sheet Music".
Thanks
lajackson
Community Moderators
Posts: 11460
Joined: Mon Mar 17, 2008 10:27 pm
Location: US

Re: LDS Hymns (Android App)

#10

Post by lajackson »

larrycrandall wrote:Anything new with the LDS Hymns app for Android?
All I get now is "Cannot Load Sheet Music".
After an update last Summer, the help folks asked me to uninstall and then reinstall the app to solve another issue. It solved the problem I had then relating to hymn indexing. Otherwise, the app has been working just fine for me.
Post Reply

Return to “Mobile Applications”