Audio output c++ |
Post Reply |
Author | |
gen0me
Young Croc Joined: 20 February 2016 Location: UK Status: Offline Points: 999 |
Post Options
Thanks(0)
Posted: 23 July 2019 at 9:50pm |
I need some guidance into right direction. Im looking for library which will handle audio output with multiple outputs. So I should be able to choose which outputs I use. In future I also plan to write driver for a device. Anything tested?
|
|
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/ |
|
odc04r
Old Croc Joined: 12 July 2006 Location: Sarfampton Status: Offline Points: 5482 |
Post Options
Thanks(1)
|
You're probably better off using Python tbh. Can confirm working with PyAudio is fairly painless to get going. Haven't done C/C++ audio since programming TI DSP boards years ago but that was using their IDE I think there is an equivalent C++ version of PyAudio via bondings etc, but if you actually want to process and work with the data you gather you're going to have a much easier time in Python due to the NumPy library and much easier data display methods.
|
|
gen0me
Young Croc Joined: 20 February 2016 Location: UK Status: Offline Points: 999 |
Post Options
Thanks(0)
|
I am already writing rest of a program in c++. And compiling libraries is the hardest for me. Harder than language difficulties For both languages would I have to compile them for NET framework? How does it practically work?
|
|
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/ |
|
APW
Young Croc Joined: 13 November 2012 Location: Kent, UK Status: Offline Points: 1174 |
Post Options
Thanks(1)
|
"Bass audio library" supports multiple outputs, also look at http://www.multimediasoft.com, they have ActiveX and .net components that support multi-channel streaming/playback. |
|
gen0me
Young Croc Joined: 20 February 2016 Location: UK Status: Offline Points: 999 |
Post Options
Thanks(0)
|
Forgot it has to be compiled with 64 bit compiler. Now I dont understand if Bass audio can or not (?)
|
|
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/ |
|
odc04r
Old Croc Joined: 12 July 2006 Location: Sarfampton Status: Offline Points: 5482 |
Post Options
Thanks(0)
|
You'd be best of with PortAudio. PyAudio is just the Python implementation of Portaudio. It is free/OS and I am sure will have zero problems compiling to 64 bit. I'd still probably go for Python as the extra features it has on tap such as graphing, data manipulation, and data display blow C++ out of the water when it comes down to rapid development with audio. Moving to a GUI app is also fairly straightforward using PyQt. Yep you'll lose a bit of time getting up and going with a new language, but tbh C/C++ is harder to grasp (imo) and getting started with Python is not so bad. I am only a beginner myself but within a couple of nights developing with it I had real time graphical display of raw and processed input audio. Good luck doing that with C++.
|
|
APW
Young Croc Joined: 13 November 2012 Location: Kent, UK Status: Offline Points: 1174 |
Post Options
Thanks(0)
|
What compiler are you using and what is your target OS?
|
|
gen0me
Young Croc Joined: 20 February 2016 Location: UK Status: Offline Points: 999 |
Post Options
Thanks(0)
|
Target OS is Win/Mac/Lin.
Ive been using Code::Blocks with TDM, but I see more and more problems with that now. Cant make one library working for long. I have win SDK dependiency but compiler keeps crashing on that..
|
|
I appreciate every like :)) https//www.facebook.com/genomesoundsystems
Mixes: https://www.mixcloud.com/gen-ome/ |
|
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |