I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / MISC Areas / Mattel JuiceBox
JuiceBox Audio/Sound Programming

New MessageJuiceBox Audio/Sound Programming (modified 0 times) DavidM348
Profile
Anyone had a chance to play around with the JB sound? I am using FatJBox to load some test graphics apps, but now I want to add some sound :). If anyone has some info or (even better) some test code to initialize audio, what values to write to which registers, et., I would REALLY appreciate it.

Also, I've been using and modifying the LCD_1 and LCD_2 test apps for my coding. The LCD graphics mode in these apps is set to 256 colors, but the GiantPlus GPM425A0 supports 4096 colors (12 bits per pixel). This may be covered already (sorry if so), but how do I put the graphics controller in that mode? Are there other graphics modes available?

Thanks!

-David

02-22-2007 20:53:01

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) jasonharper
Profile
The 4096 color display mode is actually 720 x 160 x 16 level grayscale, as far as the CPU is concerned - it's not aware that the pixels are sequentially colored R, G, B, R, G, B, etc. See http://www.elinux.org/wiki/JuiceBoxRegsMp3 for the register settings.

It should be possible to drive the display at 720 x 160 x 4 level grayscale, or 720 x 160 monochrome. These modes would give 6 and 3 bits per pixel, respectively, but it's hard to imagine an application that would prefer these over the 8 and 12 bit modes.

02-22-2007 23:27:16

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) ForkBoy
Profile
Has the Juicebox form died and people lost interest? -- The last posting I saw was 02/22

I did look into sound programming a bit in the past.

The best source of information I found was the sound chipset datasheet (see the Wiki)
and the Juicebox uCLinux source code.

The uCLinux sets up the sound hardware and the A/D for a volume control.
It seems to me that you could write a Fatbox sound application by using this uCLinux code.

If you can't find the information I'm talking about let me know and I'll try digging it up.

03-05-2007 11:01:04

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) DavidM348
Profile
I hope there is still some interest - how will I ever find answers to my questions??!!

Thanks for the info - I forgot about the uCLinux source code. I've been disassembling the diagnostic code section of the JuiceBox (UGH!!!) Using the source code will be SOOOOOO much easier!!

Thanks!

-David

03-05-2007 20:57:38

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) DavidM348
Profile
Lots of info on the CS43L43 data sheet and the cs43l43.c file in the EMSoft UCLinux source. From this, I should be able to init the hardware, turn speaker on/off, etc., but actually producing sound will take a lot more study. If anyone has coded some sound stuff, would you be willing to release some source to help get me up to speed? Any snippets would be greatly appreciated!

-David

03-06-2007 21:53:12

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) galaxygirl
Profile
how can I enable my juicebox to play mp3's from itunes or other sites? how can I play dvd-type movies on my juicebox? how can I download streaming video and play it on my juicebox?
03-07-2007 21:46:14

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) ForkBoy
Profile
Galaxygirl,

You can play MP3s on the JuiceBox by purchasing the juicebox MP3 starter kit.
This will give you an SD card adapter and software to format MP3s for the Juicebox.

I found mine on EBay -- search for "juicebox starter kit".

I don't think there is a method for playing videos on the Juicebox other than using Juicebox cartridges or replacing the onboard flash with a flash containing a new linux kernel and filesystem. I think the 2MB versions have the flash under a blob, so it's not an easy mod.

03-08-2007 10:11:26

New MessageRE:JuiceBox Audio/Sound Programming (modified 0 times) galaxygirl
Profile
OK, no problem. how can mod my juicebox and change the linux kernel? do you know of any good programs to record streaming video? would it be possible to find out the format on which juicebox vids are run? how come we cannot code vids into juicebox format?
03-09-2007 23:16:50

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3