Author Topic: Audio player for Casio Prizm  (Read 24756 times)

0 Members and 1 Guest are viewing this topic.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Audio player for Casio Prizm
« Reply #30 on: March 02, 2012, 04:18:29 pm »
How do you record music from your calc to the computer? I have a 3.5 to 3.5 cord and a 2.5 adapter.
I like milk.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Audio player for Casio Prizm
« Reply #31 on: March 04, 2012, 04:03:32 pm »
1.Put the adaptater inside your calc
2.Put the other jack on the Microphone port (the pink/red)
3.Record with good old windows Recorder, or else
4?
5. Profit

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Audio player for Casio Prizm
« Reply #32 on: March 04, 2012, 04:11:23 pm »
It could be because your song was not maxed out, volume-wise. In Audacity you need to increase its volume (amplification) so it's loud enough, else the static produced by the calc will drown the song.
Nope, I did a full amplification in Audacity, and even allowed clipping.
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Audio player for Casio Prizm
« Reply #33 on: March 11, 2012, 09:31:32 pm »
Any progress? Any new features? MPoupe, you need to add a pause function so if you want to get out during the song, you can.
I like milk.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Audio player for Casio Prizm
« Reply #34 on: March 12, 2012, 12:56:23 pm »
Any progress? Any new features? MPoupe, you need to add a pause function so if you want to get out during the song, you can.
No, I had no time to implement anything :-(
BTW: Feel free to modify the player and add any functionality you need (pause included :-) )

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Audio player for Casio Prizm
« Reply #35 on: April 02, 2012, 08:54:18 pm »
Here is the CGPlayer with an Overclocked Prizm:



Original Song:

I like milk.

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Audio player for Casio Prizm
« Reply #36 on: September 18, 2014, 11:02:47 pm »
Well sorry for the massive bump but I did a little quick work on this and was able to improve the quality simply by using a new algorithm. It is louder and of higher quality with a small side effect of a quite high pitch noise which can be easily solved with an RC low pass filter and/or faster baud rate. I have some recordings as I have a 2.5mm to 3.5mm cable if anyone wants to hear a comparison. Binary:
https://github.com/ComputerNerd/CGplayer/blob/master/CGplayer.g3a
Source: https://github.com/ComputerNerd/CGplayer/blob/master/src/main.c
And for those who don't want to bother clicking on the link here is the new algorithm it is more simple that what was originally used.
Code: [Select]
unsigned samp=gpBuffer[giBufIndex++]>>3;
if(giBufIndex>=giLength)
return;
unsigned x;
for(x=0;x<4;++x){
if(samp>7){
SCIF2.SCFTDR=255;
samp-=8;
}else{
SCIF2.SCFTDR=ptab[samp];
samp=0;
}
while((SCIF2.SCFDR.WORD >> 8)>=15);
}
Also it uses this table
Code: [Select]
static const unsigned char ptab[]={0,1,3,7,15,31,63,127};

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: Audio player for Casio Prizm
« Reply #37 on: September 18, 2014, 11:33:15 pm »
Interesting, I will have to find my cable to hear how it sounds like now. :)

Offline ProgrammerNerd

  • LV3 Member (Next: 100)
  • ***
  • Posts: 50
  • Rating: +9/-2
    • View Profile
Re: Audio player for Casio Prizm
« Reply #38 on: September 19, 2014, 06:51:17 pm »
Alright tell me how it sounds.