So processing was working with my code perfectly before this sound library update (2.0.1). When the code gets to this section (it’s just the first one there so that’s probably why it does the specific section):
menus = new SoundFile(this, "menu.mp3");
It gives this error:
Sep 11, 2018 11:12:31 PM com.jsyn.devices.javasound.JavaSoundAudioDevice <init> INFO: JSyn: default output latency set to 80 msec for Windows 10 Sep 11, 2018 11:12:31 PM com.jsyn.engine.SynthesisEngine start INFO: Pure Java JSyn from www.softsynth.com, rate = 44100, RT, V16.8.0 (build 463, 2017-10-16)
Is there a way to revert to the older version before the API rewrite apparently happened?
Could you create a ticket in github related to this issue please? I am getting the information from this post.You should be able to download an older version of the library and replace the current “newest” version. I believe you should be able to get this older version using github. Maybe if you specify this in your ticket in guithub, they can give you instructions/guidance in the process.
Just for curiosity, if you try another mp3 file, do you get the same error?
I have something at: https://github.com/processing/processing-sound/issues
but is there anywhere I can get an older version older than 2.0.0 because that’s when the API was rewritten?
@RockyHawk you can still download the 1.* releases of the Sound library here: https://github.com/processing/processing-sound-archive/releases
The API hasn’t changed though, so your old code should still work. I have a hunch about what’s going wrong, could you possibly upload your mp3 file somewhere so I can test it?
Issues should probably go to https://github.com/processing/processing-sound/issues instead (as linked by @RockyHawk) because the original repo is read-only now, right?
@hamoid Maybe you are right. The link I provided was based on a previous post by kevinstadler. Since this is a GSOC (I think), I don’t know if this follows under the umbrella of Processing or under the contributor while in development/revamping phase. Clarifications are very welcome.
@kfrajer the library rewrite finished with the end of GSoC (last month) and the code base has now been officially taken over by the Processing, so all bug reports etc should go to the currently maintained repository hosted on the Processing foundation github: https://github.com/processing/processing-sound
(My old ‘archive’ copy is kept read-only in the old location to comply with GSoC requirements.)