SpinCad "Simulator" plays for two seconds, skips like a CD and stops.

BrooksBlackhawk

New member
So i just downloaded SpinCad on my new-ish macbook (I had previously been using my imac but thought I would try it on here) When I play the sample file for the simulator (or any 32768 kHz 16 bit stereo WAV file) it plays for about two seconds, skips like a CD and then stops. Once it stops I cannot get it to play again until I restart the program.
I'm not sure what I'm doing wrong. Maybe @Digital Larry would know?
Thanks!
 
Do you have the SpinCAD "Simulator/Set Sample Rate" setting properly matched to the audio file's sample rate?
What is the name and sample rate of the audio file being used?
Excellent suggestions and yeah, I did double check all that stuff. the only thing i can think of is a possible its a compatibility issue with M1 mac processors?
 
Excellent suggestions and yeah, I did double check all that stuff. the only thing i can think of is a possible its a compatibility issue with M1 mac processors?
I use SpinCAD on three different platforms, M1Mac being one, and it works fine there. I use that same same wave file from GitHub and have had no issues. Is your M1's Java up to date?
 
Might be worth it to check Java versions. On Windows I have:

java version "18.0.1.1" 2022-04-22
Java(TM) SE Runtime Environment (build 18.0.1.1+2-6)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)
 
@BrooksBlackhawk I tried it on my Intel Macbook Air and can reproduce your problem, sort of. I don't get any skipping but the playback does stop after a few seconds and doesn't start up again until I restart the program. The version of Java is very old. I ran SpinCAD in debug mode but saw nothing unusual. So it would be good to compare Java versions, especially one which does work on Mac. IME updating Java on this Mac is next to impossible. Perhaps there is a secret procedure for doing so. If someone knows I am willing to try it.

java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
 
Last edited:
FWIW, I just went to the Oracle website download section and let it autosense my machine to get the latest and greatest Java JDK platform.
 
OK, I tried the latest Java installer for x64 and it worked. I'm at version 21 now. The simulation playback issue on Mac remains. If someone out there wants to help debug it, let me know. By that, I mean install the Eclipse Java package on Mac and pull down the code and do "whatever" else it takes to get the program basically working. I did not write the simulator code so I have no more insight into it than anyone else besides the guy who wrote it. I have also never done the Eclipse installation on Mac.

As it would only involve the Java code (not SpinCAD builder) it would be a little simpler than getting the whole Java + Xtext + Xtend working.

DL
 
Back
Top