Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: whatkindofausernameisthis on February 04, 2012, 06:50:03 pm
-
I haven't had any experience with the Nspire USB protocol, so I would like to ask the community this: would it be possible to use this (http://www.amazon.com/GE-95554-Stereo-Adapter-3-5mm/dp/B0022NHQ9Q (http://www.amazon.com/GE-95554-Stereo-Adapter-3-5mm/dp/B0022NHQ9Q)) or something like it to allow the Nspire to play audio?
-----
Edit: New thought. What about something like this (www.google.com/search?q=usb+mini+to+usb+a+female&tbm=shop (http://www.google.com/search?q=usb+mini+to+usb+a+female&tbm=shop)) for flash drives?
-
That would probably be feasible with Ndless, if someone figures out the USB protocol.
-
i have been thinking about a way to make music but i want to use the dock port, it would be cool to have flash drive capabilities tho...
-
About the flash drive idea: it was done on the TI-84 series with usb8x. Which makes it, in my mind, quite feasible.
-
only problem is that we have no idea how to interface the USB module on the nspire. The 84+ USB module is well documented, but we know next to nothing about how to work the nspire's.
-
only problem is that we have no idea how to interface the USB module on the nspire. The 84+ USB module is well documented, but we know next to nothing about how to work the nspire's.
Well... get a screwdriver and go check it out! It probably has an usb driver chip, so sound trough usb is gonna be close to impossible. IO via the docking port has been done before, so I think you should focus on that.
-
Well the thing is... even if the 84+ one is well documented, even after 8 years there are still things we are unable or have an hard time to achieve (such as reliable multiplayer) on its USB. For the Nspire, don't expect any bigger achievements than the 84+ until 2015 or something.
Besides, for the Nspire it appears to be locked down tightly, even more than what allows ASM code to be ran (Ndless).
-
I worked lately on the USB interface. The TI-Nspire OS is based on the FreeBSD USB stack, so porting BSD drivers should eventually be possible. My first tests on real HW look promising :)
-
Nice!!
-
Wow nice to hear ExtendedD. I assume usb coding will be still hard, though, right? It still seems to be a major hassle for most people on the 84+, for example GlassOS by AHelper.
-
Of you course you'll need to have a good understanding of the USB concepts, but FreeBSD's USBDI API is well documented and there are many existing drivers that can be taken as examples.
-
nice work :)
-
And here is an early preview of the USB support: http://ndlessly.wordpress.com/2012/03/31/usb-hacking/
-
Awesome!!
-
That is great ExtendeD. Good job :D
Question, though: will Nspire audio also sound like the VHS tape in the movie The Ring? TI-84+/Casio music sound got that kind of static too (unless chiptune based rather than wav)
http://djomni.57o9.org/prizmlaportedusoleil.mp3
-
Since I guess the main solution for USB audio would be to connect a small USB sound card that outputs to a 3.5mm jack, I doubt there would be any quality issues.
-
Maybe it would be possible to just send analog signals directly to some sort of speaker? like a laptop USB speaker.
Maybe it would be possible to make a custom sound device using an ardino?
-
Next month I'll start trying it by serial->arduino->old computer internal speaker then I'll post here some results.
And since I don't have experience with C on the nspire I'll use the Lua print() function to send the tunes in some format, the sound is going to be monophonic which would be enough to have some sound in GB games.
-
I'll use the Lua print() function to send the tunes in some format, the sound is going to be monophonic which would be enough to have some sound in GB games.
You'll have to stay in 3.0.2 or 3.0.1 since 3.1 removed the print() in Lua
-
Wasn't there a fixprint program by ndless for OS 3.1?
-
Yes, but iirc it didn't survive a reboot, because it hot-patched the OS in RAM.
-
Yes, but iirc it didn't survive a reboot, because it hot-patched the OS in RAM.
Newer Ndless versions have a startup feature, so you can set programs to run upon OS startup.
-
Wasn't there a fixprint program by ndless for OS 3.1?
Sure : http://tiplanet.org/forum/archives_voir.php?id=4227
But it's useless to have that+Ndless+3.1 when you can have it in 3.0.1 or 3.0.2 and when you can't use the 3.2 SDK.
-
Wasn't there a fixprint program by ndless for OS 3.1?
Sure : http://tiplanet.org/forum/archives_voir.php?id=4227
But it's useless to have that+Ndless+3.1 when you can have it in 3.0.1 or 3.0.2 and when you can't use the 3.2 SDK.
anyway I'll use that fix in OS 3.1 if that doens't work I'll go back to 3.0.2.
-
what about using the USB port on the Nspire to connect to the ardino?
-
what about using the USB port on the Nspire to connect to the ardino?
That's something that I won't even try at least in the short term.
-
Custom sound device? I made a DAC for the TI84+, so I might be able to design one for the Nspire platform. The main problem is that I know very little about the Nspire and I don't have one, so some of you guys will have to do the coding and provide me with a signal which the control logic must interpret.
Edit: http://ourl.ca/16139/308321
-
It would be much better to work with the USB audio specifications, so you could actually work with most retail sound devices.
-
The only concern I have if Nspire audio is possible is that it might not have a much higher audience than 8x audio, because it's not everywhere that you easily find USB headphones, since every store expects you to need 3.5mm standard headphones. Of course USB speakers can work I guess, if the calc can power them enough or if they have to be plugged in the wall too.
-
This is the kind of thing I was talking about (I bought one of these myself to eventually try to use with calcs): http://goo.gl/y2CHS (http://goo.gl/y2CHS)
-
This is the kind of thing I was talking about (I bought one of these myself to eventually try to use with calcs): http://goo.gl/y2CHS (http://goo.gl/y2CHS)
Yeah that's awesome! But you need a converter for that to small usb isn't it? I got one of these: http://www.ebay.co.uk/itm/USB-A-Female-to-A-Female-Converter-Adapter-Connector-/110674703840?pt=UK_Computing_USB_Cables&hash=item19c4b9f5e0
I use it to "combine" usb cables/devices without having to buy an adapter for every kind of device.
-
I've just bought one too, I'll have a try on the TI-Nspire.
-
Looks nice. Hope you can get it to work out well :)
-
Holy necropost batman! O.O
You might want to check the last post dates before posting, since this project was last updated in 2012. That said, I want to warn people once again that if they want to try audio on their calc, they have to make sure that they aren't accidentally touching the wrong pins on their serial dock connector, else this can permanently damage the calculator.