Author Topic: An Nspire audio player!  (Read 6982 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
An Nspire audio player!
« on: March 03, 2013, 01:12:03 pm »
A couple of days ago Vogtinator released an audio player for the TI-Nspire.

The audio player utilizes the GPIO pins at the dock connector, allowing it to achieve a sample rate of 10kHz! This is already quite impressive, as you can see in the video below.



At the moment you can load WAV files of max 2MB, and there are still several bugs. But Vogtinator is still working on it, and he even said that higher sample rate are possible!
Not only is this a milestone in calculator audio history, but it's also the first time that the GPIO ports have been used. The GPIO ports don't only allow audio, but a great range of things are possible with them.
« Last Edit: March 03, 2013, 01:19:34 pm by Jim Bauwens »

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: An Nspire audio player!
« Reply #1 on: March 03, 2013, 02:15:26 pm »
I think tetris soundtrack should run smoothly :)

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: An Nspire audio player!
« Reply #2 on: March 03, 2013, 02:29:07 pm »
This is a little better than your lua one Jim :)
And also, it can have WAV files of any size (less than your available ram, of course), and it works, because I have a 15 minute song on mine.
« Last Edit: March 03, 2013, 02:31:46 pm by Rhombicuboctahedron »

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: An Nspire audio player!
« Reply #3 on: March 03, 2013, 04:05:50 pm »
One thing:

music should've been rickroll

* pimathbrainiac runs
« Last Edit: March 03, 2013, 04:06:02 pm by pimathbrainiac »
I am Bach.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: An Nspire audio player!
« Reply #4 on: March 03, 2013, 04:19:31 pm »
Quote
The audio player utilizes the GPIO pins at the dock connector, allowing it to achieve a sample rate of 10kHz!
With the newest version you can load wav files with any samplerate you want.
The limit is the pwm-frequency (64 kHz), it starts to sound nasty then (but untested, 44,1 kHz works perfectly)

Quote
music should've been rickroll
Without the video it's boring :P

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: An Nspire audio player!
« Reply #5 on: March 04, 2013, 03:43:23 am »
Also it might make people think even more that it's fake :P

Also very nice work! :) As for the music, although it's not my style, I'm glad you didn't use dubstep instead (it's just too overly present anywhere, even in power metal now) :P
« Last Edit: March 04, 2013, 03:43:53 am by DJ_O »

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: An Nspire audio player!
« Reply #6 on: March 04, 2013, 10:26:33 am »
I think someone should try to build a custom dock for the nspire, that would allow people to use GPIO without soldering.
I'm not a nerd but I pretend:

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: An Nspire audio player!
« Reply #7 on: March 04, 2013, 04:12:17 pm »
I tried doing that.
Getting the headphone jack and the stand were easy, connecting the wires was easy, just getting then to line up with the tiny serial port was difficult.

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: An Nspire audio player!
« Reply #8 on: March 04, 2013, 05:15:50 pm »
I think someone should try to build a custom dock for the nspire, that would allow people to use GPIO without soldering.
Yeah it was brought up a while ago, including the idea that someone could maybe sell them online. But the problem is that if TI changes the Dock port then the custom dock might no longer fit and a lot of money would be wasted. Another issue is the possible disappearing of that dock port one day (it's already gone from the TI-Nspire CM)

Offline AzNg0d1030

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 522
  • Rating: +45/-4
  • Hardcore anime watcher.
    • View Profile
Re: An Nspire audio player!
« Reply #9 on: March 04, 2013, 06:09:12 pm »
OMG that audio quality!
You just lost the game.