Need to do some stuff with 'sounds'
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by merendo.
Hi all. I wanna code a little WAVE-Player using the Sound-lib. Now, is there any way to pause and resume a playing Sound and to seek (modify) the current position in the WAVE??? I will be grateful for your help!!!
Cu @ll, merendo
--
I've been hiding - What am I hiding from???
Hi all. I wanna code a little WAVE-Player using the Sound-lib. Now, is there any way to pause and resume a playing Sound and to seek (modify) the current position in the WAVE??? I will be grateful for your help!!!
Cu @ll, merendo
--
I've been hiding - What am I hiding from???
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Paul.
Anyways, for API commands you could probably look up "waveOut" in the API docs for playing/manipulating WAV files.
(haven't actually tried them myself because it looks like a lot of work and I can do everything I need with the Sound and Movie Libs)
MCI commands will also play WAV and pause/cue/return position, etc. but it's not really any different than using the Movie Lib.
Good luck.
...just curious, why don't you want to use the Movie Library?
You just said you wanted to use the Sound Lib ?!Is there no API solution???
Anyways, for API commands you could probably look up "waveOut" in the API docs for playing/manipulating WAV files.
(haven't actually tried them myself because it looks like a lot of work and I can do everything I need with the Sound and Movie Libs)
MCI commands will also play WAV and pause/cue/return position, etc. but it's not really any different than using the Movie Lib.
Good luck.
...just curious, why don't you want to use the Movie Library?
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Paul.
Yes, download the Windows Platform SDK from Microsoft.
http://www.microsoft.com/msdownload/pla ... sdkupdate/
Yes, download the Windows Platform SDK from Microsoft.
http://www.microsoft.com/msdownload/pla ... sdkupdate/
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm