Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-03-2006, 06:33 AM   #1
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Safe and Easy MP3 for your iLiad

Attached you will find some easy launchers, enabling you to play music (or audiobooks!) on your iLiad while reading. As of yet, there is no proper mp3-player (afaik), but this work adequately for me.

Warning: This is an extremely primitive interface. Start the music (in shuffle mode) and go on reading or whatever, or stop the music. No song selection, no title display etc.

Prerequisites: As usual, you need 2.7.1 with the execute-.sh extension.

Step 1: Gather some nice music or audiobooks, put in _one_ suitable folder (no sub-dirs) e.g. on your CF card. Extract the attached zip-file in the same folder. This means that you should have a folder "A-Play" in your mp3-folder. (My folders can be renamed if you wish, I just called them A-... to make sure they were listed on top).

Step 2: On your iLiad, navigate to the mp3 folder. Press "Play", plug in your headset and enjoy. You can navigate and read books as usual. When finished, go back to the folder and select "Stop".

Todo: Must add some icons

I haven't tried this on any iliads but mine, but I hope it works for everybody. If you try it out, let me know if it works or not.

Cudos to the developers that compiled madplay for ARM. See
http://www.mobileread.com/forums/showthread.php?t=7186
for more info.
Attached Files
File Type: zip mp3.zip (118.5 KB, 578 views)
narve is offline   Reply With Quote
Old 12-03-2006, 08:26 AM   #2
henkvdg
Groupie
henkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of it
 
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
Thank you, it is nice to have some music now.

BUT... (it seems other people already noticed) I can only hear the left channel !!

Henk


Quote:
Originally Posted by narve
Attached you will find some easy launchers, enabling you to play music (or audiobooks!) on your iLiad while reading. As of yet, there is no proper mp3-player (afaik), but this work adequately for me.

Warning: This is an extremely primitive interface. Start the music (in shuffle mode) and go on reading or whatever, or stop the music. No song selection, no title display etc.

Prerequisites: As usual, you need 2.7.1 with the execute-.sh extension.

Step 1: Gather some nice music or audiobooks, put in _one_ suitable folder (no sub-dirs) e.g. on your CF card. Extract the attached zip-file in the same folder. This means that you should have a folder "A-Play" in your mp3-folder. (My folders can be renamed if you wish, I just called them A-... to make sure they were listed on top).

Step 2: On your iLiad, navigate to the mp3 folder. Press "Play", plug in your headset and enjoy. You can navigate and read books as usual. When finished, go back to the folder and select "Stop".

Todo: Must add some icons

I haven't tried this on any iliads but mine, but I hope it works for everybody. If you try it out, let me know if it works or not.

Cudos to the developers that compiled madplay for ARM. See
http://www.mobileread.com/forums/showthread.php?t=7186
for more info.
henkvdg is offline   Reply With Quote
Old 12-03-2006, 08:54 AM   #3
henkvdg
Groupie
henkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of it
 
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
MP3 player

To be able to hear the MP3's, I had to switch on the sound on the iLiad (I had switched it off earlier). Now I also hear the clicks for the buttons.
When no headphones are plugged in, the sound is heard through the built-in speaker.

Theory: the speaker is using one channel (the left channel) of the sound output, so for the moment only one channel can be switched on, the other is permanently switched off.

This would explain why there is sound only from one channel (for now).

Can anybody affirm this? iRex ?

(Please come with your own MP3-player with a nice graphical interface and control icons with volume control, mute, etc)
henkvdg is offline   Reply With Quote
Old 12-03-2006, 04:39 PM   #4
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by henkvdg
Thank you, it is nice to have some music now.

BUT... (it seems other people already noticed) I can only hear the left channel !!

Henk
Hm, I haven't really tried this yet because I have to give up my huge compact flash card to my girlfriend's camera and my huge MMC card is in my camera and I can't find any of the small ones I get with every mobile/camera I buy... so I only tried with one mp3, heard some music and then wen't looking for memory cards. I didn't notice the missing channel, but will try it properly when I've bought a new card.

If one channel is indeed missing, there are two possibilities:

- One is closed down, and we need iRex or a hardware-guy/hardcore developer to open it

- We've got ourselves a mono device... Did the specs explicitly say stereo sound?
narve is offline   Reply With Quote
Old 12-04-2006, 02:50 AM   #5
Frisi42
Junior Member
Frisi42 has learned how to buy an e-book online
 
Posts: 7
Karma: 79
Join Date: Nov 2006
Location: Germany
Device: Irex Iliad
Mono or Stereo?

Quote:
Did the specs explicitly say stereo sound?
Yes the Chipset ist stereo, in a proper design it should have CD-like quality.
Frisi42 is offline   Reply With Quote
Old 12-04-2006, 05:17 AM   #6
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Good, so we only need to open the missing channel? Does anyone have any ideas at all?
narve is offline   Reply With Quote
Old 12-04-2006, 07:55 AM   #7
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
Thanks narve.
I updated narve's scripts:
# added a png file [foobar 2000's mp3 icon]
# one combined entry in contentlister [for starting & stopping playback]
# removed creation of file _is_running [narve, what was the function of this?]

What do I have to do?
Handling as above described.
[1] Copy the folder 00_madplay [in zipfile] to your mp3 folder. [Why the "00_" in front? I will be the first entry in contentlister. You can change the name of the folder anyway. ;-)]
[2] Click on the entry "Click on me for starting playback."

[EDIT]
# uploaded madplay's -h output
# I tried the -m option [mono output]; but it didn't change status: the left channel is much louder than the right one.
Attached Files
File Type: zip madplay.zip (125.9 KB, 380 views)
File Type: txt madplay_help.txt (2.5 KB, 380 views)

Last edited by yokos; 12-04-2006 at 11:33 AM. Reason: -m option
yokos is offline   Reply With Quote
Old 12-04-2006, 11:54 AM   #8
henkvdg
Groupie
henkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of ithenkvdg has read War And Peace ... all of it
 
Posts: 180
Karma: 66830
Join Date: Oct 2006
Device: IREX iLiad, Pocketbook Pro 903
Madplay

It works, but you have to put the MP3 files one level up.
henkvdg is offline   Reply With Quote
Old 12-04-2006, 01:43 PM   #9
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by yokos
Thanks narve.
I updated narve's scripts:
# added a png file [foobar 2000's mp3 icon]
# one combined entry in contentlister [for starting & stopping playback]
# removed creation of file _is_running [narve, what was the function of this?]
Good work! I will try it tonight. The _is_running was just for debugging, obviously I forgot to remove it

Btw, by modifying the line
./madplay -z ../mp3/*.mp3 &
to something like
./madplay -z /media/cf/mp3/*.mp3 &
you can put the madplay folder where you want, e.g. in the newspapers folder, so that it is easier to access.
narve is offline   Reply With Quote
Old 12-04-2006, 11:18 PM   #10
doctorwes
Junior Member
doctorwes began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2006
Device: iRex iLiad
I think it's better to keep the two scripts separate. With the combined entry, if you start the player and then switch off the iLiad, I think you are stuck.
doctorwes is offline   Reply With Quote
Old 12-05-2006, 02:54 AM   #11
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by doctorwes
I think it's better to keep the two scripts separate. With the combined entry, if you start the player and then switch off the iLiad, I think you are stuck.
Not really, but you then have to click the icon twice, once to "turn it off" even though it is not running, and then once to start it up again.
narve is offline   Reply With Quote
Old 12-05-2006, 02:55 AM   #12
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Btw, I sometimes get "segmentation fault" when starting madplay (one of the reasons I sometimes hate unix/linux!). Anybode else gotten this error?
narve is offline   Reply With Quote
Old 12-05-2006, 03:06 AM   #13
jęd
Evangelist
jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.
 
Posts: 458
Karma: 293
Join Date: May 2006
Quote:
Originally Posted by narve
one of the reasons I sometimes hate unix/linux!
You hate an O/s because of a low-level error message...?
jęd is offline   Reply With Quote
Old 12-05-2006, 07:05 AM   #14
yokos
Pac-Man catched my iLiad.
yokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with othersyokos plays well with others
 
yokos's Avatar
 
Posts: 720
Karma: 2571
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: 1st gen iRex iLiad with 2nd ed. battery/case
The first line in shell script "export DISPLAY=:0" is superfluous, because we don't start a X Window program.
yokos is offline   Reply With Quote
Old 12-05-2006, 09:50 AM   #15
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by jęd
You hate an O/s because of a low-level error message...?
Yes
No, I hate it because whenever an c++ application fails I get a segfault and I have no idea of what went wrong. I also hate the "user-friendly" corresponding dialogbox in Windows. But I am more skilled in Windows, so this happens rarely. So I guess what I really hate is programs that crash without some sensible error messages... which is why I love Java
narve is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iliad-regutils: Easy editing of the iLiad registry Martijn iRex 7 09-04-2010 06:12 AM
iLiad open source iLiad V2 easy to handle? hapipiko iRex Developer's Corner 2 09-30-2009 12:12 PM
iLiad Easy and safe SSH access to your iLiad narve iRex Developer's Corner 15 11-30-2006 05:14 PM


All times are GMT -4. The time now is 10:18 AM.


MobileRead.com is a privately owned, operated and funded community.