Active Topics

 



Notices


Reply
Thread Tools
Posts: 176 | Thanked: 110 times | Joined on Jul 2010
#341
I too also expressed an opinion!
 
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#342
Originally Posted by MSameer View Post
Since recitations is the most wanted feature so far, I already started implementing it. I just need to clarify a few points:
1) No recitations will be downloaded from the application itself. The file is large and I have to resume the download when the app gets restarted and/or the phone gets disconnected... That will be hard to get right.

2) Recitations are simply installed by downloading them from http://zekr.org/resources.html#recitation and copying the extracted files to a specific folder (I'll give the details later). The application will then detect the new folder and present the new recitation.
Thank you! This system makes more sense. Maybe you can give instructions to download the recitations in the program itself?


Originally Posted by MSameer View Post
3) There will be no recitations for translations. Make your own recitation (I'll give full details later) and copy the mp3 files also to a folder and it will be played by the application.

4) I guess I will not implement reading the translations with espeak. Someone (ejasmudar ? ) can write a simple application that extracts the translation text and uses espeak to generate mp3 files and install them as you do with custom recitations. I will provide all the help needed to whoever decides to write such an application but I'm really sorry guys. I cannot do it. Not enough time.
I can also provide a C++ or python class to read the text of a translation.
Yes I can help, albiet with my rather primitive knowledge of python and shell scripting. The way I see it, we can go about this two ways.
1. A script can be made that generates mp3 files from translation using espeak in the appropriate format and places it in the correct folder.
ADV: somebody can make this and upload it online so that others can download and use it just like recitations
DISADV: If you have multiple translations, then mp3s for full quran for multiple translations is not very practical, IMO

2. Espeak should be run on-the-fly along with the application. I don't know how to go about this. I mean, should the user run the application and the script together? Or, I could make a script that takes as parameters the surah no, ayah no, and translation name, and the script can use espeak to generate the speech from the translation database. This script can then be integrated into this app itself.



Originally Posted by MSameer View Post
5) I am planning to implement reading of a single aya, a full sura and a full page. Repeating an aya can also be done.

We just need to think how the UI will behave.

Playing a single aya can be done by long pressing on an aya (Just like adding and removing bookmarks).
Playing a single sura can be done via a speaker icon in the sura header.

Where should we put an icon for playing a page ?
Where should we put an icon for repeating an aya ?
What will happen if you are playing a recitation and then you switch the page ?
I want to put an icon to stop the recitation. Where should that be ?
Hmm, can we have a completely independent recitation dock/bar? This can usually be hidden, and it appears at the top when the user clicks an extra icon at the bottom dock? This way only one extra icon is required in the bottom dock.
The top dock can have icons for page/ayah/surah recitations, recitation type, stop recitation, etc etc.


Originally Posted by MSameer View Post
I'm also thinking about an idea: holding the phone upside down for a second (Display towards the floor) should stop the recitation. What do you guys think ?

What does everybody think about that ?
i am a 100% liking the upside-down-silent idea. Just like the phone's ring tone.
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!
 

The Following User Says Thank You to ejasmudar For This Useful Post:
TransTech's Avatar
Posts: 671 | Thanked: 876 times | Joined on Mar 2011
#343
Originally Posted by MSameer View Post
@TransTech I fixed the bug. Thanks for reposting.
I can make the fade in animation a bit faster if that's really in issue
I cannot take the new logo into use before I can give the creator credit in the about page. If you can handle that then please check with him.

@TransTech The recitation icon is not square
Could you please fix that ?
Could you also prepare an icon to "Add recitation" ? It will be used to show the page that has the instructions on how to download and install a recitation.


Since recitations is the most wanted feature so far, I already started implementing it. I just need to clarify a few points:
1) No recitations will be downloaded from the application itself. The file is large and I have to resume the download when the app gets restarted and/or the phone gets disconnected... That will be hard to get right.

2) Recitations are simply installed by downloading them from http://zekr.org/resources.html#recitation and copying the extracted files to a specific folder (I'll give the details later). The application will then detect the new folder and present the new recitation.

3) There will be no recitations for translations. Make your own recitation (I'll give full details later) and copy the mp3 files also to a folder and it will be played by the application.

4) I guess I will not implement reading the translations with espeak. Someone (ejasmudar ? ) can write a simple application that extracts the translation text and uses espeak to generate mp3 files and install them as you do with custom recitations. I will provide all the help needed to whoever decides to write such an application but I'm really sorry guys. I cannot do it. Not enough time.
I can also provide a C++ or python class to read the text of a translation.

5) I am planning to implement reading of a single aya, a full sura and a full page. Repeating an aya can also be done.

We just need to think how the UI will behave.

Playing a single aya can be done by long pressing on an aya (Just like adding and removing bookmarks).
Playing a single sura can be done via a speaker icon in the sura header.

Where should we put an icon for playing a page ?
Where should we put an icon for repeating an aya ?
What will happen if you are playing a recitation and then you switch the page ?
I want to put an icon to stop the recitation. Where should that be ?

I'm also thinking about an idea: holding the phone upside down for a second (Display towards the floor) should stop the recitation. What do you guys think ?

What does everybody think about that ?
Fade-in: yes i want the fade-in animation a bit more faster (i.e quick but with animation), but slide-in will also look good.. what you say?

The app icon is made by me, and its been formed into harmattan style by @Cloud596, i'll ask Cloud596 (if he has come back from vacation) to send you a pm about the name and email to be credited into the app's about page..
Edit: I have sent a PM to @Cloud596 for this matter, he will contact you regarding this..
Edit2: See PM.. Its done!!!

Recitation Icon: Sorry for the recitation icon, it was my mistake. .. i have recreated the icon and also attached the Add Recitation icon.. here is the link..
RecitationRemake.rar

Recitation Download:
1. Your idea of downloading the recitation (from outside of the app) is good, but i think a wiki page must be made and a link of it must be present on the first post to make the users download the recitations, I also prefer a download link of different recitations must be present in the apps recitation page which when pressed opens browser to download (by this way if the user is downloading it from he mobile itself will have an opportunity to pause and download later. )

2. that website is just perfect.. just waiting for the new update to check it..

3. No problem for me with this one, as i already have the recitation of translation and tafsir i wanted.. (Urdu language)

4. Generating the mp3s with espeak with create robotic sound i think.. but now sure i didnt experianced with other languages..

5. A. Playing a ayat with long press.. (where will the bookmarks go and what happens to tanslations),.. i think a single tap on ayat should display a floating dock below it to select recitation, or translation. Long press can be reserved for bookmarks. whereas repeatation of an ayat can be implemented by longpressing the recitation on floating dockbar.. (p.s. floating dockbar closes after selecting any of the two(three with repeat) function

5. B. Pressing on the speaker icon on the surah heading reads full surah which can be stopped by repressing the same button (which now turns to stop button) /or longpress anywhere on the screen to stop it. (same can be done while repeat function is on).

5. C. Playing full page recitation: this can be done only with the help of 'F'unction Menu icon on dock containing "Change Translation" and "Change recitation & Recite Page". And to stop recitation long press anywhere on the screen.

5. D. See 5. A. and 5. B.

5. E. Switching the page when Recitation is going on: The recitation should stop in case of full page recitation and ayat recitation and repeat recitation. and should continue while full surah recitation.

5. F. Hold phone upside down towards floor to stop: The alternative method is shown in the points. 5. A., B., And C., BTW this method is little confusing to most of the users while recitation is on, (p.s I liked the idea, but its not practical in this app when used only for recitation).

p.s. I'll try to show you mock-ups regarding the point 5(A,B,C), if I get some free time.. [See Below]

Thanks

Edit: Mock-ups

Recite Page Function in 'F'unction menu:


Full Surah recitation and toggle stop button preview mock-up:


Floating Translation and Recitation Dockbar, shown when tapped on an ayat. (contains 3 functions > |Translation | Recitation and Repeat Translation | )

Last edited by TransTech; 2011-09-11 at 14:37. Reason: Mock-ups and App Icon Confirmation
 

The Following 2 Users Say Thank You to TransTech For This Useful Post:
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#344
2 large posts... I'll reply to ejasmudar and TransTech in one post!

I'll check the icons and report back. Thanks TransTech.

Installation:
=========
Full instructions will be available in the application itself.
I already managed to get the app to recite

The app will support 2 formats:
1) The .recit.zip used by Zekr.
2) A custom one: Just put the mp3s in a folder and create a simple file to tell the app about it.

I really wouldn't want the user to download the recitations on the phone. Extracting the zip fill will take a LONG time. I tried it myself.

I'll anyway link to the download page and the browser will be invoked.

Espeak issue:
===========
I really prefer a separate application. A class that looks like this:
<code>
class Translation:
def listAvailable():
"""Returna a list of available translations"""
pass

def chapterText(translationId, chapter):
"""returns a list of text strings for the given chapter and translation"""
pass
</code>

An application can do something like:
<code>
translations = Translation.listAvailable()
for t in translations:
for x in range(1, 114):
text = Translation.chapterText(t, x)
for r in text:
# invoke espeak with the textual data
# Save the output wav
# encode it in mp3
# save the file somewhere
</code>

I can optionally add wav support to the custom format which eliminates the encoding part.

Generating the mp3 files from the quran application itself on the fly might slow down the recitation.
We can always generate the next aya while reading the previous but think about the battery life.

Fade in effect:
===========
I'll try to implement slide in and/or faster fade in effect and show you the result. It will take some time though.

App Icon:
=======
I thought he's the one who created it completely. I now realize I was mistaken. I really like the harmattan style and thinking about using it for both N900 and N9

Navigation:
=========
The separate toolbar sounds like a nice idea but it will also consume space especially in landscape mode :|
We can always double the height of the upper part and add an icon there.

5.A:
Tapping on the Aya has been reserved already for showing translations in hidden mode.
We can however modify. Tapping on an aya will show the hidden translation but will also show a small bar with icons.
That bar will contain an icon for:
1) Playing the recitation for the aya
2) Bookmarking/unbookmarking.
3) Repat the aya until you stop it.
4) Play the ayat from that position until the end of the page
5) Play until the end of the sura.
That new bar will also show up if you long tap (Instead of the menu).

5.B:
long tap has a function. I don't really want to overload it (See 5.C)

5.C:
We can add the stop button to the new functions menu.

How about we add those functions to the application menu ?
I can try to add a bottom row to the menu. That button row simply replaces the functions menu you are proposing ?

5.E:
The page will scroll when doing sura/page recitation. If you switch the page then the recitation will stop because it cannot show the aya being played.

5.F:
Holding upside down or simply tapping an icon in the functions menu.

One of the issues I'm facing is placing the sura recitation icon. The font size and the contents of the header are not fixed. At the same time I don't want it to cover part of the sura name.
 

The Following 2 Users Say Thank You to MSameer For This Useful Post:
TransTech's Avatar
Posts: 671 | Thanked: 876 times | Joined on Mar 2011
#345
Originally Posted by MSameer View Post
Fade in effect:
===========
I'll try to implement slide in and/or faster fade in effect and show you the result. It will take some time though.

App Icon:
=======
I thought he's the one who created it completely. I now realize I was mistaken. I really like the harmattan style and thinking about using it for both N900 and N9

Navigation:
=========
The separate toolbar sounds like a nice idea but it will also consume space especially in landscape mode :|
We can always double the height of the upper part and add an icon there.

5.A:
Tapping on the Aya has been reserved already for showing translations in hidden mode.
We can however modify. Tapping on an aya will show the hidden translation but will also show a small bar with icons.
That bar will contain an icon for:
1) Playing the recitation for the aya
2) Bookmarking/unbookmarking.
3) Repat the aya until you stop it.
4) Play the ayat from that position until the end of the page
5) Play until the end of the sura.
That new bar will also show up if you long tap (Instead of the menu).

5.B:
long tap has a function. I don't really want to overload it (See 5.C)

5.C:
We can add the stop button to the new functions menu.

How about we add those functions to the application menu ?
I can try to add a bottom row to the menu. That button row simply replaces the functions menu you are proposing ?

5.E:
The page will scroll when doing sura/page recitation. If you switch the page then the recitation will stop because it cannot show the aya being played.

5.F:
Holding upside down or simply tapping an icon in the functions menu.

One of the issues I'm facing is placing the sura recitation icon. The font size and the contents of the header are not fixed. At the same time I don't want it to cover part of the sura name.
Fade in effect:
===========
I would love to see any of the both, but all I want is a faster Interface..

App Icon:
=======
I think both of us should be equally credited as I made the icon and he cropped it into harmattan style...
off Topic: Will this app be coming to symbian Anna/Belle as one of my relative asking for his Nokia E7... (he really loved its unique features)

Navigation:
=========
Umm.. yes it consumes a lot of space... and I think its not feasible..
5.A. How about a floating Ribbon toolbar which comes up when short tapped on a verse showing options for bookmark translation and recitation, this dockbar changes to specific options dockbar like when pressed recitation shows all the options of recitation like you said (5.A. 1-5 ), however the long press set for stopping the recitation of any kind...

5.C. SEE 5.A. Long press...

Adding functions to main menu will just make it too long and disturbing...
What is a bottom row?

5.E. Thats great.. [auto scroll during recitation]

5.F. Move surah recitation to "F" Menu button..
 
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#346
Unfortunately I am not planning to port it to symbian. I have zero experience with symbian development.

However, the code is mainly Qt/QML. It should be very easy to get it to work on symbian for anybody.

Maybe he should buy an N9 ? You will love our work

5A: If you have translation mode enabled or disabled then the toolbar should appear when you short tap.
If you have translations hidden then the translation will show up AND the toolbar will appear.

We can put there an icon for bookmarking/unbookmarking, playing. repeating. play until the end of sura. play until the end of page. Maybe oneday we can add a 6th icon for anything.

If recitation is not enabled then only bookmarking/unbookmarking will be available.

perhaps long tapping should also stop recitation. I'd like also to add a dedicated stop somewhere.

Sura recitation to the F menu ? I'm trying not to add another menu

I'm attaching a screenshot of the menu showing what I meant. The bottom row can be used for icons

EDIT: New icons are fine. Thanks
Attached Images
 
 
Banned | Posts: 695 | Thanked: 308 times | Joined on Apr 2011 @ originally pakistan ,now in china
#347
some humble suggestions
1-if you could place the settings/search/about/quit ( dock option in dockbar ) in the middle ( by replacing T option) rather than on the right corner,would be great ,u know some times it is hard to get the options on single press.So if you could ,would be nice .
2-i loved the idea you working on ..5A must have this 5C function.
3-up side down is a great idea ,please implement it .
4-5A,B,C can be shown along an aaya in a vertical manner
5-long tap on aaya is already there ( add to favorite ) so its okey there .
6-every thing must be kept optional in sense of listening or reading it.
7-themes areas need to be better,new themes can be added,
8-More options for customization e.g the background can have a real quran pages like feel ( will look beautiful ) .FOR EXAMPLE : white background ( optional to change )+ black font color for quranic verses ( optional to change ) + brown font color for translations (optional to change ) .So that we probably can have a different look of QURAN every time we want .
9-application must scroll faster ,shouldnt affected by mp3 data files in any way.
10-your work speaks itself .thanks hundered of thousands times !
 
TransTech's Avatar
Posts: 671 | Thanked: 876 times | Joined on Mar 2011
#348
how about F button for functions ribbon dockbar... containing T, R and bookmark buttons.. and in future we can change the main menu into dock bar containing all icons.. no text..
alternately single tap must select an ayat and can display ribbon dockbar at the bottom...

off topic: he got e7 last month .. btw qt apps should run fine on Anna i believe.. anyway leave it i really dont like symbian.. i will tell him other apps will come for symbian... this one is for maemo/meego

Last edited by TransTech; 2011-09-11 at 20:04.
 
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#349
Well, I've never done any symbian work before. Most of the app is Qt but manipulating the translations and quran text files and searching are not done via Qt.

The code is public. Anyone can take it and do what he wants with it (port it to symbian or desktop or even android ). I just don't have any symbian experience.

I tried adding a bar woth icons under each aya and boy the UI became cluttered. Really messy. I don't know what to do now :|

Problem is there isn't enough space in the aya menu because I'm showing the full aya text there.

I guess I'll have to stop coding and think for a while.
 
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#350
Originally Posted by prankster View Post
some humble suggestions
1-if you could place the settings/search/about/quit ( dock option in dockbar ) in the middle ( by replacing T option) rather than on the right corner,would be great ,u know some times it is hard to get the options on single press.So if you could ,would be nice .
2-i loved the idea you working on ..5A must have this 5C function.
3-up side down is a great idea ,please implement it .
4-5A,B,C can be shown along an aaya in a vertical manner
5-long tap on aaya is already there ( add to favorite ) so its okey there .
6-every thing must be kept optional in sense of listening or reading it.
7-themes areas need to be better,new themes can be added,
8-More options for customization e.g the background can have a real quran pages like feel ( will look beautiful ) .FOR EXAMPLE : white background ( optional to change )+ black font color for quranic verses ( optional to change ) + brown font color for translations (optional to change ) .So that we probably can have a different look of QURAN every time we want .
9-application must scroll faster ,shouldnt affected by mp3 data files in any way.
10-your work speaks itself .thanks hundered of thousands times !
1) Which one is used more frequently ? T or settings ? If you have problems tapping the menu icon then we shouldn't move an important item such as T there (I guess).
6) Yes everything is optional as you can see. We are however limited by the small screen size.
7) Custom themes will be implemented. Let's just finish the most requested features first
8) Custom colors will be implemented too.
I can add an option for a background but the default will be white.
9) I don't understand that part ?

10) Thanks but it's also the work of everybody who commented here either suggestions, criticism, ideas, tips, contributions, encouragement, ... Thanks all for helping
 
Reply

Tags
religulous


 
Forum Jump


All times are GMT. The time now is 19:36.