Jump to content



Photo
- - - - -

Fx-9860gii Music Player


  • Please log in to reply
9 replies to this topic

#1 immibis

immibis

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750G Plus
    fx-9750GII

Posted 19 September 2011 - 09:33 PM



Not a lot to say about this. It plays music through the serial port of a 9860gii (or hacked 9750gii, or hacked 9860g, etc).

#2 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 19 September 2011 - 09:44 PM

I thought it only worked with the SD version.

#3 immibis

immibis

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750G Plus
    fx-9750GII

Posted 20 September 2011 - 03:57 AM

I thought it only worked with the SD version.


That was the one Martin Poupe made.
This one was made by me, and embeds the music inside the .G1A file (since I don't have an SD calc) - so it can't fit very music music.

The chiptune shown in the video compresses to ~3000 bytes/sec, so I could fit 8-9 minutes in the 1.5MB flash memory.
Most music doesn't compress at all (I'm just using simple RLE compression) and takes ~3900 bytes/sec, fitting 6-7 minutes total.

#4 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 21 September 2011 - 02:26 PM

Cool man! Great Job!

#5 Binary_man

Binary_man

    Newbie

  • Members
  • Pip
  • 7 posts

  • Calculators:
    classpad 330
    Graph 95
    Graph 75

Posted 21 September 2011 - 06:09 PM

Where can I download this magnific program ? :greengrin:

#6 immibis

immibis

    Newbie

  • Members
  • Pip
  • 4 posts

  • Calculators:
    fx-9750G Plus
    fx-9750GII

Posted 29 September 2011 - 04:25 AM

Source code:
http://www.mediafire...l0gwmk9x25g9124

I cleaned it up a bit before I uploaded it, but I can't test it right now. PM me if it doesn't build since I'm not usually active on these forums, and I get notified of PM's by email.

How to build:
* Convert your music to an 8-bit unsigned WAV file. If there isn't an option for signed/unsigned, in whatever program you use, then it's probably unsigned by default.
* Save it as audio.wav in the converter folder (or change the converter's main.cpp to point to it)
* Open main.cpp in the converter folder, and change the following options if necessary (they're all near the start of the file):
If you aren't familiar with C/C++, then "uncomment" means to remove the // at the start. You probably want to re-comment BEEPOLA, by re-adding the //. The chiptune I used in the video was made with Beepola.
* Compile and run the converter, this generates out.cpp in the player's folder.
* Build the player using the CASIO SDK, and upload it to your calculator.

#7 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 29 September 2011 - 01:09 PM

Thank you for releaseing the source code. :)

#8 Binary_man

Binary_man

    Newbie

  • Members
  • Pip
  • 7 posts

  • Calculators:
    classpad 330
    Graph 95
    Graph 75

Posted 30 September 2011 - 08:37 AM

Thanks for you work. I will PM you more later for the result. :)

#9 PierrotLL

PierrotLL

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:France

  • Calculators:
    fx9860
    Classpad 330

Posted 05 October 2011 - 05:03 PM

Good job immibis, thanks for the sources :)

#10 Eiyeron

Eiyeron

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male

  • Calculators:
    Graph 35+Usb modded to G75
    Graph 25+
    Graph 100+

Posted 05 October 2011 - 05:06 PM

With a friend i want to make a tracker NES-like system.
WIll you help us?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users