Skip to content

Sound library not working with exported applications. #129

@KingKujito

Description

@KingKujito

Hi, I've been working on a project which uses some basic functionalities of the sound library (I use it to play sounds, nothing else). However, the library doesn't work as expected.

Here's the situation:
I work on a Macbook (macOS Sierra 10.12.4), use Processing 3.3.6 and my Sound library is up to date. Running my code inside of Processing works fine, no errors. Exporting my code to an application and running it on the same Mac works without problems too.
However, as soon as I try to run the exported application (all OS versions) on any other device, it doesn't work.

Here are my tests and results of the exported applications (note: windows 32x and 64x yielded the same results so will only be mentioned once, also all devices have working built-in detectable speakers):

-Macbook (macOS Sierra, has Processing and sound library installed) : no problems
-iMac (macOs Sierra, has Processing installed, no sound library) : appears to render first frame and then the application stops responding.
-iMac Virtual Machine (Windows 8, no Processing, no sound library) : displays a gray window
-old Toshiba laptop (Windows 7, has Processing installed, no sound library) : displays a gray window

All devices have an up-to-date version of Java and none give a JavaRuntime Error.
I'd also like to mention that I use dataPath and sketchPath to find files. So there should be no funny business with path names.

If anyone has a solution to this problem, I'd be very grateful.
-Kujito

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions