Monthly Archives: August 2011

Compressing and Uncompressing Data in Java Using Zlib

The Zlib data compression library is built into Java, and allows you to compress and decompress data. So, uh… ’nuff said? 1. If you have not already done so, download and install the Java Development Kit. Details are given in … Continue reading

Posted in Uncategorized | Tagged , , , | 6 Comments

Reading and Writing a BMP File Using Java

The Windows BMP file is a fairly simple file format, and doesn’t (necessarily) involve any compression, which makes it one of the easiest image file formats to actually, you know, understand. UPDATE 2012-12-14: Since this post has, much to my … Continue reading

Posted in Uncategorized | Tagged , , , | 2 Comments

Reading and Writing a WAV File in Java

The following tutorial reads the header and samples of a WAV audio file into a Java object, writes that Java object back out to a different WAV file, and then compares the contents of the two files to make sure … Continue reading

Posted in Uncategorized | Tagged , , , | 2 Comments

Serialization of Objects in Java Using XStream

Serialization is the process of transforming complex objects into a format that can be easily sent over a network or written to persistent storage. Often this format is a text format, such as XML or JSON. Later, the original object … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Speech Synthesis in Java Using FreeTTS

Would you like your computer to talk? Would you like it to be in a stilted, robotic manner? Of course you would. What’s cooler than that? But you’d better get started right away, because a bunch of movie characters from … Continue reading

Posted in Uncategorized | Tagged , , , | 13 Comments