Author Topic: [FXes and PRzim] MAking sound  (Read 12878 times)

0 Members and 1 Guest are viewing this topic.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
[FXes and PRzim] MAking sound
« on: February 04, 2012, 05:42:21 pm »
Hello there!
I makin' the post to work with the maximum of people who can help to working on making sound on Casios.
I know there is already Music players, but I really don't know how this is supposed to be and to work. That's why I wanted to make a unique post for the boh categories.
Prizms and FX are almost the same calcs.
With a friend, we could only get crackling noises, and awful result. I wonder if any goos result would be done, and maybe a tracker system, like TI real soundchip system, or Famitracker.
So here, we could work together to commit the maximum on infos on serials ports.
Could be this possible?

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: [FXes and PRzim] MAking sound
« Reply #1 on: February 05, 2012, 09:46:51 am »
I'm sure it could be possible. It's something I'd love to see. I can't help myself, but hopefully some others will be interested. :)

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [FXes and PRzim] MAking sound
« Reply #2 on: February 05, 2012, 09:57:21 am »
I putted this post here, becasue This is a cross-project :-°
I jave two models: G35+ and Prizm

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: [FXes and PRzim] MAking sound
« Reply #3 on: February 05, 2012, 02:02:28 pm »
That would be pretty cool. I have a Prizm, if it could help.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

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: [FXes and PRzim] MAking sound
« Reply #4 on: February 05, 2012, 02:26:16 pm »
I cannot help due to lack of ASM/C knowledge, but I guess I could test stuff.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: [FXes and PRzim] MAking sound
« Reply #5 on: February 06, 2012, 12:18:36 pm »
Hello,
I have written the fxPlayer - multimedia player for 9860G calculators.
It can play wav sound through COM port.
Sources are on my page (http://martin.poupe.org/casio).
How can I help you ?

Martin



Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [FXes and PRzim] MAking sound
« Reply #6 on: February 06, 2012, 12:47:56 pm »
If we can send a certain frequency a a certain time withouts problems, we'll reached the first milestone.

Next the project could have IMO two forks:
-Chiptune
-Music

I think the calcs could be goods for one-two chans

For music, MPoupe already did something is great, we could use his system to make that more flexible (maybe With timers, background music...)

Anyway, with the projects seen on TI, that is impossible to not get sound on Casio!

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: [FXes and PRzim] MAking sound
« Reply #7 on: February 07, 2012, 04:20:44 am »
If we can send a certain frequency a a certain time withouts problems, we'll reached the first milestone.
This should be easy on both calculators.
Just open the COM port on 9600 bps, no parity, 8 bits and output byte 0x55 in a loop.
This would produce square sound on 4800 Hz, time is driven by the loop (it sounds until you loop :-) ).
Use syscalls for opening port and sending data. For prizm see Simon's Mini SDK and for 9860G see (for example)
revolution-fx at http://revolution-fx.sourceforge.net/

You can produce only some frequencies this way. But I think you mentioned that this is enough for the first step.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [FXes and PRzim] MAking sound
« Reply #8 on: February 07, 2012, 02:20:10 pm »
Yup, And we could use bits sensed like PWM, couldn't we?

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: [FXes and PRzim] MAking sound
« Reply #9 on: February 08, 2012, 05:16:43 am »
Yup, And we could use bits sensed like PWM, couldn't we?
Yes, but will have to increase the communication speed. I use ~ 1.8 Mbps

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [FXes and PRzim] MAking sound
« Reply #10 on: February 08, 2012, 10:57:52 am »
How? With over locking?

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: [FXes and PRzim] MAking sound
« Reply #11 on: February 08, 2012, 11:18:50 am »
How? With over locking?
Yes, I overclocked CPU to 2x, but I also set nonstandard speed by CPU registers. You will have to study the SH 7705 CPU datasheet.
(http://documentation.renesas.com/doc/products/mpumcu/rej09b0082_sh7705.pdf)
There was a nice collection of information at http://www.casiocalc.org/, but I cannot find it now :-(

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: [FXes and PRzim] MAking sound
« Reply #12 on: February 08, 2012, 11:39:41 am »
How? With over locking?

Offline KermMartian

  • Editor
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 500
  • Rating: +233/-20
    • View Profile
    • Cemetech
Re: [FXes and PRzim] MAking sound
« Reply #13 on: February 08, 2012, 11:53:27 am »
AHelper has been doing a ton of work on learning to make the link port on the Prizm do more nifty tricks, and I'll soon be trying some stuff of my own.  I believe AHelper has been documenting his work over at Cemetech, so you're welcome to double-check his topic.  I'll try to remember to return to this topic as well.



Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: [FXes and PRzim] MAking sound
« Reply #14 on: February 08, 2012, 12:14:31 pm »
How? With over locking?
Look at the source code of the fxPlayer. There is everything. (It must be :-) )

AHelper has been doing a ton of work on learning to make the link port on the Prizm do more nifty tricks, and I'll soon be trying some stuff of my own.  I believe AHelper has been documenting his work over at Cemetech, so you're welcome to double-check his topic.  I'll try to remember to return to this topic as well.
Please post a link.