Multimedia - Drumkit

Description

This example MIDlet shows you how to use the multimedia and touch features of the Series 40 and Symbian platforms to create a virtual drumkit that allows the user to play percussion sounds. The sounds are implemented with Player objects that are triggered when touch events are registered on the circular pads ("drums") on the screen. The user can also record their beats and play them back later.

Figure: Drumkit main view

For a tutorial that shows you how to create this MIDlet, see section Example: Playing percussion sounds by tapping the screen.

Compatibility

This MIDlet is compatible with Series 40 6th Edition FP1 and S60 5th Edition devices and newer.

Note: The MIDlet graphics have not been optimized for Symbian device resolutions, and the audio latency is a quite poor on Symbian devices. Also, the MIDlet does not perform well on lower-end Nokia Asha devices, such as Nokia Asha 305 and Nokia Asha 306.

This MIDlet has been tested on the following devices:

  • Nokia 700 (Symbian Belle FP1 with Java Runtime 2.4 for Symbian)

  • Nokia Asha 303 (Java Runtime 1.1.0 for Series 40)

  • Nokia Asha 311 (Java Runtime 2.0.0 for Series 40)

  • Nokia C5-03 (S60 5th Edition)

  • Nokia X3-02 (Series 40 6th Edition FP1)

MIDlet project

The MIDlet project files are packaged as a zip file. To download the zip file, click the following link:

Download Drumkit

Table: MIDlet details

MIDlet version

1.1.0

Creation date

28 June 2012

IDE

Eclipse and NetBeans

SDK

Nokia SDK 1.0 for Java

For earlier versions of the MIDlet, see the Nokia Developer Project.

MIDlet classes

The MIDlet consists of the following packages and classes (click to view the full source code):