How to use cassette library Android

edited February 2017 in Android Mode

Hello I am making a fireworks project for android (like Daniel Schiffman) using processing 3.0 and android mode. I would like to play a sound when the firework explodes. How do I use the cassette library to play a .wav file.

void mousePressed () { fireworks.add(new Firework(mouseX)); //Play Launch Sound }

Please tell me me if you need more code.

Mac version, android 7.0

Tagged:

Answers

  • Answer ✓

    Did you try running the examples provided by the library? After you install the cassette lib, in the Processing IDE open File>>Examples then find the cassette library under Contribute Libraries. It should work in Android.

    Kf

  • Thank you very much. Just what I needed. Dan4o

Sign In or Register to comment.