Multimedia Archive

Learn Java – Best Tutorials with Examples

Java Tutorial for Beginners – Learn Java in simple and easy steps starting from basic to advanced concepts with examples including Java Syntax Object Oriented Language, Methods, Overriding, Inheritance, Polymorphism, Interfaces, Packages, Collections, Networking, Multithreading, Generics, Multimedia, Serialization, GUI, RMI, JOGL, Graphics, 2D Graphics, and 3D Graphics. Learn Java with Coding Guru by visiting links

Normalizing Sounds – Java Multimedia

Before normalizing sounds, lets have a look at following factors Overall shape of the sound waveform is dependent on many samples If we multiply all the samples by the same multiplier, we only effect our sense of volume (intensity), not the sound itself Making sound as louder as possible is known as normalizing sounds.  Though

Highlighting Extremes

Method to replace the pixel colors in the current picture object that have a color distance less than the passed amount to white or black with the passed replacement color. public void highlight(double amount, Color replace) { Pixel pixel = null; // loop through all the pixels in the x direction for (int x =

SepiaToned and Posterized Pictures

Make a Sepia Toned Picture We have discussed a lot about color changing and altering pictures. Let’s start with bit more sophisticated color swapping. We can look for a range of colors and can replace them with some other colors or computed values of original colors. Results are very interesting. For example, Older prints sometimes

Simple Edge Detection

Let’s make a picture that looks like a pencil sketch. Here is a simple technique that can help you to achieve the above said results. Find an area of high contrast between a pixel and the pixel below it if contrast is high we can make pixel black otherwise white Question here is how to

Changing the volume ( amplitude ) of sounds

In this article we are gonna play with amplitude of sounds. We will learn how to increase or decrease volume by manipulating amplitude. As we know amplitude of sound is the main factor in volume. Increasing or decreasing amplitude means increasing volume or decreasing volume. We defined three methods ( increaseVolume, decreaseVolume & changeVolume )

Manipulating Sounds in Java

Before reading or using example of this article. You must have to learn to setup eclipse environment or use Dr. Java IDE. Here are the instructions to configure and prepare eclipse environment “customize-use-bookclasses-eclipse“. This article will help you to understand how to digitize and manipulate (e.g. splicing, reversing and blending ) sounds. BookClass library contains

Mirroring image horizontally in java

In our previous article we discussed about mirroring an image vertically left to right and right to left. Today we are going to discuss mirroring an image from horizontally from top to bottom and bottom to top respectively. The idea is same. We have to find a mirroring point that can be center point of

Mirroring an image Vertical in Java

Mirroring an image is very easy and quite interesting effect that rarely can be used. Mirroring an image is similar to placing a image on mirror so that left side of image shows up in mirror. We will apply couple different techniques. Mirroring image pixels along a vertical Line First of all find the mirroring

Creating grayscale image of original picture

Converting an image to grayscale is really simple. You can create grayscale image by setting same value for Red, Green and Blue. It means RGB encoding supports 256 level of grays from (0,0,0), (1,1,1) throught (150,150,150) and finally (255,255,255). Tricky part to create grayscale image is to find replicated value or value level to form