Author Topic: Sound?  (Read 4262 times)

0 Members and 1 Guest are viewing this topic.

Offline SolusIpse

  • LV2 Member (Next: 40)
  • **
  • Posts: 35
  • Rating: +1/-0
    • View Profile
Sound?
« on: June 24, 2009, 07:43:51 am »
ya, as the topic suggests, I don't know a thing about how to get sound on the ti's.  How do you get a range of sounds with only high/low lines?  Do you just set it high/low at different frequencies and durations?  If so, is there a sound converter of some sort so I can get whatever raw data I need to make in-game music?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Sound?
« Reply #1 on: June 24, 2009, 10:21:41 am »
Yeah, you just set high and low at different frequencies. Like 440Hz would be "A". For in-game music, it's kind of hard to do this without using the crystal timers built-in to the 83+SE, 84+ and 84+SE, though. A standalone music program would be easier, since you have the whole CPU time to focus on delays and stuff.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Sound?
« Reply #2 on: June 24, 2009, 11:34:43 am »
doesn't omnicalc allow you do make music?
/e

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: Sound?
« Reply #3 on: June 24, 2009, 01:34:01 pm »
Omnicalc is for BASIC though. I know for BASIC there's PLAYWAV too, which produce real sounds and execute them from archive, but takes a lot of memory. In any case, in BASIC it can make games very slow, though, because nothing else can be executed for the entire duration of the sound.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Sound?
« Reply #4 on: June 24, 2009, 01:40:40 pm »
ah yeah...only good for intro's and such then
/e

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: Sound?
« Reply #5 on: June 24, 2009, 02:05:43 pm »
another solution is to make each sounds short and put one between every few commands, but then it's like beeping and beeping so it doesn't sound good

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Sound?
« Reply #6 on: June 24, 2009, 02:22:51 pm »
yeah...:/
of course it could sound good if that is how it is suppose to sound...
/e