Double Functionality

Got questions? Got answers? Go here for both.

Moderator: MaxCoderz Staff

Post Reply

Can you play sounds while using the TI-OS functions?

Yes
0
No votes
No
2
100%
 
Total votes: 2

User avatar
ProphetsDementia
Regular Member
Posts: 81
Joined: Wed 06 Dec, 2006 2:20 am
Location: Tokyo, Kanto, Japan

Double Functionality

Post by ProphetsDementia »

Can you play sounds from Omnicalc while using the TI-OS functions?
(e.g. Moving a character and play a footstep sound for every move.)

Also is there a way to make animations (movies, intros for games) for the calc?
Tyler
New Member
Posts: 7
Joined: Wed 13 Jun, 2007 11:22 pm

Post by Tyler »

You won't get much of a sound while calling a TI-OS function, maybe garbage if anything at all. TI-OS really wasn't meant for multi-tasking to begin with. The only way to correctly render sound would involve coding all of your own routines from scratch that you would need (at least, this is how I think it would be done...)

And yes, movies and animations are possible on the calc. Just load series of (repeating?) pictures or sprites...
User avatar
Jim e
Calc King
Posts: 2457
Joined: Sun 26 Dec, 2004 5:27 am
Location: SXIOPO = Infinite lives for both players
Contact:

Re: Double Functionality

Post by Jim e »

ProphetsDementia wrote:Can you play sounds from Omnicalc while using the TI-OS functions?
(e.g. Moving a character and play a footstep sound for every move.)
No

Also is there a way to make animations (movies, intros for games) for the calc?
Sketchy
Image
User avatar
Delnar_Ersike
Sir Posts-A-Lot
Posts: 153
Joined: Mon 22 Jan, 2007 3:05 am
Location: UNATCO Headquarters

Post by Delnar_Ersike »

Well, I think you can make it so that the sound is played right before the command to step forward, but only if the sound is pretty short. Otherwise, no. Plus, Omnicalc messes up xLib on all but a few calcs (my calc is one of the few), so you have to make sure nobody has xLib installed before they start playing. Oh, and coding sound with Omnicalc is a nightmare.
King Harold
Calc King
Posts: 1513
Joined: Sat 05 Aug, 2006 7:22 am

Post by King Harold »

IF you would do it like that, then you can only play sound when nothing else is happening, and that would make things slow..

It might be better to store an animation as an animation though btw. Mostly, not every pixel changes when you display the next frame, technically you only have to store those that do - if you XOR them then it will leave you with a lot of 0x00's that can be RLE-ed wonderfully.
That is not the best way, just the simplest that still yields compression in most cases, it is better than nothing.
Post Reply