> And if I'm on Linux or programing for Mac?
Sadly sound is one of those things that tends to be
system dependant. There is a Sun audio module somewhere too...
On the Mac I believe its a Quicktime thing using the MacPython
libraries.
The good news is that I think PyGame provides a platform inde
>>Strangely... I do not believe the wave module is meant to actually
>>_play_ a wav file. It looks to me like it is only intended to read and
>>parse the file for meta information.
>>
>>You could try passing the name of the file to another program
>>via os.system, or you could use pygame.
>
>Ok
Hi, I'm replying to you both...
At 03:16 PM 5/24/2005, you wrote:
>Strangely... I do not believe the wave module is meant to actually
>_play_ a wav file. It looks to me like it is only intended to read and
>parse the file for meta information.
>
>You could try passing the name of the file to anoth
Joseph,
I don't know if this will help or not, but some observations:
> def manipulate():
> manipulate = raw_input("Type 'help' for help\nManipulate>> ")
> if manipulate == "play":
> w.tell()
> elif manipulate == "back()":
> main_menu()
You expect the user to typ
On May 24, 2005, at 02:49, Joseph Quigley wrote:
> ... to play a .wav music file. I tried w.play() but got an error that
> module has no attribute 'play'.
> What do I use to get it to play?
> Thanks,
The wave module is meant to read, write and manipulate
(transform, filter, whatever) WAV
Lee Harr wrote:
>>I can't get:
>>
>>import wave as w
>>
>
>
>
>>... to play a .wav music file. I tried w.play() but got an error that
>>module has no attribute 'play'.
>>What do I use to get it to play?
>
>
>
> Strangely... I do not believe the wave module is meant to actually
> _play_ a wav
>I can't get:
>
>import wave as w
>
>... to play a .wav music file. I tried w.play() but got an error that
>module has no attribute 'play'.
>What do I use to get it to play?
Strangely... I do not believe the wave module is meant to actually
_play_ a wav file. It looks to me like it is only inte
I can't get:
import wave as w
def manipulate():
manipulate = raw_input("Type 'help' for help\nManipulate>> ")
if manipulate == "play":
w.tell()
elif manipulate == "back()":
main_menu()
def open():
while True:
file_name = raw_input("Open: ")