Tampilkan postingan dengan label Multimedia. Tampilkan semua postingan
Tampilkan postingan dengan label Multimedia. Tampilkan semua postingan

Rabu, 05 September 2012

Aplikasi Pertama dengan Ktoon

Pernah dengar Ktoon. Yup, sebuah perangkat lunak yang digunakan untuk membuat sebuah animasi berbasis 2D. Mirip dengan Flash, akan tetapi ktoon adalah versi Open Sourcenya.

Memang sedikit sulit untuk membuat sebuah animasi sederhana. Berbeda sekali jika menggunakan Flash. But, that's way open source create this. We can develop it together until this software perfect.

This is my little project from ktoon tutorial.

Dan ini hasil dari project pertama saya di ktoon. Masih belum sempurna sih. But I'll make it complete.
Pertama.ktn.

Go Open Source...

Sabtu, 20 Agustus 2011

A little Documentation from My Experience Developing Android on Devkit8000 (part 1)

This is my little documentation from my experience developing android in devkit8000. Actually, I focuss on developing application for Android with Android SDK and Eclipse in Ubuntu 10.04.
So, I just need an Eclipse IDE, JDK 5 or 6, and android SDK, yup, that's all tools for developing Android in my case. Ok lets start, for the first time I'll install JDK 6 in my PC. These are the steps:
1. Open Terminal
2. Edit /etc/apt/sources.list with your favorite editor. In example:
$ sudo gedit /etc/apt/sources.list
And then delete the '#' in front of the line below:
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
3. Update repository
$ sudo apt-get update
4. Installing sun java
$ sudo apt-get install sun-java6-jdk
5. For testing your java installation you can run this command:
$ java -version

This is the end of part 1, and for the next part I'll write how to install Android SDK and make emulator for Android.

Senin, 14 Maret 2011

Creating Tone With Java

Actually this is my little research to make a simple multimedia apps. I start to make an application that make a tone based on the frequency and the duration. A lot of thanks for Princeton to provide this class StdAudio.java. It's very usefull to make this application work well.
This a method for create the tone.
private double[] tone(double hz, double duration) {
int N = (int) (StdAudio.SAMPLE_RATE * duration);
double[] a = new double[N+1];
for (int i = 0; i <= N; i++) { a[i] = Math.sin(2 * Math.PI * i * hz / StdAudio.SAMPLE_RATE); } return a; }


After make that method, we just call the variable that using the tone method, and play it with play method in StdAudio class. The example for implementation is below:
double[] a = tone(frek, dur);
StdAudio.play(a);

The capture of application

For more source you can download here ( Sorry for using this link, because there is no tools for uploading a file in my blog ). I use netbeans for develop it.