Multimedia - Drumkit

Description

This example MIDlet shows you how to use the multimedia and touch features of the Series 40 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 MIDlet running on a Series 40 full touch device

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 Feature Pack 1 devices and newer.

Note: The MIDlet does not perform well on lower-end Nokia Asha software platform devices, such as Nokia Asha 305 on Nokia Asha software platform and Nokia Asha 306 on Nokia Asha software platform.

This MIDlet has been tested on the following devices:

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

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

  • Nokia X3-02 (Series 40 6th Edition Feature Pack 1)

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

Nokia IDE for Java ME (Eclipse) and NetBeans

SDK

Nokia SDK 1.0 for Java

For possible newer version, other updates or additional documentation, check the Drumkit at Nokia Developer Projects.

MIDlet classes

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