Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: playing a media sound (.wav) from Stata in Windows 7
From
William Buchanan <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: playing a media sound (.wav) from Stata in Windows 7
Date
Wed, 3 Apr 2013 08:16:36 -0700
Is your new computer running on a 32- or 64-bit architecture? Is your media player installed in the same location? And have you tried replacing the "\" character with "/"?
Sent from my iPhone
On Apr 3, 2013, at 6:49, <[email protected]> wrote:
> Hi,
> At the end of a do file that takes hours to run, I was previously able to get Stata 11 to notify me by playing a .wav sound from the media folder on my windows XP laptop, for instance:
>
> !mplay32 /play /close C:\WINDOWS\Media\tada.wav
> I now have a Windows 7 machine, and the same version of Stata. I have tried all of the below:
>
> !mplay32 /play /close C:\Wndows\Media\tada.wav
> !mplayer2 /play /close C:\Windows\Media\tada.wav
> !"C:\Program Files\Windows Media Player\wmplayer" C:\Windows\Media\tada.wav // (this is the only one that works from the cmd prompt)
> !"C:\Program Files\Windows Media Player\mplayer2" C:\Windows\Media\tada.wav
> !wmplayer /play /close "C:\Windows\Media\tada.wav"
>
> ....and various permutations of these. None work in Stata. I doubt I could get the .wav to play once and stop using wmplayer anyway, but does anyone have an idea of what might have changed in windows 7 in how stata calls other programmes.
> thanks,
> S
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/