New answers tagged

1

FYI, WiringPi got deprecated in 2019 and doesn't support Pi4-boards. So please keep this in mind when creating your projects if students would use such a board at home for instance. Pi4J version 1.3 (Java 8) and 1.4 (Java 11), provide a work-around for this: https://pi4j.com/1.3/install.html#WiringPi_Native_Library I would like to invite you to take a look ...


0

I found a workaround that works for me: replacing all the lines that create and start the AudioInputStream and Clip with this one line: Runtime.getRuntime().exec("aplay my-file.wav"); Note: I have intentionally not marked this answer correct, because it does not solve the issue with AudioInputStream. It simply sidesteps the problem, by passing the ...


Top 50 recent answers are included