nullschritt Posted January 31, 2014 Posted January 31, 2014 (edited) Hey forum! I'm getting close to releasing a beta version of my encrypted p2p messenger I'm coding. One feature I'de really like to implement is audio chat. I've searched through the forum, and can't seem to find any examples of capturing audio from the microphone, without writing it to a file. Capturing it to a file makes the audio very choppy, as bits and pieces get cut out between audio files. I believe at one point I saw a udf that allows capturing audio directly as a stream(that I could then send as packets across the network) Could anyone point me in the right direction, as to how to go about capturing audio as a stream of data that I could then break into packets and send? Thanks! -null Edit: There used to be an example in the BASS UDF, but I can't seem to locate it, or figure out exactly how to go about streaming audio with the included documentation. Edited February 1, 2014 by nullschritt
Rogue5099 Posted February 1, 2014 Posted February 1, 2014 Here is >Bass UDF. As for capturing the audio I'm not sure... My projects: Inventory / Mp3 Inventory, Computer Stats
nullschritt Posted February 1, 2014 Author Posted February 1, 2014 (edited) I found an example using an older version of BASS However for some odd reason, the extended library doesnt play well with my encryption code. (if I run my code after initializing the library, autoit will outright fail, and stop working) But I already use multiple processes in my code, so solving that problem was as easy as moving the recording part of the code into it's own process. Now I'm just looking for a way to reduce the encryption time, possibly with a lossy compression engine. Edited February 1, 2014 by nullschritt
EmilyLove Posted April 26, 2016 Posted April 26, 2016 On 1/31/2014 at 8:11 PM, Rogue5099 said: Here is >Bass UDF. As for capturing the audio I'm not sure... Your link just takes me to this same post. It suppose to take me to Bass UDF but it just reloads the page instead lol.
BrewManNH Posted April 26, 2016 Posted April 26, 2016 Do a search in the Example scripts section for BASS If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
EmilyLove Posted April 26, 2016 Posted April 26, 2016 I don't need the au3 I just wanted to let the user know his link isn't pointing to the correct url.
BrewManNH Posted April 26, 2016 Posted April 26, 2016 That's because the forum software was updated and it broke a lot of links, and the user posted that 2 years ago. EmilyLove 1 If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator
EmilyLove Posted April 26, 2016 Posted April 26, 2016 Ah I didn't know about that. Thanks for letting me know. I'll keep that in mind next time.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now