130 likes | 262 Views
What’s iTeach. Educational Purposes Only Connect to Internet Upload/ Download files Stream/Play Video and Audio (Lectures) Reading Textual Documents Browse the Internet (If we have time). Why iTeach. Variety of resources Easy Data Delivery Efficiency User Friendly Paperless (Go Green).
E N D
What’s iTeach • Educational Purposes Only • Connect to Internet • Upload/ Download files • Stream/Play Video and Audio (Lectures) • Reading Textual Documents • Browse the Internet (If we have time)
Why iTeach • Variety of resources • Easy Data Delivery • Efficiency • User Friendly • Paperless (Go Green)
Block Diagram Speakers Audio out jack Single Board Computer Ethernet Power Internet VGA Controller Touch Screen Controller LCD Touch Screen Display
Freescale iMX515 800 MHz ARM Cortex-A8 CPU TI-OMAP3530 600 MHz ARM Cortex A8 And: 32KB instruction and data caches Unified 256KB L2 cache 256MB of MDDR RAM and 256MB of NAND Flash Support Linux / Windows CE Single Board Computer
Interfaces • MMC/SD • USB 2.0, RS-232 Serial, UART, SPI • Ethernet/WiFi 802.11 • JTAG • DVI-D, S-Video • Stereo Audio Out/In
Implementation Strategy • Install OS • Angstrom Linux, Windows CE • Load Java Virtual Machine • PERC Ultra JVM • Interface with LCD Touch Screen Panel • Send audio signals out to speakers • Figure out battery solution.
Sound Implementation in Java Java provides 4 packages that are related into the sound that is going to be useful. • javax.sound.midi • javax.sound.midi.spi • javax.sound.sampled • javax.sound.sampled.spi
Some details about Java soundPackages for our project • javax.sound.midi:Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. • javax.sound.midi.spi:Supplies interfaces for service providers to implement when offering new MIDI devices, MIDI file readers and writers, or sound bank readers.
Some details about Java soundPackages for our project • javax.sound.sampled:Provides interfaces and classes for capture, processing, and playback of sampled audio data. • javax.sound.sampled.spi:Supplies abstract classes for service providers to subclass when offering new audio devices, sound file readers and writers, or audio format converters.
Decoding and Encoding Sounds in java • Java uses a law called mu-law to encode and decode Sound according to http://www.developer.com/java/other/article.php/3286861/Java-Sound-Compressing-Audio-with-mu-Law-Encoding.htm • Above website also gives you some example for how to write encode and decode for 16 bits, so we are going to use it to get ideas for 32 bit since our processor is 32 bit and we might need 32 bit too.
How to show a text • Java provides a class called Runtime that it can be useful to execute files. • There is several version of exec method in Runtime class which basically executes commands by String object or executables with File class and creates a Process object.
Internet Browser implementation • Possible packages • 1) java.net • 2) javax.net • 3) javax.swing.text.html • 4) javax.swing.event • 5) javax.swing and java.awt • 6) java.util • 7) java.awt.event