Audio Buffer: Creating sound without wave files...

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by RexRhino.

Hello, I am interested in writing a realtime sound synthesis program. Is there any way to access the sound buffers used for the sound commands? I can only see in the docs how to load a wave file and play it.

If there isn't, perhaps it might be useful to include a command that creates a sound from memory as opposed to a file.

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

Post by BackupUser »

Restored from previous forum. Originally posted by Danilo.

You can create a .WAV file structure in memory and use CatchSound()

cya,
...Danilo
(registered PureBasic user)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

Hi RexRhino!
I am very interested in generating samples/sounds with an own engine too... So, please contact me...

greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...
Post Reply