QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: MB on February 25, 2020, 04:07:04 pm

Title: best QB64 method to capture audio into an array using line-in or microphone...
Post by: MB on February 25, 2020, 04:07:04 pm
Please advise what the best method in QB64 (64-bit version) is for capturing audio into an array by use of microphone or line-in.

I noticed evidence that Unseen Machine used the SFML Library with QB64 as a microphone librarie; however, I lack the experience to get SFLM working with the "SF_Mic_Get_Input()" functions myself. Would need to see working example of how to both setup the SFML Library with QB64 and perform the calls.

I recall using Qbasic 7.1 with "OUT &H22C, &H20" to set a SoundBlaster audio card and "INP(&H22E)" to poll the data.

Anyone have any examples they can post or will to draft out an example?