Author Topic: Sound for calculators with bad ram  (Read 31686 times)

0 Members and 2 Guests are viewing this topic.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Sound for calculators with bad ram
« Reply #60 on: November 25, 2010, 11:13:51 am »
Hmm, just got this from ticalc and I could use some help locating some castlevania wavs x.x

I tried everywhere and could use some help. thanks in a advance
Do you have any non-wav Castlevania music? Converting might be simpler than finding existing wav files.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sound for calculators with bad ram
« Reply #61 on: November 25, 2010, 08:46:48 pm »
If you  find MP3s, you could just use Audacity software and convert them to WAV files.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Sound for calculators with bad ram
« Reply #62 on: November 25, 2010, 08:50:44 pm »
If you  find MP3s, you could just use Audacity software and convert them to WAV files.

ohh, audacity can do that? :O

thanks!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Sound for calculators with bad ram
« Reply #63 on: November 25, 2010, 09:01:50 pm »
what exactly is meant by "bad ram" ?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Sound for calculators with bad ram
« Reply #64 on: November 25, 2010, 09:04:43 pm »
That they only have 48KiB of RAM (as opposed to previous hardware versions which had 128KiB)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Sound for calculators with bad ram
« Reply #65 on: November 25, 2010, 09:06:52 pm »
do you mean the ones w/o the extra ram pages?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Sound for calculators with bad ram
« Reply #66 on: November 25, 2010, 09:12:16 pm »
Exactly :)
They only have 3 RAM pages instead of 8.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sound for calculators with bad ram
« Reply #67 on: November 25, 2010, 09:25:11 pm »
If you  find MP3s, you could just use Audacity software and convert them to WAV files.

ohh, audacity can do that? :O

thanks!
You may need Lame MP3 encoder, but maybe not, since I recall Audacity being able to import MP3s without it. It's to export to MP3 that you need it, if I remember.
« Last Edit: November 25, 2010, 09:25:30 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: Sound for calculators with bad ram
« Reply #68 on: November 25, 2010, 09:30:28 pm »
perfection! Got it to work! thanks guys!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sound for calculators with bad ram
« Reply #69 on: November 25, 2010, 09:33:29 pm »
Glad to hear! Keep in mind only like 1 minute of audio will fit on a 84+SE, though. I wonder if this could work with USB8x?
« Last Edit: November 25, 2010, 09:33:38 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline FloppusMaximus

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +57/-5
    • View Profile
Re: Sound for calculators with bad ram
« Reply #70 on: November 25, 2010, 11:14:00 pm »
Glad to hear! Keep in mind only like 1 minute of audio will fit on a 84+SE, though. I wonder if this could work with USB8x?
Interesting question.  Maybe.  USB itself would certainly be fast enough, and I assume most Flash drives would be fast enough; the question is whether the calculator CPU is fast enough to push the bits around at the required rate.  I'm wondering whether you would need to buffer the data, or whether you could, through some extreme wizardry, read the bytes directly from the USB controller.  Either way, it would be an interesting and tricky program to write.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sound for calculators with bad ram
« Reply #71 on: November 26, 2010, 12:26:58 am »
Yeah my concern was how fast could the calc could read the sound data from USB. Maybe quality could be decreased more, but at 4 bit it starts sounding weird and under that it just sounds awful.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Sound for calculators with bad ram
« Reply #72 on: November 26, 2010, 01:03:07 am »
I think it could be possible, it would just have to be a lot quieter. I currently use 2 t-states to differentiate between byte values. So that steals 512 t-states from my 696 t-state loop leaving me with 184 t-states. But only about 100 of those are usable. At this rate, I don't think usb communication would be possible. But, if I change it to 1 t-state per byte value. That would free up an extra 256 t-states. With 356, there is probably enough time to read stuff off of a flash drive. The only cost is that since all of the voltages are closer together, there would be less sound produced.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sound for calculators with bad ram
« Reply #73 on: November 26, 2010, 01:04:44 am »
Ah ok, so it would be something involving sound volume? Or do you mean lowering quality would make it quieter?
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Sound for calculators with bad ram
« Reply #74 on: November 26, 2010, 01:09:17 am »
It would be quieter because there would be less time devoted to actually playing the music. The way it is now, 3/4 of the time is spent messing with the link port, and the other 1/4 is used to get the next byte. But if I need to take longer to get the byte, that means that only 1/3 of the time is used to mess with the link port.

So basically, just to put some random numbers in, instead of the voltage range being 1-5 V, it's now 2-4 V since it's being changed very quickly.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112