sound recording

Blitz3D Forums/Blitz3D Beginners Area/sound recording

MadsNy(Posted 2004) [#1]
Hi.

I've been puzzeling a bit with the hole Microphone into to Blitzbasic 3D.. i got that fare that you need a userlib, here im talking about bass2.dll and the .decls.. tryed out the excamples any they worked just fine...

I don't know much of sound manipulation, and my questions is a quite fair and easy matter... i just want to have a microphone into blitz, perhaps a little ball jumping on the pitch of the sound level comming in...

i was looking a bit into the .decls file. and found to my joy that it had this

BASS_RecordFree() : "BASS_RecordFree" 
BASS_RecordGetDeviceDescriptionInt%(devnum) : "BASS_RecordGetDeviceDescription" 
BASS_RecordGetInfo(info*) : "BASS_RecordGetInfo" 
BASS_RecordGetInput%(input) : "BASS_RecordGetInput" 
BASS_RecordGetInputNameInt%(input) : "BASS_RecordGetInputName" 
BASS_RecordInit%(device) : "BASS_RecordInit" 
BASS_RecordSetInput%(input,setting) : "BASS_RecordSetInput" 
BASS_RecordStart%(freg,flags,proc*,user) : "BASS_RecordStart"


when i Throughed the BASS_RecordGetDeviceDescriptionInt i got a number, then i tryed some more commands but frankly i was picking in the dark...

can any one explane how to use this stuff and perhaps make a little tut or exampel code onhow to get Microphone into blitz using bass2.dll, guess many people would joy that.. :)

Thanks.
Mads