FS#10135 - X-Y Scope Plugin

Attached to Project: Rockbox
Opened by Tony Huynh (insanepotato) - Wednesday, 15 April 2009, 10:41 GMT
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


I brutally hacked the Oscilloscope to pieces and tried to make an x-y scope.

Please feel free to edit and contribute because I honestly have very limited knowledge of PCM data and the inner workings of rockbox =]
This task depends upon

Comment by Boris Gjenero (dreamlayers) - Wednesday, 15 April 2009, 19:47 GMT
Here's a modified patch, which uses code from  FS#10065  to obtain actual samples on SWCODEC targets. I don't know if there is a way to get samples from the MAS on HWCODEC targets, so the scope is still based on peaks there. I've tested it on 5G sim, 5G 30GB iPod and Archos V2 Recorder.

On the 5G and 5G sim, I can clearly see some parts of (for what it should look like, see ). Some music is uninteresting; when both channels are very similar, the display is just a diagonal line.

I feel this could still use more work. For example: more dots could be plotted, in a more optimized way, and the LCD doesn't have to be updated for every dot.
Comment by Robert Kukla (roolku) - Sunday, 19 April 2009, 15:27 GMT
The file xyscope.c seems to be missing from the patch. :(
Comment by Boris Gjenero (dreamlayers) - Sunday, 19 April 2009, 16:10 GMT
Oops, sorry. "svn diff" doesn't notice new files.
   xyscope.c (14.8 KiB)
Comment by Robert Kukla (roolku) - Sunday, 19 April 2009, 16:28 GMT
Thank you. You need to "svn add" new files before they show up in svn diff.