FMOD/BASS/OpenAL Question
FMOD/BASS/OpenAL Question
Which if any of FMOD, BASS or OpenAL supports 24-bit audio capture (recording)?
Thanks.
Thanks.
- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
That is a question related to PureBasic? You should better seek info on the corresponding site of the developer.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
I did a small project using the PortAudio library recently ( http://www.portaudio.com/ )
It has a quite simple API and allows a number of formats for recording/playback.
I can provide a compiled .lib and includefile for Windows if you want.
It has a quite simple API and allows a number of formats for recording/playback.
I can provide a compiled .lib and includefile for Windows if you want.
quidquid Latine dictum sit altum videtur
I would like to see that!freak wrote:I did a small project using the PortAudio library recently ( http://www.portaudio.com/ )
It has a quite simple API and allows a number of formats for recording/playback.
I can provide a compiled .lib and includefile for Windows if you want.
We cannot make any 3rd party lib a part of PB... we'd be on it forever...
Its really not too hard to import C libraries with the Import feature from PB4.
Here is my stuff:
http://freak.purearea.net/stuff/PortAudioPB.zip
It includes an import library, a dll (you will require the dlls, the .lib contains no real code)
and an includefile for PortAudio and for libsndfile (simple wave saving/loading)
Both are straight compilations with Visual Studio of the packages found on their website.
Both are projects aimed at crossplatformness, so it should be quite simple to also get a compilation for Linux.
The example simply does some recording in 16bit stereo into a big buffer
(stops when the buffer is full after ~1 minute).
Then it saves the stuff to disk as a wave file.
For a real program, one big buffer is probably a bad idea. What i do is use a list
of memory buffers which get cycled, so while the main program is saving
one buffer, the recording callback can fill another one.
Just read around a bit on the PortAudio wiki (tutorials etc). The documentation
is not the very best. But then, there are not that many commands, so
you should get the idea pretty quickly.
I hope this is helpful...
Its really not too hard to import C libraries with the Import feature from PB4.
Here is my stuff:
http://freak.purearea.net/stuff/PortAudioPB.zip
It includes an import library, a dll (you will require the dlls, the .lib contains no real code)
and an includefile for PortAudio and for libsndfile (simple wave saving/loading)
Both are straight compilations with Visual Studio of the packages found on their website.
Both are projects aimed at crossplatformness, so it should be quite simple to also get a compilation for Linux.
The example simply does some recording in 16bit stereo into a big buffer
(stops when the buffer is full after ~1 minute).
Then it saves the stuff to disk as a wave file.
For a real program, one big buffer is probably a bad idea. What i do is use a list
of memory buffers which get cycled, so while the main program is saving
one buffer, the recording callback can fill another one.
Just read around a bit on the PortAudio wiki (tutorials etc). The documentation
is not the very best. But then, there are not that many commands, so
you should get the idea pretty quickly.
I hope this is helpful...
quidquid Latine dictum sit altum videtur
freak -
This PortAudio implementation is pretty cool! Thanks a million times over for sharing it! I am just now starting to play around with it. So far it works!
My goal is to incorporate it into this little program here:
http://www.purebasic.fr/english/viewtopic.php?t=7009
This PortAudio implementation is pretty cool! Thanks a million times over for sharing it! I am just now starting to play around with it. So far it works!
My goal is to incorporate it into this little program here:
http://www.purebasic.fr/english/viewtopic.php?t=7009
- DoubleDutch
- Addict
- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Generated sound is great for re-creating classic video games. Maybe (on the official PureBasic website) there should be downloads such as this, but with the clear notice that they are not supported.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Could someone who is working with PortAudio on PB 4.10 please check to see if the function Pa_Initialize() still works under Windows XP? It works for me under Windows Vista but crashes when the same source code is run on XP. I'm wondering if something about the Vista compatibility in 4.10 has broken this code under XP.
Thank you.
Thank you.