Hello Guest it is March 28, 2024, 03:19:22 PM

Author Topic: speech - waves?  (Read 9425 times)

0 Members and 1 Guest are viewing this topic.

speech - waves?
« on: April 04, 2011, 12:35:18 AM »
What about these do options on general config?
do they do anything fun?

Offline Sam

*
  • *
  •  987 987
    • View Profile
    • hillbillyhilton.com
Re: speech - waves?
« Reply #1 on: April 04, 2011, 01:02:25 AM »
If fun consist of a few bottles of cheap wine, loud music, and good times....then no.
"CONFIDENCE: it's the feeling you experience before you fully understand the situation."

Offline Sam

*
  • *
  •  987 987
    • View Profile
    • hillbillyhilton.com
Re: speech - waves?
« Reply #2 on: April 04, 2011, 01:08:23 AM »
http://www.machsupport.com/docs/Mach3Turn_1.84.pdf

Chapter 5.6.7 "configure other logic items"
"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
Re: speech - waves?
« Reply #3 on: April 04, 2011, 02:02:27 AM »
If fun consist of a few bottles of cheap wine, loud music, and good times....then no.
So by allow waves it doesn't  mean that surf 's up ?
What Am I gonna do now with all the surf gear I bought?
Re: speech - waves?
« Reply #4 on: April 04, 2011, 02:07:50 AM »
Allow wave files: Allows a macro to play a wave file for audible warning
Allow speech: Allows the speech synthesiser for initialisation and Help system messages


Yeah i got that far before I post, and I did search the forum for examples etc but no luck.
One of the machines I run does not have a relay to turn spindle off, It would be nice to have a notification sound to alert that milling is over.
How would one go to write a macro to play a Wav file ? 

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: speech - waves?
« Reply #5 on: April 04, 2011, 07:39:03 AM »
Create a text file with the following line (but change the path to the file you want)

PlayWave(“C:\WINDOWS\Media\Windows XP Startup.wav”)


Save it as M999.m1s in your macros\yourprofile\ folder
Call M999 to play the wave.
You can use any available M code that you want.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: speech - waves?
« Reply #6 on: April 04, 2011, 08:03:01 PM »
Gerry I followed your instructions to the letter but when I call the macro on MDI i get: scripter compile error...

Any idea what I m doing wrong?

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: speech - waves?
« Reply #7 on: April 04, 2011, 09:04:39 PM »
Try this. I copied the text from the manual, but the quotes (") were not the correct characters.


PlayWave("C:\WINDOWS\Media\Windows XP Startup.wav")
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: speech - waves?
« Reply #8 on: April 04, 2011, 09:26:15 PM »
Yeap, that did it,

Thank you very much Gerry ! !

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: speech - waves?
« Reply #9 on: April 08, 2011, 04:17:57 PM »
Just a side note IF you create the files as a M1030 macro it will auto run the macro at the end of the Gcode file after the M30. That way  you dont  have to remember to add the macro call at the end of each file.


Just a thought, (;-) TP