Skip to content

Latest commit

 

History

History

README.md

Overview

This example shows how to play audio.

Requirements

  • MICROEJ SDK 6.
  • A VEE Port that contains:
    • EDC-1.3 or higher.
    • AUDIO-1.0 or higher.

This example has been tested on:

  • IntelliJ IDEA with MicroEJ plugin for IntelliJ IDEA 1.1.0.
  • sim-vee-port VEE Port project (Simulator only).

Usage

Follow MICROEJ SDK 6 Installation Guide to setup the SDK.

By default, the sample runs only on simulator, using the sim-vee-port VEE Port project.

Refer to the Select a VEE Port documentation for more information.

Run on Simulator

Run the following command in your IDE (or click the Play button next to the line below when opening this README in IntelliJ IDEA):

./gradlew :audio.track:runOnSimulator

Alternative ways to run in simulation are described in the Run on Simulator documentation.

Expected Behavior

The sample plays the track.raw audio file on your main sound output device.

Dependencies

The dependencies defined in build.gradle.kts are configured in libs.versions.toml.

All dependencies are retrieved transitively by Gradle.

Source

N/A

Restrictions

None.


Copyright 2024-2025 MicroEJ Corp. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found with this software.