Play sound using Stats sound

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Play sound using Stats sound

Rajeshms
Dear list,

I am very much curious to know how work with the "Play Sound" option using syntax.
I guess we get alerts when we run syntax. If so how to get the sound of wav  files. I tried  and pasted the syntax of play sound in the middle of my syntax and end of my syntax but i am unable to hear any sound.


I am getting the error in my syntax as follows 

"BEGIN PROGRAM The external program exit unexpectedly and lost its content, a new external program will startup to execute the rest of job. "

Thank you all.......
--
Regards,

Rajesh M S





Reply | Threaded
Open this post in threaded view
|

Re: Play sound using Stats sound

Jon K Peck
Something like this should work.
STATS SOUND TYPE=NONE FILE="c:\windows\media\tada.wav".

However, the error message you are getting suggests that something is wrong with your Python installation.  Or, perhaps, you are specifying a file that is not actually in wav format.




Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: 720-342-5621




From:        Rajeshms <[hidden email]>
To:        [hidden email],
Date:        01/12/2013 12:46 PM
Subject:        [SPSSX-L] Play sound using Stats sound
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear list,

I am very much curious to know how work with the "Play Sound" option using syntax.
I guess we get alerts when we run syntax. If so how to get the sound of wav  files. I tried  and pasted the syntax of play sound in the middle of my syntax and end of my syntax but i am unable to hear any sound.


I am getting the error in my syntax as follows 

"BEGIN PROGRAM The external program exit unexpectedly and lost its content, a new external program will startup to execute the rest of job. "

Thank you all.......
--
Regards,

Rajesh M S





Reply | Threaded
Open this post in threaded view
|

Re: Play sound using Stats sound

Rajeshms
Dear all,

I did the same mentioned by you, but am getting the same error.I have python installed 2.7 version,so kindly help me in getting this ,I will be very much thank ful.



On Sun, Jan 13, 2013 at 1:25 AM, Jon K Peck <[hidden email]> wrote:
Something like this should work.
STATS SOUND TYPE=NONE FILE="c:\windows\media\tada.wav".

However, the error message you are getting suggests that something is wrong with your Python installation.  Or, perhaps, you are specifying a file that is not actually in wav format.




Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
new phone: <a href="tel:720-342-5621" value="+17203425621" target="_blank">720-342-5621




From:        Rajeshms <[hidden email]>
To:        [hidden email],
Date:        01/12/2013 12:46 PM
Subject:        [SPSSX-L] Play sound using Stats sound
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Dear list,

I am very much curious to know how work with the "Play Sound" option using syntax.
I guess we get alerts when we run syntax. If so how to get the sound of wav  files. I tried  and pasted the syntax of play sound in the middle of my syntax and end of my syntax but i am unable to hear any sound.


I am getting the error in my syntax as follows 

"BEGIN PROGRAM The external program exit unexpectedly and lost its content, a new external program will startup to execute the rest of job. "

Thank you all.......
--
Regards,

Rajesh M S








--
Regards,

Rajesh M S
Sr.Statistical Consultant

SPSS South Asia Pvt. Ltd
No. 2353/1-4,Dolphin,4th Floor, Hennur main Road
Opp.Harmony Apartment,kacharakanahalli
Bangalore - 560043
Ph: 080-41123945-48