Author Topic: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)  (Read 22051 times)

0 Members and 1 Guest are viewing this topic.

Offline helder7

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 185
  • Rating: +33/-1
    • View Profile
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #30 on: February 13, 2012, 06:01:56 pm »
Does this play mp3's?
Not yet.
But if you know some nice free small mp3 decoder library, I would integrate it to the player.
I did a search, what you think of this?

http://www.codepuppies.com/~ben/sens/pic/mp3/ - 50kb asm
http://sourceforge.net/projects/lame/files/lame/3.93.1/lame-3.93.1.tar.gz/download - 1mb , it possible put in on sd?
http://www.underbit.com/products/mad - 577 kb - C

more decoding libraries/tools here -> http://www.mp3-tech.org/programmer/decoding.html

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #31 on: February 14, 2012, 11:04:22 am »
I did a search, what you think of this?
Interesting, but the conversion / porting would be difficult for some (or all :-( ) libraries.
It seems you use the size of the archive - this may be irrelevant, because some libraries include huge autoconf scripts which we do not use, contrariwise sources are good to be compressed so compilation may produce bigger result than compressing.

SD card would NOT help, because you cannot run code from SD card. But you can run code from flash, which is 1.5 MB.




Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #32 on: February 14, 2012, 03:05:21 pm »
How much music can be stored on 16MB?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #33 on: February 14, 2012, 03:41:24 pm »
It probably depends. I know a full WAV song around 5 minutes long takes roughly 60 MB of space, and if it's converted to 22 KHz it's 30 MB. Not sure if changing it from 16 bits to 8 halves the size once more, though. On the 84+SE we roughly had the same sound quality and we could store around 1 minute of audio in 1.54 MB.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #34 on: February 14, 2012, 06:07:42 pm »
thats not really a whole lot of music, is it?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #35 on: February 15, 2012, 05:17:53 am »
It probably depends. I know a full WAV song around 5 minutes long takes roughly 60 MB of space, and if it's converted to 22 KHz it's 30 MB. Not sure if changing it from 16 bits to 8 halves the size once more, though. On the 84+SE we roughly had the same sound quality and we could store around 1 minute of audio in 1.54 MB.
I just did some measurement by winamp. Have music file 8:15 of length.
22KHz, 8bit (format for fxplayer) - 10,929,955 B
11KHz, 8bit - 5,465,000 B
8 KHz, 8bit - 3,965,932 B, but sound quality is like from analog telephone

The fxplayer uses only 5 bits so we can go to 11 KHz, 4 bit - 2732500 B (not tested)
How much music can be stored on 16MB?
So 16 MB storage would hold 5.85x more -> 48 minutes

BTW: why do you ask for 16 MB storage ?
9860 has 1.5 MB and SD card can be up to 2 GB (for the models where fxplayer works)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #36 on: February 15, 2012, 03:20:02 pm »
I'm glad you allow multiple qualities actually. On the 84+SE if you use a 8 KHz file, it plays 3 times faster or so. D:

Also I think he was asking 16 MB because he probably got confused with the PRIZM and the 9860G (the PRIZM has 16 MB of storage).

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Music Player for FX-9860GII/hacked FX-9750GII (Does not need SD card!)
« Reply #37 on: February 16, 2012, 03:47:10 am »
I'm glad you allow multiple qualities actually. On the 84+SE if you use a 8 KHz file, it plays 3 times faster or so. D:
I'm afraid it was some misunderstanding. The fxPlayer supports only 1 format - 22 KHz, 8bit. My previous post was only about different wav formats and sizes.

But support for 11 KHz should be easy, 8 KHz can be supported only approximately.