Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 07:27:37 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  speech - waves?
Pages: 1 2 »   Go Down
Print
Author Topic: speech - waves?  (Read 618 times)
0 Members and 1 Guest are viewing this topic.
Yianni - VJ - Glaux
Active Member

Offline Offline

Posts: 24



View Profile
« on: April 03, 2011, 11:35:18 PM »

What about these do options on general config?
do they do anything fun?


* 4-4-2011 00-16-16.png (0.78 KB, 131x35 - viewed 186 times.)
Logged
Sam
THIS SPACE FOR RENT.
Global Moderator
*
Offline Offline

Posts: 834


View Profile WWW
« Reply #1 on: April 04, 2011, 12:02:25 AM »

If fun consist of a few bottles of cheap wine, loud music, and good times....then no.
Logged

"I sometimes think we consider the good fortune of the early bird and overlook the bad fortune of the early worm." FDR - 1922

"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
Sam
THIS SPACE FOR RENT.
Global Moderator
*
Offline Offline

Posts: 834


View Profile WWW
« Reply #2 on: April 04, 2011, 12:08:23 AM »

http://www.machsupport.com/docs/Mach3Turn_1.84.pdf

Chapter 5.6.7 "configure other logic items"
Logged

"I sometimes think we consider the good fortune of the early bird and overlook the bad fortune of the early worm." FDR - 1922

"CONFIDENCE: it's the feeling you experience before you fully understand the situation."
Yianni - VJ - Glaux
Active Member

Offline Offline

Posts: 24



View Profile
« Reply #3 on: April 04, 2011, 01: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?
Logged
Yianni - VJ - Glaux
Active Member

Offline Offline

Posts: 24



View Profile
« Reply #4 on: April 04, 2011, 01: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 ? 
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #5 on: April 04, 2011, 06: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.
Logged

Yianni - VJ - Glaux
Active Member

Offline Offline

Posts: 24



View Profile
« Reply #6 on: April 04, 2011, 07: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?

* M999.m1s (0.05 KB - downloaded 28 times.)

* 4-4-2011 19-27-27.png (2.12 KB, 275x27 - viewed 27 times.)
* M8081.m1s (0.05 KB - downloaded 30 times.)
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #7 on: April 04, 2011, 08: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")
Logged

Yianni - VJ - Glaux
Active Member

Offline Offline

Posts: 24



View Profile
« Reply #8 on: April 04, 2011, 08:26:15 PM »

Yeap, that did it,

Thank you very much Gerry ! !
Logged
BR549
Active Member

Online Online

Posts: 2,557


View Profile
« Reply #9 on: April 08, 2011, 03: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
Logged
Pages: 1 2 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!