Skip to content

IndexOutOfBoundsException: Index 0 out of bounds for length 0 - When loading any wav or mp3 file - Linux Ubuntu inside WSL2 #72

Open
@dantearaujo1

Description

@dantearaujo1

Im writing an game for my essay, i already added controlP5 library and now i include processing sound library, but when i create an SoundFile passing my sketch as parameter and the audio name file as second parameter the program return this message

"IndexOutOfBoundsException: Index 0 out of bounds for length 0"

What should i do?

Im sure that i installed the library correct and im sure that my wav and mp3 file are inside my data directory inside sketch root.

Don't know what to do next. Teste with wav file in mono and stereo and with mp3 files as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions