Print Page | Close Window

Audio output c++

Printed From: Speakerplans.com
Category: Other Chat
Forum Name: Computer Talk
Forum Description: Help and discussion about your manly PC or girly Mac
URL: https://forum.speakerplans.com/forum_posts.asp?TID=104048
Printed Date: 21 September 2019 at 4:10pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: Audio output c++
Posted By: gen0me
Subject: Audio output c++
Date 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/



Replies:
Posted By: odc04r
Date Posted: 24 July 2019 at 12:32pm
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.


Posted By: gen0me
Date Posted: 24 July 2019 at 7:39pm
I am already writing rest of a program in c++. And compiling libraries is the hardest for me. Harder than language difficultiesDead 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/


Posted By: APW
Date Posted: 24 July 2019 at 8:08pm

"Bass audio library" supports multiple outputs, also look at http://www.multimediasoft.com" rel="nofollow - http://www.multimediasoft.com , they have ActiveX and .net components that support multi-channel streaming/playback.



Posted By: gen0me
Date Posted: 24 July 2019 at 9:13pm
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/


Posted By: odc04r
Date Posted: 25 July 2019 at 12:39pm
You'd be best of with http://www.portaudio.com/" rel="nofollow - 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++.


Posted By: APW
Date Posted: 25 July 2019 at 1:19pm
Originally posted by gen0me gen0me wrote:

Forgot it has to be compiled with 64 bit compiler. Now I dont understand if Bass audio can or not (?)


What compiler are you using and what is your target OS?


Posted By: gen0me
Date Posted: 28 July 2019 at 8:57am
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/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net