Record Sound

Just starting out? Need help? Post your questions and find answers here.
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 J. Baker.

is there a way in PB that I could make a dll to call on from another program that would record sound from the sound card and save as wav? any help would be great. been trying to find source or anything that would point me to the right direction for some time on this and haven't had any luck.
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 J. Baker.

ok, I found recordwav.bp but need to know what other file I need for "InitGadget()" to function propery, thanks.
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 J.Baker!
Seems you found an old source, based of PureBasic versions < 3.10 !?

6th May 2002 : Version 3.10
- Removed: InitGadget(): no more needed.

Hope this will answer your question :wink:

greetz
MrVainSCL! aka Thorsten

PIII450, 256MB Ram, 80GB HD + 6,4 GB, RivaTNT, DirectX9.0, SB AWE64, Win2000 + all Updates...
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 J. Baker.

hey, thanks alot. that did help but this code after trying it only records line input. is it possible to record what's currently playing on the sound card? thanks to who ever replies.
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 TheBeck.

Take the 'line out' and plug it into 'line in'. I think this is the only way. Remember two things though, you need a full duplex sound card to record and play at the same time and you need to mute the 'line in' volume or you will get feedback.
Post Reply