• Welcome to the Speedsolving.com, home of the web's largest puzzle community!
    You are currently viewing our forum as a guest which gives you limited access to join discussions and access our other features.

    Registration is fast, simple and absolutely free so please, join our community of 35,000+ people from around the world today!

    If you are already a member, simply login to hide this message and begin participating in the community!

New Prisma Puzzle Timer with Stackmat Gen 3 support

Joined
Mar 15, 2015
Messages
3
WCA
2014HAYE01
Hello everyone this is Computer Cubing,

Here is a new version of Prisma Puzzle timer that works with the Stackmat gen 3!
Credit to the original author, Walter, who published the original project at https://bitbucket.org/walter/puzzle-timer/

To support the Stackmat Gen 3, I have created a new menu option in timer trigger called Stackmat gen3.
Click on that to connect your gen 3 timer. The original code for the gen 2 timer has been left in place.
The cable is still all the same from connecting the gen 3 timer, 3.5 to 2.5 audio cable.

Anyway, here is the link to the new version of Prisma Puzzle Timer in GitHub

https://github.com/phillip-hayes/PrismaPuzzleTimer/blob/master/bin/PrismaPuzzleTimer_v1.0.zip

To use the timer, download the above zip file, unzip the contents to a directory on your computer, and then run the PrismaPuzzleTimer.bat script
This version of the timer, like the original, requires java to be installed on your computer

For those who like to develop their own software, the integration to the Stackmat Gen 3 has been abstracted into a separate library that could be used with any java project.
This API library has been published as a separate GitHub repository. Please feel free to reply on this thread if this is of interest.

Be sure to check you my Youtube channel Computer Cubing. I make unboxings, reviews and more!

https://www.youtube.com/channel/UC8ifYOdnxoqnLqAYKMxVjzg
 

Attachments

KimLan

Member
Joined
Feb 3, 2015
Messages
7
Location
Southern California
WCA
2015VOKI01
I still haven't been able to get my stackmat to work with Prisma Puzzle Timer. I can only get it to work with CalCube Timer, but I would like to get it working with this too. :)

It doesn't seem to be reading anything from my stackmat (gen 3 pro). Any ideas?

Thanks!
 

mustardboy

Member
Joined
Feb 13, 2014
Messages
3
Hello everyone this is Computer Cubing,

Here is a new version of Prisma Puzzle timer that works with the Stackmat gen 3!
Credit to the original author, Walter, who published the original project at https://bitbucket.org/walter/puzzle-timer/

To support the Stackmat Gen 3, I have created a new menu option in timer trigger called Stackmat gen3.
Click on that to connect your gen 3 timer. The original code for the gen 2 timer has been left in place.
The cable is still all the same from connecting the gen 3 timer, 3.5 to 2.5 audio cable.

Anyway, here is the link to the new version of Prisma Puzzle Timer in GitHub

https://github.com/phillip-hayes/PrismaPuzzleTimer/blob/master/bin/PrismaPuzzleTimer_v1.0.zip

To use the timer, download the above zip file, unzip the contents to a directory on your computer, and then run the PrismaPuzzleTimer.bat script
This version of the timer, like the original, requires java to be installed on your computer

For those who like to develop their own software, the integration to the Stackmat Gen 3 has been abstracted into a separate library that could be used with any java project.
This API library has been published as a separate GitHub repository. Please feel free to reply on this thread if this is of interest.

Be sure to check you my Youtube channel Computer Cubing. I make unboxings, reviews and more!

https://www.youtube.com/channel/UC8ifYOdnxoqnLqAYKMxVjzg
I am having trouble connecting my Gen 3 Stackmat to Prisma. I use Windows 8. The microphone input is definitely being received I just get this flood of errors when I start timing:

C:\Users\Ben\Downloads\PrismaPuzzleTimer_v1.0>java -jar PrismaPuzzleTimer.jar -c
lasspath .;lib\*
Apr 06, 2015 6:33:36 PM au.com.emc.cubing.stackmat.StackmatManager start
INFO: Starting Stackmat gen 3 manager
Apr 06, 2015 6:33:36 PM au.com.emc.cubing.stackmat.StackmatInterpreter initializ
e
INFO: Initialising stackmat gen 3 interpreter
Apr 06, 2015 6:33:36 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
INFO: Starting Stackmat background thread
Apr 06, 2015 6:33:50 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
SEVERE: Detected error processing stackmat signal: null
java.lang.NullPointerException
at au.com.emc.cubing.stackmat.StackmatInterpreter.readLine(StackmatInter
preter.java:172)
at au.com.emc.cubing.stackmat.StackmatInterpreter.doInBackground(Stackma
tInterpreter.java:316)
at au.com.emc.cubing.stackmat.StackmatManager$1.run(StackmatManager.java
:272)

Apr 06, 2015 6:33:50 PM au.com.emc.cubing.stackmat.StackmatManager stop
INFO: Stopping Stackmat gen 3 manager
Apr 06, 2015 6:33:50 PM au.com.emc.cubing.stackmat.StackmatManager start
INFO: Starting Stackmat gen 3 manager
Apr 06, 2015 6:33:50 PM au.com.emc.cubing.stackmat.StackmatInterpreter initializ
e
INFO: Initialising stackmat gen 3 interpreter
Apr 06, 2015 6:33:50 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
INFO: Starting Stackmat background thread
Apr 06, 2015 6:33:50 PM au.com.emc.cubing.stackmat.StackmatInterpreter changeLin
e
WARNING: Detected mixer line unavailable
javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 16000.
0 Hz, 8 bit, mono, 1 bytes/frame, not supported.
at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(Unknown Sourc
e)
at com.sun.media.sound.AbstractDataLine.open(Unknown Source)
at com.sun.media.sound.AbstractDataLine.open(Unknown Source)
at au.com.emc.cubing.stackmat.StackmatInterpreter.changeLine(StackmatInt
erpreter.java:151)
at au.com.emc.cubing.stackmat.StackmatInterpreter.doInBackground(Stackma
tInterpreter.java:298)
at au.com.emc.cubing.stackmat.StackmatManager$1.run(StackmatManager.java
:272)

Apr 06, 2015 6:35:09 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
SEVERE: Detected error processing stackmat signal: null
java.lang.NullPointerException
at au.com.emc.cubing.stackmat.StackmatInterpreter.readLine(StackmatInter
preter.java:172)
at au.com.emc.cubing.stackmat.StackmatInterpreter.doInBackground(Stackma
tInterpreter.java:316)
at au.com.emc.cubing.stackmat.StackmatManager$1.run(StackmatManager.java
:272)

Apr 06, 2015 6:35:09 PM au.com.emc.cubing.stackmat.StackmatManager stop
INFO: Stopping Stackmat gen 3 manager
Apr 06, 2015 6:35:09 PM au.com.emc.cubing.stackmat.StackmatManager start
INFO: Starting Stackmat gen 3 manager
Apr 06, 2015 6:35:09 PM au.com.emc.cubing.stackmat.StackmatInterpreter initializ
e
INFO: Initialising stackmat gen 3 interpreter
Apr 06, 2015 6:35:09 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
INFO: Starting Stackmat background thread
Apr 06, 2015 6:35:09 PM au.com.emc.cubing.stackmat.StackmatInterpreter changeLin
e
WARNING: Detected mixer line unavailable
javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 16000.
0 Hz, 8 bit, mono, 1 bytes/frame, not supported.
at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen(Unknown Sourc
e)
at com.sun.media.sound.AbstractDataLine.open(Unknown Source)
at com.sun.media.sound.AbstractDataLine.open(Unknown Source)
at au.com.emc.cubing.stackmat.StackmatInterpreter.changeLine(StackmatInt
erpreter.java:151)
at au.com.emc.cubing.stackmat.StackmatInterpreter.doInBackground(Stackma
tInterpreter.java:298)
at au.com.emc.cubing.stackmat.StackmatManager$1.run(StackmatManager.java
:272)

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: *
Invalid character in timer value: ♠
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 0
Invalid message end sequence: LF expected, found char 0

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: *
Invalid character in timer value: ▌
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 76
Invalid message end sequence: LF expected, found char 105

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '√'
Invalid character in timer value: ╓
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value: ♦
Invalid message end sequence: CR expected, found char 17
Invalid message end sequence: LF expected, found char 80

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: ⌂
Invalid character in timer value: ▲
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 16
Invalid message end sequence: LF expected, found char 0

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: *
Invalid character in timer value: ╗
Invalid character in timer value: ↓
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 45
Invalid message end sequence: LF expected, found char 65

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: *
Invalid character in timer value: ♥
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value: ?
Invalid message end sequence: CR expected, found char 1
Invalid message end sequence: LF expected, found char 8

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: ?
Invalid character in timer value: ;
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 0
Invalid message end sequence: LF expected, found char 0

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '┐'
Invalid character in timer value: √
Invalid character in timer value: ?
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 104
Invalid message end sequence: LF expected, found char 83

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '*'
Invalid character in timer value: ☼
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value: @
Invalid character in timer value: ►
Invalid message end sequence: CR expected, found char 0
Invalid message end sequence: LF expected, found char 2

Apr 06, 2015 6:35:13 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '⌂'
Invalid character in timer value: ▌
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid message end sequence: CR expected, found char 0
Invalid message end sequence: LF expected, found char 0

Apr 06, 2015 6:35:14 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '┐'
Invalid character in timer value: ╫
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value: á
Invalid message end sequence: CR expected, found char 80
Invalid message end sequence: LF expected, found char 2

Apr 06, 2015 6:35:14 PM au.com.emc.cubing.stackmat.StackmatInterpreter doInBackg
round
WARNING: Detected invalid message:
Invalid instruction '☼'
Invalid character in timer value: α
Invalid character in timer value: ≡
Invalid character in timer value:
Invalid character in timer value:
Invalid character in timer value: ►
Invalid character in timer value: ►
Invalid message end sequence: CR expected, found char 8
Invalid message end sequence: LF expected, found char 0
 
Joined
Mar 15, 2015
Messages
3
WCA
2014HAYE01
Kimlam, Make sure you've got the stackmat gen 3 option selected, see image I've attached to the post. Also, try changing the stackmat trigger input device in the options.
 
Last edited:

KimLan

Member
Joined
Feb 3, 2015
Messages
7
Location
Southern California
WCA
2015VOKI01
Kimlam, Make sure you've got the stackmat gen 3 option selected, see image I've attached to the post. Also, try changing the stackmat trigger input device in the options.
I have selected the stackmat gen 3 option, and I have also tried all the options for the input device. I still haven't been able to get it to work. :/
 

Wilhelm

Member
Joined
Aug 26, 2013
Messages
267
Location
Bruchsal, Germany
WCA
2010KILD02
YouTube
WilhelmKilders
I would love to see some further developement on the timer. There are some key features missing imo which would be
-more Statistics for your session for example an average 50/100/1000 or the option that you can customize it yourself to fit your needs
-having the option to switch between multiple Scrambling notations for something like big cubes, clock or especially skewb
-adding a small notification that tells you that your scrambling queue has been finished

Basically what I imagine would be a mix between the CSTimer and Prisma where you have all the features of the CSTimer based on a offline timer which can save your session for a long time.
I would've tried to do it myself but I have no clue about programming whatsoever :p
 

Yarco

Member
Joined
Aug 5, 2014
Messages
22
Location
London, Ontario, Canada
YouTube
yarcofin
Thanks for making this! My 3.5mm to 2.5mm cable just arrived today and got it working with the timer. If people are having problems -- try multiple mic jacks if you have them, the one on the front of my PC didn't work, but the one on the back did. Also unplug any USB mics while you are troubleshooting.
 

APdRF

Member
Joined
Feb 20, 2011
Messages
559
Location
Madrid, Spain (From Mallorca)
WCA
2011FIOL01
YouTube
APdRF1
I would love to see some further developement on the timer. There are some key features missing imo which would be
-more Statistics for your session for example an average 50/100/1000 or the option that you can customize it yourself to fit your needs
-having the option to switch between multiple Scrambling notations for something like big cubes, clock or especially skewb
-adding a small notification that tells you that your scrambling queue has been finished
+1000 :D
 

szalejot

Member
Joined
Feb 14, 2013
Messages
247
Location
Warsaw, Poland
WCA
2015HERM01
Thank you for your version, but It has small drawback:
In beta version of Prisma 0.6 you can hide scrambled cube view. It is extremely useful for BLD solving.
 

bbryant0620

Member
Joined
Jan 28, 2010
Messages
8
Is there any way that you could add the option to edit the times from the main screen, that is, without having to go into the history each time? I solve while my brother is asleep, so I don't drop the cube or hit the spacebar fast or hard. This adds 1-2 seconds to my time that I have to go in and edit after each and every solve.

Perhaps you could add a right-click context menu. You could, then, right-click on any particular solve and have the option to edit the time.
 
Joined
Apr 2, 2014
Messages
54
Location
Santiago, Chile
WCA
2011MART05
my stackmat gen 3 was not working with my windows 8 toshiba laptop
I found the solution!
Control panel -> hardware and sound -> Sound -> microphone -> properties -> advanced options -> and remove the mark on "Enable audio enhancements"
then aply, and , It works!
and sorry for my bad english and for the diferences in the english version on windows 8, my pc is in spanish
 

youSurname

Member
Joined
Mar 24, 2015
Messages
112
Hello everyone this is Computer Cubing,

Here is a new version of Prisma Puzzle timer that works with the Stackmat gen 3!
Credit to the original author, Walter, who published the original project at https://bitbucket.org/walter/puzzle-timer/

To support the Stackmat Gen 3, I have created a new menu option in timer trigger called Stackmat gen3.
Click on that to connect your gen 3 timer. The original code for the gen 2 timer has been left in place.
The cable is still all the same from connecting the gen 3 timer, 3.5 to 2.5 audio cable.

Anyway, here is the link to the new version of Prisma Puzzle Timer in GitHub

https://github.com/phillip-hayes/PrismaPuzzleTimer/blob/master/bin/PrismaPuzzleTimer_v1.0.zip

To use the timer, download the above zip file, unzip the contents to a directory on your computer, and then run the PrismaPuzzleTimer.bat script
This version of the timer, like the original, requires java to be installed on your computer

For those who like to develop their own software, the integration to the Stackmat Gen 3 has been abstracted into a separate library that could be used with any java project.
This API library has been published as a separate GitHub repository. Please feel free to reply on this thread if this is of interest.

Be sure to check you my Youtube channel Computer Cubing. I make unboxings, reviews and more!

https://www.youtube.com/channel/UC8ifYOdnxoqnLqAYKMxVjzg
Did you use eclipse / netbeans to make this? If so how can I open the source in these.
 
Top