CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: Dudeman313 on February 01, 2016, 03:39:58 PM

Title: Music on TI-84+ CE?
Post by: Dudeman313 on February 01, 2016, 03:39:58 PM
I'm not sure if this should be in Music Talk, but is there, as of now, any way to play music from the TI-84+ CE?
Title: Re: Music on TI-84+ CE?
Post by: Araidia on February 01, 2016, 03:46:21 PM
Wait, the TI84+CE has a speaker?
Title: Re: Music on TI-84+ CE?
Post by: Dream of Omnimaga on February 01, 2016, 03:48:17 PM
There won't be any I think. This calculator doesn't have an I/O link port anymore and USB music was never attempted  on older models (if possible at all)

Music on the 83+/84+/SE/CSE used the 2.5 mm jack.
Title: Re: Music on TI-84+ CE?
Post by: Dudeman313 on February 01, 2016, 03:52:50 PM
Oh, okay.
Title: Re: Music on TI-84+ CE?
Post by: utz on February 01, 2016, 04:38:44 PM
As I've speculated before, it would probably be possible to make music on the non-link port models by driving the USB in direct mode. However, as DJ_O said, this hasn't been attempted yet. Well, send me a TI with USB and I'll try it out :D
Title: Re: Music on TI-84+ CE?
Post by: Dream of Omnimaga on February 01, 2016, 04:41:22 PM
The main issue is that the USB protocol needs to be documented first. I don't even know if the 84+ one was 100% documented because I recall people asking TI for doc before, to no avail. On the TI-Nspire it hasn't even been attempted either, despite the calc coming out years ago. The audio player requires connecting a wire or two somewhere in the dock port.


Also there is the problem about how to hear the sound. USB headphones are next to impossible to find in brick and mortar stores, so you might have to use USB speakers  or online shopping instead.
Title: Re: Music on TI-84+ CE?
Post by: utz on February 01, 2016, 08:26:01 PM
I don't think you'd need to know the full USB protocol, knowing how to enable direct mode would be enough. And luckily, that's documented for the 84+.
To hear the sound, one would need to construct a custom usb-to-audio cable, which should be quite easy, easier than building a parallel link cable in any case.
The main problem that I anticipate is power consumption. It's actually fairly easy to knock out a 84+ in software by drawing too much power, and the USB usually draws quite a bit.
Title: Re: Music on TI-84+ CE?
Post by: Dream of Omnimaga on February 03, 2016, 01:06:34 AM
Ah, I was sure we couldn't use sound that way due to lack of doc. I guess I was wrong. But I thought we could just buy usb headphones or speakers somewhere without needing to make our own cable?

One issue with calc music though is that since the calculator doesn't have a mainstream audio in (by mainstream I mean 3.5mm jack in which regular headphones will fit), then few people are willing to buy extra hardware or cables just to hear music from their calculator, so it's more to show off. This is why so few games have music. (I don't even think TI-Boy CSE has sound)
Title: Re: Music on TI-84+ CE?
Post by: Dudeman313 on February 03, 2016, 01:46:07 PM
There's a TI-Boy CSE?  :blah:
Title: Re: Music on TI-84+ CE?
Post by: utz on February 03, 2016, 05:48:28 PM
Quote from: DJ Omnimaga on February 03, 2016, 01:06:34 AM
But I thought we could just buy usb headphones or speakers somewhere without needing to make our own cable?

In that case we'd need to output actual digital music data on the USB, and yeah, for that we'd need to know the full protocol. My idea is to simply use the USB as a cheap DAC, bit-banging sound through it like we do on analogue link ports. In any case you're right, probably not many people would bother to make a custom cable, so the target audience is basically non-existant.
Title: Re: Music on TI-84+ CE?
Post by: Adriweb on February 03, 2016, 07:13:20 PM
With the recent Get/Send() USB stuff in TI-Basic, one could just send about anything to a cheap board having a speaker.
Title: Re: Music on TI-84+ CE?
Post by: utz on February 03, 2016, 07:36:13 PM
Ah yes, didn't even consider that possibility when I read about the new get/send(). A music player in BASIC, now that'd be something!
Title: Re: Music on TI-84+ CE?
Post by: Dream of Omnimaga on March 28, 2016, 04:14:57 AM
Quote from: Dudeman313 on February 03, 2016, 01:46:07 PM
There's a TI-Boy CSE?  :blah:
Yes, at https://www.omnimaga.org/ti-boy-se-game-boy-emulator-for-ti-83se84/official-ti-boy-cse-alpha-thread/ (it's not finished, but it can play some games fine)

Quote from: Adriweb on February 03, 2016, 07:13:20 PM
With the recent Get/Send() USB stuff in TI-Basic, one could just send about anything to a cheap board having a speaker.
It depends if cheap sound boards are readily available at most places and don't require extra adapters, else, as utz says, the userbase would be nearly non-existent. THe main issue with TI calculators is that the main audience is under 18 years old, so you pretty much have to rule out online shopping or anything that requires giving your home address to "strangers" without your parents' permission.