Audio issue

9 views
Skip to first unread message

fasil k maliyakkal

unread,
Sep 2, 2010, 1:37:52 PM9/2/10
to zekr
Assalamu alaikkum brothers and sisters,

First of all let me appreciate such a great move towards da'wa. May
Allah Subhanahu wa Tha'la guide us through the right path.

I am using zekr 1.0 and linux lucid(10.04).
I have installed zekr following the instructions given at
http://zekr.org/wiki/Installation#Install_A_Compatible_Java_JRE
The installation went fine with a success message.
I also installed shatri-64kbps-offline.recit.zip and shatri-128kbps-
online.properties (the one which i like the most)
That is the only one recitation that i installed. But when i try to
play the recitation it is not giving me any result. The play button
will be disabled for a few seconds (between 1 - 5 seconds) and it will
be enabled again without any audibles. Could you please help me to
rectify this issue?

Thanks in advance!
Assalamu Alaikkum.



Mohsen Saboorian

unread,
Sep 2, 2010, 1:49:51 PM9/2/10
to ze...@googlegroups.com
Wa Alaikumassalaam wr wb,

I think you are trying to play an online recitation instead of the offline one. Playing online recitations with slow Internet connections may result in the similar behavior.

Are you sure, after installing offline recitation, you choose it from the list of recitations?

Make sure that you are using Sun JRE, and run Zekr wrapping it with padsp.

Regards,
Mohsen




--
You received this message because you are subscribed to the Google Groups "zekr" group.
To post to this group, send email to ze...@googlegroups.com.
To unsubscribe from this group, send email to zekr+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zekr?hl=en.


fasil km

unread,
Sep 2, 2010, 2:42:32 PM9/2/10
to ze...@googlegroups.com
I am using the offline recitation only by selecting it.
--
Regards,
Fasil

Mohsen Saboorian

unread,
Sep 2, 2010, 2:44:44 PM9/2/10
to ze...@googlegroups.com
Then please send me your ~/.zekr/zekr.log to see what's going wring in your case.

Mohsen

fasil km

unread,
Sep 2, 2010, 2:49:44 PM9/2/10
to ze...@googlegroups.com
this is the log from when I start zekr

00:17:46 [INFO] (Logger:71) - System information:
OS info:                Linux - 2.6.32-24-generic - i386
VM info:                Java HotSpot(TM) Server VM (Sun Microsystems Inc.) - 1.6.0_20 (16.3-b01) - mixed mode
User info:              /home/fas - /usr/share/zekr - en-IN
Encoding info:  UTF-8
00:17:47 [INFO] (ZekrMain:91) - Starting The Zekr Platform 1.0.0 (build: 2010081200) on Fri Sep 03 00:17:47 IST 2010.
00:17:47 [INFO] (LogSystemImpl:91) - Velocity Template Engine for Zekr initialized.
00:17:47 [DEBUG] (ZekrMain:107) - Display splash screen...
00:17:47 [INFO] (ZekrMain:91) - Configure runtime configurations...
00:17:47 [INFO] (ApplicationConfig:91) - Initializing application configurations...
00:17:47 [INFO] (ApplicationConfig:91) - Load Zekr configuration file.
00:17:47 [DEBUG] (ApplicationConfig:107) - Load /home/fas/.zekr/config/config.properties
00:17:47 [INFO] (ApplicationConfig:91) - Loading keyboard shortcuts.
00:17:47 [INFO] (ApplicationConfig:91) - Loading user keyboard shortcuts: /home/fas/.zekr/config/shortcut.xml
00:17:47 [INFO] (ApplicationConfig:91) - Initialize keyboard shortcuts and mappings.
00:17:48 [INFO] (ApplicationConfig:91) - Loading language pack files info
00:17:48 [INFO] (ApplicationConfig:91) - Default language pack is en_US
00:17:48 [INFO] (ApplicationConfig:91) - Found these language packs: [res/lang/turkish.xml, res/lang/macedonian.xml, res/lang/pashto.xml, res/lang/bosnian.xml, res/lang/uzbek.xml, res/lang/hebrew.xml, res/lang/german.xml, res/lang/dutch.xml, res/lang/tamil.xml, res/lang/urdu.xml, res/lang/persian.xml, res/lang/dhivehi.xml, res/lang/spanish.xml, res/lang/tatar-tr.xml, res/lang/chinese.xml, res/lang/english.xml, res/lang/french.xml, res/lang/indonesian.xml, res/lang/arabic.xml, res/lang/malay.xml, res/lang/russian.xml, res/lang/tatar.xml, res/lang/kurdish.xml, res/lang/bulgarian.xml]
00:17:48 [INFO] (LanguageEngine:91) - Initializing language engine...
00:17:48 [INFO] (LanguageEngine:91) - Parsing language pack English (en_US)
00:17:48 [INFO] (ApplicationConfig:91) - Default translation is: transliteration-en
00:17:48 [INFO] (ApplicationConfig:91) - Loading translation files info from: res/text/trans
00:17:48 [INFO] (TranslationData:91) - Loading translation pack transliteration-en(en_US):(transliteration-en.trans.zip)...
00:17:48 [DEBUG] (TranslationData:107) - Verifying translation text.
00:17:48 [DEBUG] (TranslationData:107) - Translation is valid
00:17:49 [INFO] (QuranPropertiesReader:91) - Loading Quran properties...
00:17:49 [DEBUG] (QuranPropertiesReader:107) - Loading base Quran properties: res/text/metadata/quran-properties.xml
00:17:49 [DEBUG] (QuranPropertiesReader:107) - Loading sura names localization data: res/text/metadata/quran-properties-{1}.xml
00:17:49 [DEBUG] (QuranPropertiesReader:107) - Loading localized Quran sura names from: quran-properties-en.xml
00:17:49 [DEBUG] (QuranPropertiesReader:107) - Process sura data.
00:17:49 [DEBUG] (QuranPropertiesReader:107) - Process juz data.
00:17:49 [DEBUG] (QuranPropertiesReader:107) - Process sajda data.
00:17:49 [INFO] (QuranPropertiesReader:91) - Quran properties loaded successfully.
00:17:49 [INFO] (TranslationData:151) - Translation pack transliteration-en(en_US):(transliteration-en.trans.zip) loaded successfully.
00:17:49 [DEBUG] (TranslationData:107) - Loading translation "transliteration-en" took 371 ms.
00:17:49 [INFO] (ApplicationConfig:91) - Default translation is: transliteration-en(en_US):(transliteration-en.trans.zip)
00:17:49 [INFO] (ApplicationConfig:91) - Loading translation files info from: /home/fas/.zekr/text/trans
00:17:49 [INFO] (ApplicationConfig:91) - Load custom translation list.
00:17:49 [INFO] (ApplicationConfig:91) - No custom translation list to load.
00:17:49 [INFO] (ApplicationConfig:91) - Loading theme .properties files.
00:17:49 [INFO] (ApplicationConfig:91) - Loading theme files info from "res/ui/theme
00:17:49 [INFO] (ApplicationConfig:91) - Loading theme files info from "/home/fas/.zekr/theme
00:17:49 [INFO] (ApplicationConfig:91) - Loading audio .properties files.
00:17:49 [INFO] (ApplicationConfig:91) - Loading audio files info from: res/audio
00:17:49 [INFO] (ApplicationConfig:91) - Loading audio files info from: /home/fas/.zekr/audio
00:17:49 [INFO] (ApplicationConfig:91) - Default recitation is: Abu Bakr Ash-Shatri
00:17:49 [DEBUG] (ApplicationConfig:107) - Initialize player controller.
00:17:49 [INFO] (ApplicationConfig:91) - Default revelation package is: ibn-abbas
00:17:49 [INFO] (ApplicationConfig:91) - Loading revelation data packs from: res/text/metadata
00:17:49 [INFO] (RevelationData:91) - Load revelation data pack: Abdullah-ibn Abbas:(ibn-abbas.revel.zip)
00:17:49 [DEBUG] (RevelationData:107) - Revelation pack is valid
00:17:49 [INFO] (RevelationData:151) - Revelation data pack loaded successfully: Abdullah-ibn Abbas:(ibn-abbas.revel.zip)
00:17:49 [DEBUG] (RevelationData:107) - Loading revelation pack "ibn-abbas" took 23 ms.
00:17:49 [INFO] (ApplicationConfig:91) - Default revelation data is: Abdullah-ibn Abbas:(ibn-abbas.revel.zip)
00:17:49 [INFO] (ApplicationConfig:91) - Default paging mode is: <hizbQuarter>
00:17:49 [INFO] (ApplicationConfig:91) - Loading paging data from: res/text/metadata
00:17:49 [INFO] (ApplicationConfig:91) - Default paging data is: <hizbQuarter>: (Hizb Quarter)
00:17:49 [INFO] (ApplicationConfig:91) - Default paging data loaded successfully: <hizbQuarter>: (Hizb Quarter)
00:17:49 [DEBUG] (ApplicationConfig:107) - Initialize network controller.
00:17:49 [DEBUG] (ApplicationConfig:107) - Initialize view controller.
00:17:49 [INFO] (ApplicationConfig:91) - Load search info...
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add stop words for: fa
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add stop words for: en
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add stop words for: tr
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add replace patterns for: fa
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add replace patterns for: ar
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add replace patterns for: bs
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add replace patterns for: en
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add replace patterns for: tr
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add replace patterns for: ru
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add punctuation pattern for: fa
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add punctuation pattern for: ar
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add punctuation pattern for: ur
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add punctuation pattern for: bs
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add punctuation pattern for: en
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add punctuation pattern for: tr
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add diacritics pattern for: fa
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add diacritics pattern for: ar
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add diacritics pattern for: ur
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add letters range pattern for: fa
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add letters range pattern for: ar
00:17:49 [DEBUG] (ApplicationConfig:107) -      Add letters range pattern for: ur
00:17:49 [INFO] (ApplicationConfig:91) - Loading Quran root word database...
00:17:49 [DEBUG] (ApplicationConfig:107) - Took 225 ms.
00:17:49 [INFO] (ApplicationConfig:91) - Application configurations initialized.
00:17:49 [INFO] (ApplicationRuntime:91) - Making application required directories (if not exist)...
00:17:49 [INFO] (ApplicationRuntime:91) - Create common configuration files...
00:17:49 [INFO] (ApplicationRuntime:91) - Creating common configuration files done.
00:17:49 [INFO] (QuranForm:91) - Loading last visited Quran location: 1-1.
00:17:50 [INFO] (QuranForm:91) - UI somewhat initialized.
00:17:50 [INFO] (QuranForm:91) - Set layout to mixed
00:17:50 [INFO] (QuranForm:91) - Start updating view...
00:17:50 [INFO] (QuranForm:91) - Set location to 1-1
00:17:50 [INFO] (QuranForm:91) - Set Qur'an location to 1-1
00:17:50 [INFO] (QuranForm:91) - Updating view done.
00:17:50 [INFO] (ZekrMain:91) - Startup took 3850 ms.
00:17:50 [INFO] (ZekrMain:103) - Memory info - used: 28,516 kb / total vm memory: 36,928 kb

and this is when i try to play a file

00:18:59 [DEBUG] (AudioPlayerUiController:107) - Play/pause status changed to true. Current status is -1.
00:18:59 [DEBUG] (AudioPlayerUiController:107) - Open playable object: /home/fas/.zekr/audio/shatri-64kbps-offline/audhubillah.mp3.
00:18:59 [ERROR] (AudioPlayerUiController:123) - Error occured in play-pause method.
net.sf.zekr.engine.audio.PlayerException: javazoom.jlgui.basicplayer.BasicPlayerException: Cannot init line
        at net.sf.zekr.engine.audio.DefaultPlayerController.play(DefaultPlayerController.java:162)
        at net.sf.zekr.ui.AudioPlayerUiController.playerTogglePlayPause(AudioPlayerUiController.java:211)
        at net.sf.zekr.engine.audio.ui.AudioPlayerForm$8.widgetSelected(AudioPlayerForm.java:455)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
        at net.sf.zekr.ui.BaseForm.loopEver(BaseForm.java:34)
        at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:63)
        at net.sf.zekr.ZekrMain.main(ZekrMain.java:91)
Caused by: javazoom.jlgui.basicplayer.BasicPlayerException: Cannot init line
        at javazoom.jlgui.basicplayer.BasicPlayer.startPlayback(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.play(Unknown Source)
        at net.sf.zekr.engine.audio.DefaultPlayerController.play(DefaultPlayerController.java:159)
        ... 10 more
Caused by: javax.sound.sampled.LineUnavailableException: Audio Device Unavailable
        at com.sun.media.sound.HeadspaceMixer.nResume(Native Method)
        at com.sun.media.sound.HeadspaceMixer.implOpen(HeadspaceMixer.java:346)
        at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:286)
        at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:323)
        at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:103)
        at com.sun.media.sound.MixerSourceLine.open(MixerSourceLine.java:39)
        at javazoom.jlgui.basicplayer.BasicPlayer.openLine(Unknown Source)
        at javazoom.jlgui.basicplayer.BasicPlayer.initLine(Unknown Source)
        ... 13 more
00:18:59 [DEBUG] (AudioPlayerUiController:107) - Player stop status.

Mohsen Saboorian

unread,
Sep 2, 2010, 2:54:43 PM9/2/10
to ze...@googlegroups.com
This relates to Java and ALSA. See last part of my first answer, which I requote:

Make sure that you are using Sun JRE, and run Zekr wrapping it with padsp:

$ padsp zekr 

fasil km

unread,
Sep 2, 2010, 3:00:03 PM9/2/10
to ze...@googlegroups.com
thanks for the update...
now i can see that with 'padsp zekr', the file is getting played (from the progress bar of the player)
but still there is no sound coming out. I can play the files using amarok.

Mohsen Saboorian

unread,
Sep 2, 2010, 3:20:11 PM9/2/10
to ze...@googlegroups.com
This is very strange. Doesn't changing audio volume level in Zekr have any effect?

fasil km

unread,
Sep 2, 2010, 3:29:17 PM9/2/10
to ze...@googlegroups.com
Yes it is very strange! I tried changing the audio volume level in Zekr  and it doesn't have any effect

Mohsen Saboorian

unread,
Sep 2, 2010, 3:32:50 PM9/2/10
to ze...@googlegroups.com
Send me your complete zekr.log.

fasil km

unread,
Sep 2, 2010, 3:38:05 PM9/2/10
to ze...@googlegroups.com
please find the log attached along
zekr.log

fasil km

unread,
Sep 2, 2010, 7:27:02 PM9/2/10
to ze...@googlegroups.com
at last the issue has been fixed.
steps:
$ sudo apt-get install pulseaudio-utils
$ padsp zekr &

and Mohsen (and the team), thank you all for such a wonderful software. JAZAKKALLAH KHAIR
Please let me know in case of any help from my side. Always welcome.
--
Regards,
Fasil

Mohsen Saboorian

unread,
Sep 2, 2010, 8:52:12 PM9/2/10
to ze...@googlegroups.com, Ahmed El-Mahmoudy
Salaam,

Fasil, thanks for the steps. I'll fix the installation guide soon inshaAllah.

Ahmed, seems that we should depend zekr package to pulseaudio-utils.

Regards,
Mohsen
Reply all
Reply to author
Forward
0 new messages