Author Topic: Nspire audio?  (Read 66000 times)

0 Members and 1 Guest are viewing this topic.

Offline whatkindofausernameisthis

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +11/-0
    • View Profile
Nspire audio?
« 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) 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) for flash drives?
« Last Edit: February 04, 2012, 06:56:29 pm by whatkindofausernameisthis »

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Nspire audio?
« Reply #1 on: February 04, 2012, 07:12:05 pm »
That would probably be feasible with Ndless, if someone figures out the USB protocol.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline jwalker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 660
  • Rating: +13/-0
  • Almost everything I have released includes a 'WZ'
    • View Profile
Re: Nspire audio?
« Reply #2 on: February 04, 2012, 07:24:44 pm »
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...
<a href="http://www.nerdtests.com/ft_cg.php?im">
<img src="http://www.nerdtests.com/images/ft/cg.php?val=9612" alt="My computer geek score is greater than 41% of all people in the world! How do you compare? Click here to find out!"> </a>

Support Casio-Scene against the attacks of matt @ matpac.co.uk ! For more information: Casio-Scene shuts down & Matt actions threads

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: Nspire audio?
« Reply #3 on: March 10, 2012, 06:04:25 pm »
About the flash drive idea: it was done on the TI-84 series with usb8x. Which makes it, in my mind, quite feasible.
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Nspire audio?
« Reply #4 on: March 10, 2012, 07:25:38 pm »
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.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Nspire audio?
« Reply #5 on: March 26, 2012, 05:03:02 pm »
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.
If you like my work: why not give me an internet?








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: Nspire audio?
« Reply #6 on: March 26, 2012, 05:21:54 pm »
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).
« Last Edit: March 26, 2012, 05:22:44 pm by DJ_O »

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Nspire audio?
« Reply #7 on: March 29, 2012, 02:23:43 am »
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 :)
Ndless.me with the finest TI-Nspire programs

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Nspire audio?
« Reply #8 on: March 29, 2012, 02:39:24 am »
Nice!!

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: Nspire audio?
« Reply #9 on: March 29, 2012, 04:06:07 am »
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.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Nspire audio?
« Reply #10 on: March 29, 2012, 05:46:16 am »
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.
Ndless.me with the finest TI-Nspire programs

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Nspire audio?
« Reply #11 on: March 29, 2012, 11:37:47 am »
nice work :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Nspire audio?
« Reply #12 on: March 31, 2012, 01:34:00 pm »
And here is an early preview of the USB support: http://ndlessly.wordpress.com/2012/03/31/usb-hacking/
Ndless.me with the finest TI-Nspire programs

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Nspire audio?
« Reply #13 on: March 31, 2012, 01:44:43 pm »
Awesome!!

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: Nspire audio?
« Reply #14 on: March 31, 2012, 02:42:48 pm »
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