Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vogtinator

Pages: 1 ... 56 57 [58] 59 60 ... 83
856
TI-Nspire / Re: Nspire Audio player!
« on: March 01, 2013, 05:52:01 pm »
Quote
But I send the mp3 files to audacity change it to 8000,
8000, that should be too fast  ???. 10000 is correct (you can type in any value you want)

Quote
Maybe you could post one of your files for me to see?
If it doesn't work with this version, I'll post some free stuff here.

We have to add sound support in gbcnspire, gpSP and nDoom ! ;)
Except that I'll probably won't have any time to work on nDoom in the next few months.
And nspire movie player most of all!
All of them :) But I think it might get a bit complicated with tone generation :-\

I made a newer version, resolved some bugs and copied nTxt/hoffa's file browser:
-24000 samples per seconds (second timer is only 24 kHz  >:( )
-Doesn't crash anymore
-Loads file only once (Limit is now at 5 MB)
-Works with ndless.cfg.tns
-Source code (Not very well commented - yet  :-[ )

16 bit pwm is not possible, 500 Hz is a bit too slow  >:(
A higher samplerate would only be possible with a lower pwm frequency as I would have to abuse the fiq handler for pwm, but I think we don't need 64000 samples per second  ::)

I also made a few tests with nover, it plays fine (even at the right speed) with 162/81/40 MHz.. Does the second timer have a seperate clock source?

857
TI-Nspire / Re: Nspire Audio player!
« on: March 01, 2013, 09:14:01 am »
Is the length reported correct? It should be the exact (rounded) duration in seconds

858
TI-Nspire / Re: Nspire Audio player!
« on: March 01, 2013, 08:58:43 am »
Quote
even with nover
With nover you can only decrease the pwm speed. I don't know how (and whether) you can change the speed of the second timer (~31 kHz) which is used for setting the pwm output value.

859
TI-Nspire / Re: Nspire Audio player!
« on: March 01, 2013, 04:49:33 am »
PWM only uses 60 cpu cycles every pwm cycle (128 kHz) so you can still use 124 MHz.

860
TI-Nspire / Re: Nspire Audio player!
« on: March 01, 2013, 01:17:04 am »
I used audacity, change project rate to 10000 (after import), convert it to mono
and export it as raw data (unsigned 8-bit pcm).

861
TI-Nspire / Re: Nspire Audio player!
« on: February 28, 2013, 04:18:25 pm »
Quote
And very glad to see that somebody has allready updated Hackspire:
That somebody was me, some days ago :D

Quote
Let's go on: we still have a little more than 20 pins to identify!
The long pins are GND, now we only have 19 more D: (3 of them SPI, 8(?, don't remember exactly) GPIOs)
They shouldn't be a problem with diags and SLED tests

862
TI-Nspire / Re: Nspire Audio player!
« on: February 28, 2013, 03:26:59 pm »
Nope, I don't. I haven't got the right screwdriver, but if it really uses a pull-up, it'd be great!

BTW: I'll make a new video tomorrow, this one isn't the greatest.

863
TI-Nspire / Nspire Audio player!
« on: February 28, 2013, 02:26:08 pm »
WARNING: Two people destroyed their touchpads by accidentially shorting some pins, so be VERY careful!
Read the thread here


Some days ago I found out (with diags) there are some GPIOs connected to the dock connector.
We also have one relatively fast timer we could use for pwm and one for loading new data from the buffer, so here ya go:



Dock connector (connected to pins 5 + 6):



There are still a few bugs/improvements that need to be done:
-Only 10 kHz sampling rate, more is possible
-Crashes on exit
-Loads file twice
-Max file size 2000000 Bytes (2MB)
-Only works on CX
-Only loads "/documents/ndless/monsta.raw.tns" for now
-Haven't got a name, any suggestions?

I'll publish the source code after it works completely.

Possible features:
-WAV loading
-Volume control
-Stereo :-)

BTW: Don't plug your speaker in before "Playing!" or you'll short 3,6 V (While playing, you only short ~1,8V)! Unplug them before exiting, the GPIO becomes high on reset! Don't use your amplifier, you may blow it!

Edit: Updated video

Newest version: here

864
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 26, 2013, 04:34:58 pm »
No:
Code: [Select]
COMP--._
       _'|>---DEVICE
CALC--'

865
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 26, 2013, 10:14:56 am »
Maybe you can get a Y-cable (used for external HDDs which need more than 0.5 A current) and use it with your calc and pc,
but I think I'll be easier to just use such a powered hub with power supply.

866
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 25, 2013, 01:22:11 am »
It crashed? How? (kernel panic?) Which model do you use, maybe you need fw.

867
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 22, 2013, 03:43:06 pm »
Quote
/dev/sdh contains a file system with errors, check forced.
It should be r/w mountable by now.

868
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 22, 2013, 03:11:09 pm »
Quote
I'm using /dev/sda (I hope you don't notice that I have no idea what a device file is :))
(Yes, I'm too lazy to copy your formatting :P)
/dev/sda is correct. (If it's on your calculator. On your PC it should be /dev/sdb or /dev/sdc)

Quote
That seems to mount the drive as read-only filesystem.
My commands don't mount the drive at all, they require it mounted at /mnt.
But why read-only? Could you show us the messages showing up?
What's the output of fsck.ext4 <drive>(if fsck is not on your calc, try it on your pc)?

869
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 22, 2013, 12:34:33 pm »
You can try to
Code: [Select]
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc
mount -t devpts none /mnt/dev/pts
chroot /mnt
startx

870
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: February 17, 2013, 01:07:15 pm »
Quote
The fsck: fsck.auto error is from when I tried the same thing on the calc... 
Probably some weird issue with busybox and buildroot.. It ran fine some time ago.

Quote
EDIT: IT'S WORKING!!! It's loading now!   Thank you!
Great!

Quote
EDIT: Oops... Typed "X", now there's a blank screen, what do I do now... (other than reboot)
Try "startx". You can type "Ctrl + Alt + F1" on an USB keyboard and press "Ctrl + C" then.

Pages: 1 ... 56 57 [58] 59 60 ... 83